diff options
-rwxr-xr-x | build.sh | 16 | ||||
-rw-r--r-- | con/style.css | 4 |
2 files changed, 13 insertions, 7 deletions
@@ -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; +} |