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

github.com/parsiya/Hugo-Octopress.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorparsiya <parsiya@gmail.com>2018-04-22 03:11:49 +0300
committerparsiya <parsiya@gmail.com>2018-04-22 03:11:49 +0300
commit99e5d1fec4415fbd1d752ac14ffa9a59d6a1754f (patch)
treed50c97eb5d0f6d8e77258b1f317ae84a8e13e5d1
parent3cd676c266caf623b6f8279224491fdec68250ef (diff)
Fix error when creating section pages
-rw-r--r--layouts/_default/list.html2
-rwxr-xr-xstatic/css/hugo-octopress.css4
2 files changed, 3 insertions, 3 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index df32ca6..2673b58 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -9,7 +9,7 @@
<article role="article">
<header>
<h1 class="entry-title">
- {{ .Data.Singular | title }}: {{ .Title }}
+ {{ if .Data.Singular }}{{ .Data.Singular | title }}: {{ .Title }}{{ end }}
</h1>
</header>
<div id="blog-archives" class="category">
diff --git a/static/css/hugo-octopress.css b/static/css/hugo-octopress.css
index 0bf5593..1a0d34c 100755
--- a/static/css/hugo-octopress.css
+++ b/static/css/hugo-octopress.css
@@ -1936,8 +1936,8 @@ figure a {
/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; }
/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; width: auto; display: block; }
/* LineHighlight */ .chroma .hl { display: block; width: 100%; }
-/* LineNumbersTable */ .chroma .lnt { margin-right: 0.4em; padding: 0 0.4em 0 0.4em; }
-/* LineNumbers */ .chroma .ln { margin-right: 0.4em; padding: 0 0.4em 0 0.4em; }
+/* LineNumbersTable */ .chroma .lnt { margin-right: 0.3em; padding: 0 0.3em 0 0.3em; }
+/* LineNumbers */ .chroma .ln { margin-right: 0.3em; padding: 0 0.3em 0 0.3em; }
/* Keyword */ .chroma .k { color: #719e07 }
/* KeywordConstant */ .chroma .kc { color: #cb4b16 }
/* KeywordDeclaration */ .chroma .kd { color: #268bd2 }