aboutsummaryrefslogtreecommitdiff
path: root/components/post-preview.sh
diff options
context:
space:
mode:
Diffstat (limited to 'components/post-preview.sh')
-rwxr-xr-xcomponents/post-preview.sh4
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/> &gt;&ensp;$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