Skip to content

Commit

Permalink
Initial Indes sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Patterson committed Dec 10, 2018
0 parents commit 3bb5b88
Show file tree
Hide file tree
Showing 9 changed files with 81 additions and 0 deletions.
6 changes: 6 additions & 0 deletions archetypes/default.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "{{ replace .Name "-" " " | title }}"
date: {{ .Date }}
draft: true
---

3 changes: 3 additions & 0 deletions config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
baseURL = "http://example.org/"
languageCode = "en-us"
title = "My New Hugo Site"
7 changes: 7 additions & 0 deletions content/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: ""
date: 2018-12-10T11:59:30-05:00
draft: false
---

This is the markdown for a Index List.
2 changes: 2 additions & 0 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{{/* We should add a go template */}}
{{ .Content }}
14 changes: 14 additions & 0 deletions public/categories/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Categories on My New Hugo Site</title>
<link>http://example.org/categories/</link>
<description>Recent content in Categories on My New Hugo Site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>

<atom:link href="http://example.org/categories/index.xml" rel="self" type="application/rss+xml" />


</channel>
</rss>
1 change: 1 addition & 0 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
You could make an entire site here if you wanted.
14 changes: 14 additions & 0 deletions public/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>My New Hugo Site</title>
<link>http://example.org/</link>
<description>Recent content on My New Hugo Site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>

<atom:link href="http://example.org/index.xml" rel="self" type="application/rss+xml" />


</channel>
</rss>
20 changes: 20 additions & 0 deletions public/sitemap.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">

<url>
<loc>http://example.org/categories/</loc>
<priority>0</priority>
</url>

<url>
<loc>http://example.org/</loc>
<priority>0</priority>
</url>

<url>
<loc>http://example.org/tags/</loc>
<priority>0</priority>
</url>

</urlset>
14 changes: 14 additions & 0 deletions public/tags/index.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8" standalone="yes" ?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Tags on My New Hugo Site</title>
<link>http://example.org/tags/</link>
<description>Recent content in Tags on My New Hugo Site</description>
<generator>Hugo -- gohugo.io</generator>
<language>en-us</language>

<atom:link href="http://example.org/tags/index.xml" rel="self" type="application/rss+xml" />


</channel>
</rss>

0 comments on commit 3bb5b88

Please sign in to comment.