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

github.com/lubang/hugo-hello-programmer-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDONGGEUN,BANG <purebuddy@gmail.com>2017-04-22 18:39:05 +0300
committerGitHub <noreply@github.com>2017-04-22 18:39:05 +0300
commit73ecc0398f43de0c76366c828d55464a6990f652 (patch)
tree69572d24a7452b6821dfe9b5aa22b2f24893a139
parent66aef7f2c1e47f1a42bd0cb497a7c0d042094b92 (diff)
parent9ddead32bb89ef4c0c55731f201d52ad42d35284 (diff)
Merge pull request #1 from bep/misc-fixes
Some fixes to get the demo up and running on Hugo themes site
-rw-r--r--exampleSite/config.toml3
-rw-r--r--layouts/partials/header.html4
2 files changed, 4 insertions, 3 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index d73a5d9..363047c 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -2,7 +2,8 @@ baseurl = "your-site-address"
title = "your-site-name"
languageCode = "ko-KR"
-theme = "hello-programmer"
+theme = "hugo-hello-programmer-theme"
+themesdir = "../.."
paginate = 2
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 139f9ac..58f569a 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -7,8 +7,8 @@
<title>{{ .Title }} {{ if ne .Title .Site.Title }} &middot; {{ .Site.Title }}{{ end }}</title>
<link rel="icon" href="{{ "/favicon.ico" | relURL }}" type="image/x-icon">
<link rel="canonical" href="{{ .Permalink }}">
- {{ if .RSSlink }}
- <link href="{{ .RSSlink }}" rel="alternate" type="application/rss+xml" title="{{ .Title }}" />
+ {{ if .RSSLink }}
+ <link href="{{ .RSSLink }}" rel="alternate" type="application/rss+xml" title="{{ .Title }}" />
{{ end }}
<link rel="stylesheet" href="{{ "/css/styles.css" | relURL }}">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">