diff options
author | Jefferson Julio <[email protected]> | 2021-05-31 19:16:12 -0300 |
---|---|---|
committer | Jefferson Julio <[email protected]> | 2021-05-31 19:16:12 -0300 |
commit | 9f5162371323562623bae42b0476bd8b9a4a5e92 (patch) | |
tree | 9375011fbff065938b1878cbf5198247a8a0dbbf /components | |
parent | 381bff129b70471e86e99a2d6b6a7e090f13287e (diff) | |
download | blog.sh-9f5162371323562623bae42b0476bd8b9a4a5e92.tar.bz2 blog.sh-9f5162371323562623bae42b0476bd8b9a4a5e92.zip |
Add more HTML metadata, re-format some text
Diffstat (limited to 'components')
-rwxr-xr-x | components/post-preview.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/components/post-preview.sh b/components/post-preview.sh index 2708060..9e5bb97 100755 --- a/components/post-preview.sh +++ b/components/post-preview.sh @@ -5,7 +5,7 @@ DO_NOT_PROCESS_HTML=true source $SCRIPT_DIR/utils/parse-article.sh cat <<POST <section class="post-preview"> <div class="post-header-preview"> - <h5 class="post-title">$ stat -c "%w" \\<br/> > $ARTICLE_FILE_SANITIZED</h5> + <h5 class="post-title"><a href="$ARTICLE_URL">$ARTICLE_FILE</a></h5> <small>$ARTICLE_BYTES</small> <br/> <time>$ARTICLE_TIME</time> @@ -20,7 +20,7 @@ cat <<POST <p>$(strip-html-tags "$ARTICLE_CONTENT" | head -c 120)...</p> - <a href="/$ARTICLE_FILE">Ler artigo completo</a> + <a href="$ARTICLE_URL">Ler artigo completo</a> </section> POST |