From a7d0513ec34b44a93b5adbc22c786626960b68a0 Mon Sep 17 00:00:00 2001 From: Emma Vanbrabant Date: Sun, 26 Apr 2020 19:24:38 +0100 Subject: Extract exlink into partials --- layouts/_default/list.html | 2 +- layouts/partials/post-exlink.html | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/post-exlink.html 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 }}
-  READ MORE  + {{ partial "post-exlink.html" . }}
{{ 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 @@ + +  READ MORE  + \ No newline at end of file -- cgit v1.2.3