diff options
| author | Nantha Sorubakanthan <nantha@mielota.com> | 2025-10-29 19:06:13 +0100 |
|---|---|---|
| committer | Nantha Sorubakanthan <nantha@mielota.com> | 2025-10-29 19:06:13 +0100 |
| commit | 7869c36bd99d5fc03b05512e0090f1b0f032ca86 (patch) | |
| tree | f77c4c06b1f8c675704807d659b8f2f38d28971f /layouts/_default | |
| parent | bbcea27fcb43b7d554431bba750e6bfa9016ad37 (diff) | |
more changes, shortcodes, idk I forgot
Diffstat (limited to 'layouts/_default')
| -rw-r--r-- | layouts/_default/single.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 3ee3cf5..3bc97a2 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,8 +1,4 @@ {{ define "main" }} -{{ with .Params.copied }} -<small><i>This article is copied from <a href="{{ index . 1 }}">{{ index . - 0}}</a></i></small> -{{ end }} {{ with .Params.icon }} <img style="height: 10em;display: block;margin: auto;" src="{{ . }}"> {{ end }} @@ -11,4 +7,11 @@ {{.TableOfContents}} {{ end }} {{- .Content }} +{{ with .Params.copied }} +<p style="text-align: right;"> + <small> + <i>This article is copied from <a href="{{ index . 1 }}">{{ index . 0}}</a></i> + </small> +</p> +{{ end }} {{ end }} |
