aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbuild.sh16
-rw-r--r--con/style.css4
2 files changed, 13 insertions, 7 deletions
diff --git a/build.sh b/build.sh
index 3cd53bf..1f5c57f 100755
--- a/build.sh
+++ b/build.sh
@@ -162,13 +162,15 @@ for i in "${thebestarr[@]}"; do
if [ "$i" == "${thebestarr[0]}" ]; then
tee ../../tmp/articles/gen-first-article-tmp.html > /dev/null << EOF
- <h2>Latest Post:</h2>
- <article>
- <a href="/articles/$i"><h3>$WEBMETA_TITLE</h3></a>
- <h6><code>$WEBMETA_DATE</code> by $WEBMETA_AUTH</h6>
- <p>$WEBMETA_SUMMARY</p>
- </article>
- <a href="/articles/"><h5>See more Articles →</h5></a>
+ <section class="latest-post">
+ <h2>Latest Post:</h2>
+ <article>
+ <a href="/articles/$i"><h3>$WEBMETA_TITLE</h3></a>
+ <h6><code>$WEBMETA_DATE</code> by $WEBMETA_AUTH</h6>
+ <p>$WEBMETA_SUMMARY</p>
+ </article>
+ <a href="/articles/"><h5>See more Articles →</h5></a>
+ </section>
EOF
tee ../../tmp/articles/gen-first-article-tmp.md > /dev/null << EOF
diff --git a/con/style.css b/con/style.css
index d417ce8..13fb6af 100644
--- a/con/style.css
+++ b/con/style.css
@@ -218,3 +218,7 @@ article {
article p {
text-align: center;
}
+
+.latest-post {
+ margin: 50px 0 50px 0;
+}