diff options
Diffstat (limited to 'layouts/_default/single.html')
| -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 }} |
