mirror of
https://github.com/thegeeklab/hugo-geekdoc.git
synced 2024-11-24 22:00:39 +00:00
parent
2067672172
commit
4e93b70b7b
3
.gitignore
vendored
3
.gitignore
vendored
@ -21,8 +21,5 @@ exampleSite/content/de
|
||||
/exampleSite/resources/
|
||||
/exampleSite/data/sprites/
|
||||
|
||||
# hugo
|
||||
.hugo_build.lock
|
||||
|
||||
# testing
|
||||
.lighthouseci/
|
||||
|
@ -1,7 +1,7 @@
|
||||
{{ $geekdocRepo := default (default false .Site.Params.GeekdocRepo) .Page.Params.GeekdocRepo }}
|
||||
{{ $geekdocEditPath := default (default false .Site.Params.GeekdocEditPath) .Page.Params.GeekdocEditPath }}
|
||||
{{ if .File }}
|
||||
{{ $.Scratch.Set "geekdocFilePath" (default (path.Join .File.Lang .File.Path) .Page.Params.GeekdocFilePath) }}
|
||||
{{ $.Scratch.Set "geekdocFilePath" (default .File.Path .Page.Params.GeekdocFilePath) }}
|
||||
{{ else }}
|
||||
{{ $.Scratch.Set "geekdocFilePath" false }}
|
||||
{{ end }}
|
||||
|
Loading…
Reference in New Issue
Block a user