diff --git a/config/preview/config.toml b/config/preview/config.toml new file mode 100644 index 0000000..25a7ad1 --- /dev/null +++ b/config/preview/config.toml @@ -0,0 +1,2 @@ +[params] +edit = true \ No newline at end of file diff --git a/themes/sandpoints/layouts/_default/baseof.html b/themes/sandpoints/layouts/_default/baseof.html index ef6c90f..d8c17d2 100644 --- a/themes/sandpoints/layouts/_default/baseof.html +++ b/themes/sandpoints/layouts/_default/baseof.html @@ -1,11 +1,11 @@ {{- $filePath := .File -}} -{{- $gitUrl := .Site.Data.myvars.giturl -}} +{{- $gitUrl := .Site.Params.giturl -}} {{- partial "head.html" . -}} {{ partialCached "css.html" . }}
- {{ with .Site.Data.myvars.edit }} + {{ with .Site.Params.edit }}