mirror of https://github.com/escalate/hugo-split-theme.git

Dmitry Verkhoturov
20.10.2018 e9c7cc5c2fdc70603571516137d85bfaefbd4390
set defaults for unset variables, trim trailing spaces
5 files modified
6 ■■■■■ changed files
README.md patch | view | raw | blame | history
exampleSite/config.toml 2 ●●● patch | view | raw | blame | history
layouts/index.html 2 ●●● patch | view | raw | blame | history
layouts/partials/bio.html 2 ●●●●● patch | view | raw | blame | history
layouts/partials/links.html patch | view | raw | blame | history
README.md
exampleSite/config.toml
@@ -9,7 +9,7 @@
googleAnalytics = ""
# Copyright
copyright = "©2017 Your Name"
copyright = "©2018 Your Name"
[params]
layouts/index.html
@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="{{ .Site.LanguageCode }}">
<html lang="{{ default .Site.LanguageCode "en-US" }}">
<head>
  {{ partial "head" . }}
layouts/partials/bio.html
@@ -1,3 +1,5 @@
{{ if .Site.Params.content.bio }}
<div class="split-bio">
  <p>{{ .Site.Params.content.bio | markdownify }}</p>
</div>
{{ end }}
layouts/partials/links.html