diff options
author | Emma Vanbrabant | 2020-04-26 19:24:38 +0100 |
---|---|---|
committer | Emma Vanbrabant | 2020-04-26 19:24:38 +0100 |
commit | a7d0513ec34b44a93b5adbc22c786626960b68a0 (patch) | |
tree | 1c4b80852a92c091105d7737403cd963dc04d785 | |
parent | 2deef366f401dca7f7f1c4463b93cbc7b25cebf8 (diff) | |
download | hugo-theme-fuji-a7d0513ec34b44a93b5adbc22c786626960b68a0.tar.gz hugo-theme-fuji-a7d0513ec34b44a93b5adbc22c786626960b68a0.tar.bz2 hugo-theme-fuji-a7d0513ec34b44a93b5adbc22c786626960b68a0.zip |
Extract exlink into partials
-rw-r--r-- | layouts/_default/list.html | 2 | ||||
-rw-r--r-- | layouts/partials/post-exlink.html | 3 |
2 files changed, 4 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index a2d3b47..e2a0eb7 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -13,7 +13,7 @@ {{ .Summary }} </div> <div id="post-exlink"> - <a href="{{ .Permalink }}"><i class="fas fa-angle-right"></i> READ MORE <i class="fas fa-angle-left"></i></a> + {{ partial "post-exlink.html" . }} </div> </div> {{ end }} diff --git a/layouts/partials/post-exlink.html b/layouts/partials/post-exlink.html new file mode 100644 index 0000000..5691ede --- /dev/null +++ b/layouts/partials/post-exlink.html @@ -0,0 +1,3 @@ +<span> + <a href="{{ .Permalink }}"><i class="fas fa-angle-right"></i> READ MORE <i class="fas fa-angle-left"></i></a> +</span>
\ No newline at end of file |