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

github.com/bake/solar-theme-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/baseof.html')
-rw-r--r--layouts/_default/baseof.html45
1 files changed, 45 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
new file mode 100644
index 0000000..fa05a2f
--- /dev/null
+++ b/layouts/_default/baseof.html
@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>{{ .Title }}</title>
+ <meta name="viewport" content="width=device-width">
+ {{ with .OutputFormats.Get "RSS" }}
+ <link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" />
+ <link href="{{ .RelPermalink }}" rel="feed" type="application/rss+xml" title="{{ $.Site.Title }}" />
+ {{ end }}
+ <link rel="stylesheet" href="{{ .Site.BaseURL }}css/hybrid.css">
+ <link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css">
+ <link rel="stylesheet" href="{{ .Site.BaseURL }}css/colors-{{ .Site.Params.scheme | default "dark" }}.css">
+
+ {{ partial "head.html" . }}
+ </head>
+ <body>
+ <header id="header">
+ <h1><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
+ <p>{{ .Site.Params.Description }}</p>
+ </header>
+
+ <div id="page">
+ <div id="sidebar">
+ {{ partial "navigation.html" . }}
+ </div>
+
+ <div id="content">
+ {{ block "main" . }}{{ end }}
+ </div>
+
+ <footer id="footer">
+ <p class="copyright">Powered by
+ <a href="https://gohugo.io/">Hugo</a> and the
+ <a href="https://github.com/bake/solar-theme-hugo">Solar</a>-theme.</p>
+ </footer>
+ </div>
+
+ <script src="{{ .Site.BaseURL }}js/highlight.min.js"></script>
+ <script src="{{ .Site.BaseURL }}js/highlight.go.min.js"></script>
+ <script> hljs.initHighlightingOnLoad() </script>
+
+ {{ partial "foot.html" . }}
+ </body>
+</html>