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

github.com/yursan9/manis-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYurizal Susanto <rizalsagi@gmail.com>2018-04-30 08:44:17 +0300
committerYurizal Susanto <rizalsagi@gmail.com>2018-04-30 08:56:54 +0300
commit0237d6fea5ae35fa1d9e326445ee448046326ebc (patch)
tree8fa7afeca4bd1e77fd74cf076a501e9ec833f865
parent1bfbe9c0e89f961bbf94df011db1b6f353becafe (diff)
Misc fixes
-rw-r--r--exampleSite/config.toml6
-rw-r--r--layouts/partials/meta.html13
2 files changed, 11 insertions, 8 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index f948c92..5a766ec 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -1,9 +1,11 @@
-baseURL = "http://yurizal-san.com/"
+baseURL = "example.com"
title = "Manis"
theme = "manis"
+
# Copyright notice. Note: You can use HTML tag here
copyright = "&copy; 2018 Yurizal Susanto"
pluralizeListTitles = false
+
# Minimum number of posts before paginate navigation show up
paginate = 10
canonifyURL = true
@@ -19,7 +21,7 @@ defaultContentLanguage = "en"
# If false, use minified CSS (ui.min.css)
debugCSS = false
# List of sections support disqus comments
- disqusSections = ["blog"]
+ disqusSections = [ "blog" ]
# Site meta description
description = "Sweet little Hugo's theme for personal website or blog."
# Site's Tagline (Subtitle or Keyword)
diff --git a/layouts/partials/meta.html b/layouts/partials/meta.html
index f5f75da..0edfb38 100644
--- a/layouts/partials/meta.html
+++ b/layouts/partials/meta.html
@@ -8,6 +8,13 @@
{{ with .Site.Params.FaviconImg }}
<link rel="shortcut icon" href="{{.}}">
{{ end }}
+
+ {{ if .Site.Params.DebugCSS }}
+ <link rel="stylesheet" href="/css/normalize.css"/>
+ <link rel="stylesheet" href="/css/ui.css"/>
+ {{ else }}
+ <link rel="stylesheet" href="/css/ui.min.css"/>
+ {{ end }}
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono|Lato|Raleway">
@@ -19,11 +26,5 @@
{{ end }}
{{ end }}
- {{ if .Site.Params.DebugCSS }}
- <link rel="stylesheet" href="/css/normalize.css"/>
- <link rel="stylesheet" href="/css/ui.css"/>
- {{ else }}
- <link rel="stylesheet" href="/css/ui.min.css"/>
- {{ end }}
{{ partial "style" . }}
</head>