diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 317e722..b22cada 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -14,8 +14,8 @@ pygmentsUseClasses = true Profiles, backgrounds, favorite things etc. """ publicationYear = "2018" - # custom_css = ["css/custom.css"] - # custom_js = ["js/custom.js"] + # custom_css = ["/css/custom.css"] + # custom_js = ["/js/custom.js"] [[params.nav]] name = "Blog" diff --git a/layouts/index.html b/layouts/index.html index 8aba828..2421595 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,8 +5,8 @@
- - + +

{{ .Site.Params.Author }}

diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index fedcc68..e19f636 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1,11 +1,11 @@

© {{ .Site.Params.publicationYear }} {{ .Site.Params.Author }}. - Powered by Hugo + Powered by Hugo using the pulp theme.

- + {{- range .Site.Params.custom_js -}} - + {{ end }} diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 2872ec7..c3e4775 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -3,12 +3,12 @@ - - - - + + + + {{ range .Site.Params.custom_css }} - + {{ end }} {{ if eq .Title .Site.Title }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 53ee781..5594d64 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,6 +1,6 @@ <header> <div class="avatar"> - <img class="avatar-mask" src="{{ .Site.BaseURL }}img/{{ .Site.Params.avatar }}"> - <a href="/"><img src="{{ .Site.BaseURL }}img/avatar-border.svg"></a> + <img class="avatar-mask" src="/img/{{ .Site.Params.avatar }}"> + <a href="/"><img src="/img/avatar-border.svg"></a> </div> </header> \ No newline at end of file