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

github.com/SteveLane/hugo-icon.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Lane <SteveLane@users.noreply.github.com>2019-03-06 00:23:39 +0300
committerGitHub <noreply@github.com>2019-03-06 00:23:39 +0300
commit0e6206738afcfb17365e00615ce0f0cf142bc161 (patch)
treede58db68d081d7c62d79b02880b7e975a1a9cacc
parent4658a875cfd356bc79f7c25d5a337581d86103f2 (diff)
parentd1a28dff4ee8358412fe834aa511e0012971b350 (diff)
Merge pull request #26 from colans/add-blog-sectionHEADmaster
Issue #24: Added info for adding additional pages, like a blog.
-rwxr-xr-xREADME.md10
1 files changed, 8 insertions, 2 deletions
diff --git a/README.md b/README.md
index a8bfd92..990c143 100755
--- a/README.md
+++ b/README.md
@@ -19,9 +19,15 @@ Copy `exampleSite/config.toml` into the root of your website folder, and edit it
Add `theme = "hugo-icon"` to this config, or when serving, use `hugo server -t hugo-icon`.
-## To Do
+## Adding additional pages
-- add blogging capability
+If you'd like to add additional pages, say for a blog, place your content in `/content/blog/` (with an `_index.md` and additional markdown files for each entry).
+
+To link to it from the main menu, add the following line to `layouts/partials/nav.html`:
+
+```html
+<a href="/blog" onclick="location.href='/blog';">Blog</a>
+```
## Credits