aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--_config.yml4
-rw-r--r--_layouts/note.html6
-rw-r--r--notes/index.html20
3 files changed, 30 insertions, 0 deletions
diff --git a/_config.yml b/_config.yml
index 2c56abb..0a72f27 100644
--- a/_config.yml
+++ b/_config.yml
@@ -13,6 +13,10 @@ exclude:
paginate: 10
+collections:
+ notes:
+ output: true
+
defaults:
- scope:
path: ""
diff --git a/_layouts/note.html b/_layouts/note.html
new file mode 100644
index 0000000..45f9b34
--- /dev/null
+++ b/_layouts/note.html
@@ -0,0 +1,6 @@
+---
+layout: default
+---
+<h1>{{ page.title }}</h1>
+<hr>
+{{ content }}
diff --git a/notes/index.html b/notes/index.html
new file mode 100644
index 0000000..b853332
--- /dev/null
+++ b/notes/index.html
@@ -0,0 +1,20 @@
+---
+layout: default
+title: Notes
+groups:
+ - navbar
+navbar_link: <span class="glyphicon glyphicon-search"></span>&nbsp;Notes
+navbar_priority: 3
+---
+<h1>{{ page.title }}</h1>
+<hr>
+{% if site.notes.size != 0 %}
+ <p>This is a complete list of "notes" I maintain.</p>
+ <ul>
+ {% for note in site.notes %}
+ <li><a href="{{ site.baseurl }}{{ note.url }}">{{ note.title }}</a></li>
+ {% endfor %}
+ </ul>
+{% else %}
+ <p>No notes have been added yet.</p>
+{% endif %}