mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-12-22 22:52:54 +00:00
Merge branch 'master' of github.com:vickylai/hugo-theme-introduction into docs_script
This commit is contained in:
commit
7362d9e14c
2 changed files with 4 additions and 3 deletions
|
@ -3,7 +3,7 @@ git:
|
|||
|
||||
env:
|
||||
- HUGO_VERSION="0.48"
|
||||
- HUGO_VERSION="0.49.1"
|
||||
- HUGO_VERSION="0.49.2"
|
||||
|
||||
install:
|
||||
- wget -q https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_${HUGO_VERSION}_Linux-64bit.tar.gz
|
||||
|
|
|
@ -43,10 +43,11 @@
|
|||
</div>
|
||||
{{ end }}
|
||||
{{ if .Params.tags }}
|
||||
{{ $len := (len .Params.tags) }}
|
||||
<p>
|
||||
Tag{{ if gt (len .Params.tags) 1 }}s{{ end }}:
|
||||
Tag{{ if gt $len 1 }}s{{ end }}:
|
||||
{{ range $index, $tag := .Params.tags }}
|
||||
{{ if gt $index 0 }}, {{ end }}<a href="{{ "/tags/" | absLangURL }}{{ . | urlize }}">{{ . }}</a>
|
||||
<a href="{{ "/tags/" | absLangURL }}{{ . | urlize }}">{{ . }}</a>{{ if ne (add $index 1) $len }},{{ end }}
|
||||
{{ end }}
|
||||
</p>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in a new issue