From 3bfa83334855d04218f4df61001088c23646b1f4 Mon Sep 17 00:00:00 2001 From: Emiel Hollander Date: Sun, 28 Oct 2018 14:12:32 +0100 Subject: Initial commit --- layouts/partials/footer.html | 6 ++++++ layouts/partials/head.html | 35 +++++++++++++++++++++++++++++++++++ layouts/partials/header.html | 0 layouts/partials/introduction.html | 1 + 4 files changed, 42 insertions(+) create mode 100644 layouts/partials/footer.html create mode 100644 layouts/partials/head.html create mode 100644 layouts/partials/header.html create mode 100644 layouts/partials/introduction.html (limited to 'layouts/partials') diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html new file mode 100644 index 0000000..854ee37 --- /dev/null +++ b/layouts/partials/footer.html @@ -0,0 +1,6 @@ + \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html new file mode 100644 index 0000000..503ba66 --- /dev/null +++ b/layouts/partials/head.html @@ -0,0 +1,35 @@ + + + + {{- if eq .URL "/" }} + + {{- else if .Description }} + + {{- end }} + + + {{- if eq .URL "/" }} + {{ .Site.Title }} + {{- else }} + {{ .Title }} · {{ .Site.Title }} + {{- end }} + + + + {{- $inServerMode := .Site.IsServer }} + {{- $cssTarget := "css/style.css" }} + {{- $cssOptions := cond ($inServerMode) (dict "targetPath" $cssTarget "enableSourceMap" true) (dict "targetPath" $cssTarget "outputStyle" "compressed") }} + {{- $style := resources.Get "scss/hallo.scss" | toCSS $cssOptions }} + + + + + + + + + + + + + diff --git a/layouts/partials/header.html b/layouts/partials/header.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/introduction.html b/layouts/partials/introduction.html new file mode 100644 index 0000000..830f078 --- /dev/null +++ b/layouts/partials/introduction.html @@ -0,0 +1 @@ +Hallo is a single-page Hugo theme for personal introductions. Add a portrait, an introduction, several links, and you're set. Create a partial called introduction.html on your own site to replace this standard introduction. Create a file called portrait.jpg in static/images to replace the standard portrait. \ No newline at end of file -- cgit v1.2.3