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

github.com/siegerts/hugo-theme-basic.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen Siegert <stephen.siegert@sas.com>2019-02-15 23:27:59 +0300
committerStephen Siegert <stephen.siegert@sas.com>2019-02-15 23:27:59 +0300
commit1e6ec9abf11fa3b229af2cdd84c0a964076d0f0a (patch)
tree3cc45715d831da0d0d802b04147bc50dcd1679dd
parent63c7f85503c4a086820be5b2e3747c45fa4a4cde (diff)
standardize archetypes
-rw-r--r--archetypes/blog.md3
-rw-r--r--archetypes/default.md2
-rw-r--r--archetypes/project.md10
-rw-r--r--exampleSite/content/project/hugo.md11
-rw-r--r--layouts/_default/list.html2
-rw-r--r--layouts/index.html2
6 files changed, 16 insertions, 14 deletions
diff --git a/archetypes/blog.md b/archetypes/blog.md
index 2493181..8342d46 100644
--- a/archetypes/blog.md
+++ b/archetypes/blog.md
@@ -2,6 +2,7 @@
title = ""
description = ""
tags = ["development"]
-topics = ["Development"]
+categories = ["Development"]
+# series = []
date = {{ .Date }}
+++
diff --git a/archetypes/default.md b/archetypes/default.md
index 4c896c0..8ab7975 100644
--- a/archetypes/default.md
+++ b/archetypes/default.md
@@ -2,6 +2,6 @@
title = {{ replace .Name "-" " " | title }}
description = ""
tags = ["development"]
-topics = ["Development"]
+categories = ["Development"]
date = {{ .Date }}
+++
diff --git a/archetypes/project.md b/archetypes/project.md
index 8f08084..ac328dd 100644
--- a/archetypes/project.md
+++ b/archetypes/project.md
@@ -1,9 +1,9 @@
+++
-Title = "{{ replace .Name "-" " " | title }}"
-Date = {{ .Date }}
-Description = ""
-Tags = ["Development", ""]
-Topics = ["Development", ""]
+title = "{{ replace .Name "-" " " | title }}"
+date = {{ .Date }}
+description = ""
+tags = ["Development"]
+categories = ["Development"]
download_url = "http://github.com/USERNAME/PROJECTNAME"
project_description = "DESC"
project_name = "PROJECTNAME"
diff --git a/exampleSite/content/project/hugo.md b/exampleSite/content/project/hugo.md
index a75c569..5b24457 100644
--- a/exampleSite/content/project/hugo.md
+++ b/exampleSite/content/project/hugo.md
@@ -1,13 +1,14 @@
+++
-Title = "Hugo"
-Date = 2019-02-10T16:53:06-05:00
-Description = ""
-Tags = ["Development", ""]
-Topics = ["Development", ""]
+title = "Hugo"
+date = 2019-02-10T16:53:06-05:00
+description = ""
+tags = ["Development"]
+categories = ["Development", ""]
download_url = "http://github.com/USERNAME/PROJECTNAME"
project_description = "DESC"
project_name = "PROJECTNAME"
project_url = "URL"
release_date = "DATE"
version = "0.0"
+
+++
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 398b305..849640d 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -13,7 +13,7 @@
<div>
<ul id="list" class="pl0">
<!-- prettier-ignore -->
- {{ range.Data.Pages.ByPublishDate }}
+ {{ range .Data.Pages.ByPublishDate }}
<li class="list pl0 lh-copy">
<a
class="f3 b dib black no-underline"
diff --git a/layouts/index.html b/layouts/index.html
index 99ba999..35b27df 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -28,7 +28,7 @@
<section id="main">
<div>
<h1 id="title" class="f3">
- {{ .Site.Title }} {{ emojify .Site.Params.TitleEmoji }}
+ {{ .Site.Title }} {{ .Site.Params.TitleEmoji | emojify }}
</h1>
<ul class="list pl0">
<!-- pages -->