Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EmielH/hallo-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmiel Hollander <EmielH@users.noreply.github.com>2018-10-28 16:12:32 +0300
committerEmiel Hollander <EmielH@users.noreply.github.com>2018-10-28 16:12:32 +0300
commit3bfa83334855d04218f4df61001088c23646b1f4 (patch)
tree20ec37525dadec13939ffd78baf2dfe747c5a3a9 /layouts/partials
Initial commit
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/footer.html6
-rw-r--r--layouts/partials/head.html35
-rw-r--r--layouts/partials/header.html0
-rw-r--r--layouts/partials/introduction.html1
4 files changed, 42 insertions, 0 deletions
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 @@
+<footer>
+ <div class="column"></div>
+ <div class="column">
+ {{ i18n "generator" | safeHTML }}
+ </div>
+</footer> \ 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 @@
+<head>
+ <meta charset="UTF-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ {{- if eq .URL "/" }}
+ <meta name="description" content="{{ .Site.Params.Description }}">
+ {{- else if .Description }}
+ <meta name="description" content="{{ .Description }}">
+ {{- end }}
+
+ <title>
+ {{- if eq .URL "/" }}
+ {{ .Site.Title }}
+ {{- else }}
+ {{ .Title }} &middot; {{ .Site.Title }}
+ {{- end }}
+ </title>
+
+ <!-- CSS -->
+ {{- $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 }}
+ <link rel="stylesheet" href="{{ $style.RelPermalink }}">
+
+ <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:400,700">
+ <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.2/css/all.css" integrity="sha384-/rXc/GQVaYpyDdyxK+ecHPVYJSN9bmVFBvjA/9eOB+pb3F2w2N6fc5qB9Ew5yIns" crossorigin="anonymous">
+
+ <!-- Favicon -->
+ <link rel="icon" type="image/png" sizes="32x32" href="{{ .Site.BaseURL }}images/favicon-32x32.png">
+ <link rel="icon" type="image/png" sizes="16x16" href="{{ .Site.BaseURL }}images/favicon-16x16.png">
+ <link rel="apple-touch-icon" sizes="180x180" href="{{ .Site.BaseURL}}images/apple-touch-icon.png">
+
+ <!-- RSS -->
+ <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title }}" />
+</head>
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/layouts/partials/header.html
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