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

github.com/mattstratton/castanet.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Stratton <matt.stratton@gmail.com>2021-01-02 02:58:08 +0300
committerGitHub <noreply@github.com>2021-01-02 02:58:08 +0300
commit9b222b3abf1c60279c8fe6433fec450c70d13e69 (patch)
tree0d3d1face36fcedad6ab1ee59f41d8140a5ffa18
parentc292af4e6ad9f4738063c059c113dc1f898fd033 (diff)
Create skeleton of blog feature (#310)
Co-authored-by: Chris Reddington <chredd@microsoft.com> Co-authored-by: Matt Stratton <matt.stratton@hey.com> Co-authored-by: Chris Reddington <791642+chrisreddington@users.noreply.github.com>
-rw-r--r--REFERENCE.md48
-rw-r--r--archetypes/blog.md11
-rw-r--r--exampleSite/config.toml5
-rw-r--r--exampleSite/content/blog/my-first-blog.md25
-rw-r--r--exampleSite/content/blog/my-fourth-blog.md24
-rw-r--r--exampleSite/content/blog/my-second-blog.md24
-rw-r--r--exampleSite/content/blog/my-third-blog.md24
-rw-r--r--layouts/blog/single.html45
-rw-r--r--layouts/blog/summary.html20
-rw-r--r--layouts/partials/author.html6
-rw-r--r--layouts/partials/blog-metadata.html14
-rw-r--r--layouts/partials/grid-blog.html117
-rw-r--r--layouts/partials/head_includes.html14
-rw-r--r--layouts/partials/jumbotron.html10
-rw-r--r--layouts/partials/row-blog.html214
-rw-r--r--layouts/section/blog.html11
-rw-r--r--layouts/section/blog.rss.xml24
17 files changed, 629 insertions, 7 deletions
diff --git a/REFERENCE.md b/REFERENCE.md
index 5368e90..db660c5 100644
--- a/REFERENCE.md
+++ b/REFERENCE.md
@@ -18,6 +18,7 @@
- [Taxonomies](#taxonomies)
- [Menus](#menus)
- [Podlove Subscribe Button](#podlove-subscribe-button)
+- [Blogs](#blogs)
- [Episodes](#episodes)
- [Upcoming Episodes](#upcoming-episodes)
- [Guests](#guests)
@@ -266,6 +267,53 @@ To customize your button please add the following section to your `config.toml`,
subscribe_feed_format = "mp3" # options: mp3, aac, ogg, opus
```
+## Blogs
+
+Every blogs requires a page in the `content/blog` on your site. The command `hugo new blog/myblog.md` should populate it properly.
+
+A blog file takes the following structure:
+
+```
++++
+Description = "Another blog post!"
+Date = 2020-11-12T13:33:18-06:00
+PublishDate = 2020-11-12T13:33:18-06:00 # this is the datetime for the when the epsiode was published. This will default to Date if it is not set. Example is "2016-04-25T04:09:45-05:00"
+title = "My second blog"
+images = ["img/episode/default-social.jpg"]
+blog_image = "img/episode/default.jpg"
+Author = "Chris Reddington"
+categories = ["DevOps", "Release"]
+tags = ["Ring Deployment", "Phased Rollout"]
+series = ["The Nirvana of DevOps"]
+#aliases = ["/##"]
++++
+YOLO keytar scenester, williamsburg etsy mlkshk neutra hexagon photo booth church-key messenger bag. Lyft small batch enamel pin, bicycle rights la croix migas chartreuse ramps microdosing authentic pickled gochujang kombucha. Wolf vaporware stumptown, glossier vinyl everyday carry organic. Subway tile af tumblr listicle photo booth meh trust fund tote bag. Post-ironic gentrify direct trade blue bottle, fingerstache master cleanse butcher. Succulents ethical leggings hexagon vexillologist migas you probably haven't heard of them keytar sustainable church-key viral salvia hell of kinfolk. Lumbersexual taiyaki la croix literally man bun, truffaut mustache godard edison bulb artisan keytar jianbing air plant swag polaroid.
+
+Actually vinyl fingerstache kickstarter +1 roof party, XOXO swag tousled cold-pressed authentic affogato selvage taiyaki schlitz. Stumptown tumeric lumbersexual, pok pok pabst butcher helvetica coloring book keytar williamsburg. Fam cloud bread meditation, post-ironic waistcoat narwhal chicharrones live-edge authentic try-hard cornhole bespoke kickstarter echo park portland. Cold-pressed lo-fi cornhole kinfolk. Sustainable scenester seitan, vape fanny pack put a bird on it succulents. 90's dreamcatcher messenger bag flannel +1 taxidermy occupy single-origin coffee four dollar toast master cleanse VHS. Small batch williamsburg tumeric meggings fanny pack pok pok paleo cardigan.
+
+Leggings photo booth beard tumeric heirloom 90's flexitarian locavore unicorn, salvia humblebrag biodiesel lomo. Bushwick chillwave distillery kombucha tbh cray roof party tacos. Wayfarers fingerstache irony, celiac schlitz microdosing austin keytar echo park. Flannel drinking vinegar austin sustainable banjo bicycle rights keytar subway tile intelligentsia williamsburg humblebrag vinyl. Prism keffiyeh mlkshk, venmo glossier distillery +1 raw denim edison bulb pinterest crucifix. Freegan iceland chartreuse leggings hella single-origin coffee tilde. Swag neutra chia before they sold out.
+
+Cred tilde flannel shaman helvetica cronut bitters mlkshk. Selvage lyft chartreuse shaman man braid gastropub tattooed post-ironic organic freegan austin forage. Enamel pin unicorn +1 schlitz lomo man bun wayfarers. Readymade bespoke polaroid iceland sriracha schlitz tousled flannel. Raw denim enamel pin fanny pack sustainable, butcher deep v thundercats try-hard forage woke fam keffiyeh. Cronut kitsch cray shoreditch pabst paleo normcore DIY bespoke cardigan pug. Crucifix bitters knausgaard neutra, viral distillery selvage banh mi activated charcoal cray.
+
+Tofu taiyaki sriracha unicorn try-hard cornhole cloud bread keytar wayfarers kinfolk pour-over art party small batch. Tousled DIY coloring book wolf, small batch master cleanse austin letterpress af. Humblebrag pop-up vaporware, readymade organic woke af la croix succulents. Yr hoodie mlkshk woke whatever portland cornhole, brunch raw denim shaman YOLO prism bicycle rights. Helvetica la croix fingerstache chambray tumblr ramps blog waistcoat 8-bit. Dreamcatcher stumptown distillery mixtape sriracha blog la croix. Pabst copper mug street art, kinfolk letterpress chambray swag occupy shoreditch echo park migas post-ironic.
+
+Dummy text? More like dummy thicc text, amirite?
+```
+
+| Field Name | Required | Description | Example |
+|--------------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---------------------------------------|
+| Description | Yes | The description of the blog, which is used on summary pages as well as the feed. Markdown is allowed, but only links. | Another blog post! |
+| Date | Yes | The release date of the blog. The hugo new blog will pre-populate this, but you may want to adjust it. | 2020-11-12T13:33:18-06:00 |
+| PublishDate | No | The datetime used by hugo when the blog should be published. This is only required if you want to set the blog post to be released on a different date from when it was written. | 2020-11-12T13:33:18-06:00 |
+| title | Yes | The title of the blog. | "My second blog" |
+| images | No | The social sharing image used by Facebook, Twitter, etc. The archetype will populate this with a default sharing image. This image needs to be relative to your baseURL | "img/episode/default-social.jpg" |
+| blog_image | Yes | The square thumbnail to represent the blog. A default image is provided, and the archetype will pre-populate it. This image needs to be relative to your baseURL. | "img/episode/default.jpg" |
+| Author | Yes | The text representation of the Author of the post. | "Chris Reddington" |
+| categories[] | No | If you are using taxonomies, this is the array of categories for the blog. | ["DevOps", "Release"] |
+| series[] | No | If you are using taxonomies, this is the array of series for the blog. | ["The Nirvana of DevOps"] |
+| tags[] | No | If you are using taxonomies, this is the array of tags for the | ["Ring Deployment", "Phased Rollout"] |
+| aliases | No | Other aliases for this blog. | ["/##"] |
+
## Episodes
Every episode requires a page in the `content/episode` on your site. The command `hugo new episode/myepisode.md` should populate it properly.
diff --git a/archetypes/blog.md b/archetypes/blog.md
new file mode 100644
index 0000000..c1ec199
--- /dev/null
+++ b/archetypes/blog.md
@@ -0,0 +1,11 @@
++++
+Description = ""
+Date = {{ .Date }}
+PublishDate = {{ .Date }} # this is the datetime for the when the epsiode was published. This will default to Date if it is not set. Example is "2016-04-25T04:09:45-05:00"
+title = ""
+#blog_banner = ""
+blog_image = "img/episode/default.jpg"
+images = ["img/episode/default-social.jpg"]
+#Author = ""
+#aliases = ["/##"]
++++
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 54d7f34..8e5c11c 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -47,6 +47,11 @@ buildFuture = true
url = "/upcoming"
[[Menu.Main]]
+ name = "Blog"
+ identifier = "blog"
+ url = "/blog"
+
+[[Menu.Main]]
name = "Resources"
identifier = "resources"
url = "#!"
diff --git a/exampleSite/content/blog/my-first-blog.md b/exampleSite/content/blog/my-first-blog.md
new file mode 100644
index 0000000..f8d273a
--- /dev/null
+++ b/exampleSite/content/blog/my-first-blog.md
@@ -0,0 +1,25 @@
++++
+Description = "This is a blog post!"
+Date = 2020-11-01T13:27:00-06:00
+PublishDate = 2020-11-01T13:27:00-06:00 # this is the datetime for the when the epsiode was published. This will default to Date if it is not set. Example is "2016-04-25T04:09:45-05:00"
+title = "My First Blog"
+images = ["img/episode/default-social.jpg"]
+Author = "mstratton"
+blog_banner = "img/episode/default-banner.jpg"
+blog_image = "img/episode/default.jpg"
+categories = ["DevOps", "Deployment"]
+tags = ["Version Control", "Git"]
+series = ["The Nirvana of DevOps"]
+#aliases = ["/##"]
++++
+YOLO keytar scenester, williamsburg etsy mlkshk neutra hexagon photo booth church-key messenger bag. Lyft small batch enamel pin, bicycle rights la croix migas chartreuse ramps microdosing authentic pickled gochujang kombucha. Wolf vaporware stumptown, glossier vinyl everyday carry organic. Subway tile af tumblr listicle photo booth meh trust fund tote bag. Post-ironic gentrify direct trade blue bottle, fingerstache master cleanse butcher. Succulents ethical leggings hexagon vexillologist migas you probably haven't heard of them keytar sustainable church-key viral salvia hell of kinfolk. Lumbersexual taiyaki la croix literally man bun, truffaut mustache godard edison bulb artisan keytar jianbing air plant swag polaroid.
+
+Actually vinyl fingerstache kickstarter +1 roof party, XOXO swag tousled cold-pressed authentic affogato selvage taiyaki schlitz. Stumptown tumeric lumbersexual, pok pok pabst butcher helvetica coloring book keytar williamsburg. Fam cloud bread meditation, post-ironic waistcoat narwhal chicharrones live-edge authentic try-hard cornhole bespoke kickstarter echo park portland. Cold-pressed lo-fi cornhole kinfolk. Sustainable scenester seitan, vape fanny pack put a bird on it succulents. 90's dreamcatcher messenger bag flannel +1 taxidermy occupy single-origin coffee four dollar toast master cleanse VHS. Small batch williamsburg tumeric meggings fanny pack pok pok paleo cardigan.
+
+Leggings photo booth beard tumeric heirloom 90's flexitarian locavore unicorn, salvia humblebrag biodiesel lomo. Bushwick chillwave distillery kombucha tbh cray roof party tacos. Wayfarers fingerstache irony, celiac schlitz microdosing austin keytar echo park. Flannel drinking vinegar austin sustainable banjo bicycle rights keytar subway tile intelligentsia williamsburg humblebrag vinyl. Prism keffiyeh mlkshk, venmo glossier distillery +1 raw denim edison bulb pinterest crucifix. Freegan iceland chartreuse leggings hella single-origin coffee tilde. Swag neutra chia before they sold out.
+
+Cred tilde flannel shaman helvetica cronut bitters mlkshk. Selvage lyft chartreuse shaman man braid gastropub tattooed post-ironic organic freegan austin forage. Enamel pin unicorn +1 schlitz lomo man bun wayfarers. Readymade bespoke polaroid iceland sriracha schlitz tousled flannel. Raw denim enamel pin fanny pack sustainable, butcher deep v thundercats try-hard forage woke fam keffiyeh. Cronut kitsch cray shoreditch pabst paleo normcore DIY bespoke cardigan pug. Crucifix bitters knausgaard neutra, viral distillery selvage banh mi activated charcoal cray.
+
+Tofu taiyaki sriracha unicorn try-hard cornhole cloud bread keytar wayfarers kinfolk pour-over art party small batch. Tousled DIY coloring book wolf, small batch master cleanse austin letterpress af. Humblebrag pop-up vaporware, readymade organic woke af la croix succulents. Yr hoodie mlkshk woke whatever portland cornhole, brunch raw denim shaman YOLO prism bicycle rights. Helvetica la croix fingerstache chambray tumblr ramps blog waistcoat 8-bit. Dreamcatcher stumptown distillery mixtape sriracha blog la croix. Pabst copper mug street art, kinfolk letterpress chambray swag occupy shoreditch echo park migas post-ironic.
+
+Dummy text? More like dummy thicc text, amirite?
diff --git a/exampleSite/content/blog/my-fourth-blog.md b/exampleSite/content/blog/my-fourth-blog.md
new file mode 100644
index 0000000..27ea89a
--- /dev/null
+++ b/exampleSite/content/blog/my-fourth-blog.md
@@ -0,0 +1,24 @@
++++
+Description = "Another blog post!"
+Date = 2020-12-01T13:33:18-06:00
+PublishDate = 2020-12-01T13:33:18-06:00 # this is the datetime for the when the epsiode was published. This will default to Date if it is not set. Example is "2016-04-25T04:09:45-05:00"
+title = "My fourth blog"
+images = ["img/episode/default-social.jpg"]
+blog_image = "img/episode/default.jpg"
+#Author = ""
+#categories = []
+#tags = []
+#series = []
+#aliases = ["/##"]
++++
+YOLO keytar scenester, williamsburg etsy mlkshk neutra hexagon photo booth church-key messenger bag. Lyft small batch enamel pin, bicycle rights la croix migas chartreuse ramps microdosing authentic pickled gochujang kombucha. Wolf vaporware stumptown, glossier vinyl everyday carry organic. Subway tile af tumblr listicle photo booth meh trust fund tote bag. Post-ironic gentrify direct trade blue bottle, fingerstache master cleanse butcher. Succulents ethical leggings hexagon vexillologist migas you probably haven't heard of them keytar sustainable church-key viral salvia hell of kinfolk. Lumbersexual taiyaki la croix literally man bun, truffaut mustache godard edison bulb artisan keytar jianbing air plant swag polaroid.
+
+Actually vinyl fingerstache kickstarter +1 roof party, XOXO swag tousled cold-pressed authentic affogato selvage taiyaki schlitz. Stumptown tumeric lumbersexual, pok pok pabst butcher helvetica coloring book keytar williamsburg. Fam cloud bread meditation, post-ironic waistcoat narwhal chicharrones live-edge authentic try-hard cornhole bespoke kickstarter echo park portland. Cold-pressed lo-fi cornhole kinfolk. Sustainable scenester seitan, vape fanny pack put a bird on it succulents. 90's dreamcatcher messenger bag flannel +1 taxidermy occupy single-origin coffee four dollar toast master cleanse VHS. Small batch williamsburg tumeric meggings fanny pack pok pok paleo cardigan.
+
+Leggings photo booth beard tumeric heirloom 90's flexitarian locavore unicorn, salvia humblebrag biodiesel lomo. Bushwick chillwave distillery kombucha tbh cray roof party tacos. Wayfarers fingerstache irony, celiac schlitz microdosing austin keytar echo park. Flannel drinking vinegar austin sustainable banjo bicycle rights keytar subway tile intelligentsia williamsburg humblebrag vinyl. Prism keffiyeh mlkshk, venmo glossier distillery +1 raw denim edison bulb pinterest crucifix. Freegan iceland chartreuse leggings hella single-origin coffee tilde. Swag neutra chia before they sold out.
+
+Cred tilde flannel shaman helvetica cronut bitters mlkshk. Selvage lyft chartreuse shaman man braid gastropub tattooed post-ironic organic freegan austin forage. Enamel pin unicorn +1 schlitz lomo man bun wayfarers. Readymade bespoke polaroid iceland sriracha schlitz tousled flannel. Raw denim enamel pin fanny pack sustainable, butcher deep v thundercats try-hard forage woke fam keffiyeh. Cronut kitsch cray shoreditch pabst paleo normcore DIY bespoke cardigan pug. Crucifix bitters knausgaard neutra, viral distillery selvage banh mi activated charcoal cray.
+
+Tofu taiyaki sriracha unicorn try-hard cornhole cloud bread keytar wayfarers kinfolk pour-over art party small batch. Tousled DIY coloring book wolf, small batch master cleanse austin letterpress af. Humblebrag pop-up vaporware, readymade organic woke af la croix succulents. Yr hoodie mlkshk woke whatever portland cornhole, brunch raw denim shaman YOLO prism bicycle rights. Helvetica la croix fingerstache chambray tumblr ramps blog waistcoat 8-bit. Dreamcatcher stumptown distillery mixtape sriracha blog la croix. Pabst copper mug street art, kinfolk letterpress chambray swag occupy shoreditch echo park migas post-ironic.
+
+Dummy text? More like dummy thicc text, amirite?
diff --git a/exampleSite/content/blog/my-second-blog.md b/exampleSite/content/blog/my-second-blog.md
new file mode 100644
index 0000000..8965a1e
--- /dev/null
+++ b/exampleSite/content/blog/my-second-blog.md
@@ -0,0 +1,24 @@
++++
+Description = "Another blog post!"
+Date = 2020-11-12T13:33:18-06:00
+PublishDate = 2020-11-12T13:33:18-06:00 # this is the datetime for the when the epsiode was published. This will default to Date if it is not set. Example is "2016-04-25T04:09:45-05:00"
+title = "My second blog"
+images = ["img/episode/default-social.jpg"]
+blog_image = "img/episode/default.jpg"
+Author = "bkromhout"
+categories = ["DevOps", "Release"]
+tags = ["Ring Deployment", "Phased Rollout"]
+series = ["The Nirvana of DevOps"]
+#aliases = ["/##"]
++++
+YOLO keytar scenester, williamsburg etsy mlkshk neutra hexagon photo booth church-key messenger bag. Lyft small batch enamel pin, bicycle rights la croix migas chartreuse ramps microdosing authentic pickled gochujang kombucha. Wolf vaporware stumptown, glossier vinyl everyday carry organic. Subway tile af tumblr listicle photo booth meh trust fund tote bag. Post-ironic gentrify direct trade blue bottle, fingerstache master cleanse butcher. Succulents ethical leggings hexagon vexillologist migas you probably haven't heard of them keytar sustainable church-key viral salvia hell of kinfolk. Lumbersexual taiyaki la croix literally man bun, truffaut mustache godard edison bulb artisan keytar jianbing air plant swag polaroid.
+
+Actually vinyl fingerstache kickstarter +1 roof party, XOXO swag tousled cold-pressed authentic affogato selvage taiyaki schlitz. Stumptown tumeric lumbersexual, pok pok pabst butcher helvetica coloring book keytar williamsburg. Fam cloud bread meditation, post-ironic waistcoat narwhal chicharrones live-edge authentic try-hard cornhole bespoke kickstarter echo park portland. Cold-pressed lo-fi cornhole kinfolk. Sustainable scenester seitan, vape fanny pack put a bird on it succulents. 90's dreamcatcher messenger bag flannel +1 taxidermy occupy single-origin coffee four dollar toast master cleanse VHS. Small batch williamsburg tumeric meggings fanny pack pok pok paleo cardigan.
+
+Leggings photo booth beard tumeric heirloom 90's flexitarian locavore unicorn, salvia humblebrag biodiesel lomo. Bushwick chillwave distillery kombucha tbh cray roof party tacos. Wayfarers fingerstache irony, celiac schlitz microdosing austin keytar echo park. Flannel drinking vinegar austin sustainable banjo bicycle rights keytar subway tile intelligentsia williamsburg humblebrag vinyl. Prism keffiyeh mlkshk, venmo glossier distillery +1 raw denim edison bulb pinterest crucifix. Freegan iceland chartreuse leggings hella single-origin coffee tilde. Swag neutra chia before they sold out.
+
+Cred tilde flannel shaman helvetica cronut bitters mlkshk. Selvage lyft chartreuse shaman man braid gastropub tattooed post-ironic organic freegan austin forage. Enamel pin unicorn +1 schlitz lomo man bun wayfarers. Readymade bespoke polaroid iceland sriracha schlitz tousled flannel. Raw denim enamel pin fanny pack sustainable, butcher deep v thundercats try-hard forage woke fam keffiyeh. Cronut kitsch cray shoreditch pabst paleo normcore DIY bespoke cardigan pug. Crucifix bitters knausgaard neutra, viral distillery selvage banh mi activated charcoal cray.
+
+Tofu taiyaki sriracha unicorn try-hard cornhole cloud bread keytar wayfarers kinfolk pour-over art party small batch. Tousled DIY coloring book wolf, small batch master cleanse austin letterpress af. Humblebrag pop-up vaporware, readymade organic woke af la croix succulents. Yr hoodie mlkshk woke whatever portland cornhole, brunch raw denim shaman YOLO prism bicycle rights. Helvetica la croix fingerstache chambray tumblr ramps blog waistcoat 8-bit. Dreamcatcher stumptown distillery mixtape sriracha blog la croix. Pabst copper mug street art, kinfolk letterpress chambray swag occupy shoreditch echo park migas post-ironic.
+
+Dummy text? More like dummy thicc text, amirite?
diff --git a/exampleSite/content/blog/my-third-blog.md b/exampleSite/content/blog/my-third-blog.md
new file mode 100644
index 0000000..392d655
--- /dev/null
+++ b/exampleSite/content/blog/my-third-blog.md
@@ -0,0 +1,24 @@
++++
+Description = "Another blog post!"
+Date = 2020-11-21T13:33:18-06:00
+PublishDate = 2020-11-21T13:33:18-06:00 # this is the datetime for the when the epsiode was published. This will default to Date if it is not set. Example is "2016-04-25T04:09:45-05:00"
+title = "My third blog"
+images = ["img/episode/default-social.jpg"]
+blog_image = "img/episode/default.jpg"
+Author = ""
+categories = []
+tags = []
+series = []
+#aliases = ["/##"]
++++
+YOLO keytar scenester, williamsburg etsy mlkshk neutra hexagon photo booth church-key messenger bag. Lyft small batch enamel pin, bicycle rights la croix migas chartreuse ramps microdosing authentic pickled gochujang kombucha. Wolf vaporware stumptown, glossier vinyl everyday carry organic. Subway tile af tumblr listicle photo booth meh trust fund tote bag. Post-ironic gentrify direct trade blue bottle, fingerstache master cleanse butcher. Succulents ethical leggings hexagon vexillologist migas you probably haven't heard of them keytar sustainable church-key viral salvia hell of kinfolk. Lumbersexual taiyaki la croix literally man bun, truffaut mustache godard edison bulb artisan keytar jianbing air plant swag polaroid.
+
+Actually vinyl fingerstache kickstarter +1 roof party, XOXO swag tousled cold-pressed authentic affogato selvage taiyaki schlitz. Stumptown tumeric lumbersexual, pok pok pabst butcher helvetica coloring book keytar williamsburg. Fam cloud bread meditation, post-ironic waistcoat narwhal chicharrones live-edge authentic try-hard cornhole bespoke kickstarter echo park portland. Cold-pressed lo-fi cornhole kinfolk. Sustainable scenester seitan, vape fanny pack put a bird on it succulents. 90's dreamcatcher messenger bag flannel +1 taxidermy occupy single-origin coffee four dollar toast master cleanse VHS. Small batch williamsburg tumeric meggings fanny pack pok pok paleo cardigan.
+
+Leggings photo booth beard tumeric heirloom 90's flexitarian locavore unicorn, salvia humblebrag biodiesel lomo. Bushwick chillwave distillery kombucha tbh cray roof party tacos. Wayfarers fingerstache irony, celiac schlitz microdosing austin keytar echo park. Flannel drinking vinegar austin sustainable banjo bicycle rights keytar subway tile intelligentsia williamsburg humblebrag vinyl. Prism keffiyeh mlkshk, venmo glossier distillery +1 raw denim edison bulb pinterest crucifix. Freegan iceland chartreuse leggings hella single-origin coffee tilde. Swag neutra chia before they sold out.
+
+Cred tilde flannel shaman helvetica cronut bitters mlkshk. Selvage lyft chartreuse shaman man braid gastropub tattooed post-ironic organic freegan austin forage. Enamel pin unicorn +1 schlitz lomo man bun wayfarers. Readymade bespoke polaroid iceland sriracha schlitz tousled flannel. Raw denim enamel pin fanny pack sustainable, butcher deep v thundercats try-hard forage woke fam keffiyeh. Cronut kitsch cray shoreditch pabst paleo normcore DIY bespoke cardigan pug. Crucifix bitters knausgaard neutra, viral distillery selvage banh mi activated charcoal cray.
+
+Tofu taiyaki sriracha unicorn try-hard cornhole cloud bread keytar wayfarers kinfolk pour-over art party small batch. Tousled DIY coloring book wolf, small batch master cleanse austin letterpress af. Humblebrag pop-up vaporware, readymade organic woke af la croix succulents. Yr hoodie mlkshk woke whatever portland cornhole, brunch raw denim shaman YOLO prism bicycle rights. Helvetica la croix fingerstache chambray tumblr ramps blog waistcoat 8-bit. Dreamcatcher stumptown distillery mixtape sriracha blog la croix. Pabst copper mug street art, kinfolk letterpress chambray swag occupy shoreditch echo park migas post-ironic.
+
+Dummy text? More like dummy thicc text, amirite?
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
new file mode 100644
index 0000000..0c450b8
--- /dev/null
+++ b/layouts/blog/single.html
@@ -0,0 +1,45 @@
+{{ define "main" }}
+
+<h1>{{ .Title }}</h1>
+<small>Posted on {{ dateFormat "Monday, Jan 2, 2006" .Date }} {{ partial "blog-metadata.html" . }}</small>
+<br><br>
+{{ .Content }}
+<div id="share"></div>
+<div class="row">
+ <!-- pager begin -->
+ <div class="col-md-12">
+ <nav>
+ <ul class="pagination">
+ {{ if .PrevInSection }}
+ <li class="page-item">
+ <a href="{{.PrevInSection.Permalink}}" class="page-link">
+ <span aria-hidden="true">&larr;</span>
+ Previous</a>
+ </li>
+ {{ else }}
+ <li class="page-item disabled">
+ <a href="#" class="page-link">
+ <span aria-hidden="true">&larr;</span>
+ Previous</a>
+ </li>
+ {{ end }}
+ {{ if .NextInSection }}
+ <li class="page-item">
+ <a href="{{.NextInSection.Permalink}}" class="page-link">Next
+ <span aria-hidden="true">&rarr;</span>
+ </a>
+ </li>
+ {{ else }}
+ <li class="page-item disabled">
+ <a href="#" class="page-link">Next
+ <span aria-hidden="true">&rarr;</span>
+ </a>
+ </li>
+ {{ end }}
+ </ul>
+ </nav>
+ </div>
+</div>
+<!-- pager end -->
+
+{{ end }}
diff --git a/layouts/blog/summary.html b/layouts/blog/summary.html
new file mode 100644
index 0000000..305d843
--- /dev/null
+++ b/layouts/blog/summary.html
@@ -0,0 +1,20 @@
+<header>
+ <h2><a href='{{ .Permalink }}'> {{ .Title }}</a> </h2>
+ {{- if isset .Params "author" -}}
+ <h2 class="footer-heading">by {{ .Params.author }} - {{ dateFormat "02 January, 2006" .Date }}</h2>
+ {{- else -}}
+ <h2 class="footer-heading">{{ dateFormat "02 January, 2006" .Date }}</h2>
+ {{- end -}}
+
+</header>
+{{ if isset .Params "description" }}
+ {{ if ne .Params.descripton "" }}
+ {{ .Params.description | markdownify }}
+ {{ end }}
+{{ else }}
+ {{ .Summary }}
+{{ end }}
+<footer>
+ <a href='{{ .Permalink }}'><nobr>Read more →</nobr></a>
+</footer>
+<br>
diff --git a/layouts/partials/author.html b/layouts/partials/author.html
new file mode 100644
index 0000000..c9b45ff
--- /dev/null
+++ b/layouts/partials/author.html
@@ -0,0 +1,6 @@
+{{ with .Page.Param "Author" }}
+ {{ $hosts := where $.Site.RegularPages ".Section" "host" }}
+ {{ $filesWithAuthor := where $.Site.RegularPages ".File.BaseFileName" . }}
+ {{ $author := index ($filesWithAuthor | intersect $hosts) 0 }}
+ by <a href="{{ $author.Permalink}} ">{{ $author.Title }}</a>
+{{ end }}
diff --git a/layouts/partials/blog-metadata.html b/layouts/partials/blog-metadata.html
new file mode 100644
index 0000000..45f71a2
--- /dev/null
+++ b/layouts/partials/blog-metadata.html
@@ -0,0 +1,14 @@
+{{ $pageScope := . }}
+
+{{ with .Page.Param "Author" }}
+ {{ partial "author.html" $pageScope }}
+{{ end }}
+{{ with .Page.Param "categories" }}
+ | Category: {{ partial "categories.html" $pageScope }}
+{{ end }}
+{{ with .Page.Param "series" }}
+ | Series: {{ partial "series.html" $pageScope }}
+{{ end }}
+{{ with .Page.Param "tags" }}
+ | {{ partial "tags.html" $pageScope }}
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/grid-blog.html b/layouts/partials/grid-blog.html
new file mode 100644
index 0000000..3d1b543
--- /dev/null
+++ b/layouts/partials/grid-blog.html
@@ -0,0 +1,117 @@
+<section class="episode-list">
+
+ <div class = "col episode-list-header">
+ <h2 class = "episode-list-header">Blog Posts</h2>
+ </div>
+
+ <div class = "row">
+
+ {{ $paginator := .Paginate ((where .Pages.ByDate "Section" "blog").Reverse) }}
+
+ {{ range $paginator.Pages }}
+ {{ $.Scratch.Set "episode" .File.BaseFileName }}
+ <div class="col-md-4 grid_episode_col">
+ <div class="episode-image-homepage">
+ <a href="{{ .Permalink }}">
+ <img src="{{ .Params.blog_image | absURL }}" class="img-fluid" alt="{{ .Title }}" />
+
+
+
+ </a>
+ </div>
+ <div class="grid_episode_detail">
+ <a href="{{ .Permalink }}" class= "grid_episode_title"><h3>{{ title .Title }}</h3></a>
+ <small class = "grid_episode_title">Posted on {{ dateFormat "Monday, Jan 2, 2006" .Date }} {{ partial "blog-metadata.html" .}}</small>
+ </div>
+
+ </div>
+ {{ end }}
+
+
+ </div>
+
+</section>
+{{ if gt $paginator.TotalPages 1 }}
+<div class = "row">
+<div class = "col">
+
+
+<nav class="pagination justify-content-center">
+
+{{ $pag := $.Paginator }}
+{{ $window := $.Site.Params.paginateWindow | default 1 }}
+{{ if gt $pag.TotalPages 1 }}
+ {{ $total := $pag.TotalPages }}
+ {{ $size := add 5 (add $window $window) }}
+ {{ $cur := $pag.PageNumber }}
+ {{ if gt $total $size }}
+ {{ if lt $cur (sub $size (add $window 1)) }}
+ {{ $.Scratch.Set "show" (seq 1 (sub $size 2)) }}
+ {{ else if lt (sub $total $cur) (sub $size (add $window 2)) }}
+ {{ $.Scratch.Set "show" (seq (add (sub $total $size) 3) $total) }}
+ {{ else }}
+ {{ $.Scratch.Set "show" (seq (sub $cur $window) (add $cur $window)) }}
+ {{ end }}
+ {{ $.Scratch.Add "show" 1 }}
+ {{ $.Scratch.Add "show" $total }}
+ {{ else }}
+ {{ $.Scratch.Set "show" (seq 1 $total) }}
+ {{ end }}
+
+<ul class="pagination pagination-lg">
+ <!-- first page button -->
+ {{if $paginator.HasPrev }}
+ {{ if gt $paginator.PageNumber 2 }}
+ {{- with $paginator.First -}}
+ {{- $url := trim (string .URL) "/" | absURL -}}
+ <li class="page-item">
+ <a href="{{ $url }}" aria-label="First" class="page-link"><span aria-hidden="true">&laquo;&laquo;</span></a>
+ </li>
+ {{- end -}}
+ {{ end }}
+ {{ end }}
+
+
+ <!-- prev page button -->
+ {{- with $paginator.HasPrev -}}
+ <li class="page-item">
+ <a href="{{ $paginator.Prev.URL }}" class="page-link"> &laquo; </a>
+ </li>
+ {{ end }}
+
+ <!-- page # buttons -->
+ {{ range $pag.Pagers }}
+ {{ $cur := .PageNumber }}
+ {{- $url := trim (string $.URL) "/" | absURL -}}
+ {{ if in ($.Scratch.Get "show") $cur }}
+ <li class = "{{ if eq . $pag }}active{{ end }} page-item"><a href="{{ .URL }}" class="page-link hidden-md-down">{{ .PageNumber }}</a></li>
+ {{ else if in (slice 2 (sub $total 1)) $cur }}
+ <li class="disabled page-item"><a name="" class="page-link hidden-md-down">&hellip;</a></li>
+ {{ end }}
+ {{ end }}
+
+ <!-- next page button -->
+ {{- with $paginator.HasNext -}}
+ <li class="page-item">
+ <a href="{{ $paginator.Next.URL }}" class="page-link"> &raquo; </a>
+ </li>
+ {{ end }}
+
+ <!-- last page button -->
+ {{ if lt $paginator.PageNumber (sub $paginator.TotalPages 1) }}
+ {{- with $paginator.Last -}}
+ {{- $url := trim (string .URL) "/" | absURL -}}
+ <li class="page-item">
+ <a href="{{ $url }}" aria-label="Last" class="page-link"><span aria-hidden="true">&raquo;&raquo;</span></a>
+ </li>
+ {{- end -}}
+ {{ end }}
+
+</ul>
+{{ end }}
+</nav>
+</div>
+</div>
+{{ end }}
+</div>
+</div>
diff --git a/layouts/partials/head_includes.html b/layouts/partials/head_includes.html
index 2812f1e..75ede81 100644
--- a/layouts/partials/head_includes.html
+++ b/layouts/partials/head_includes.html
@@ -48,8 +48,12 @@
}
</style>
<link href={{"css/speed.min.css" | absURL }} rel="stylesheet">
-{{- if (isset $.Site.Params "rss_subscribe" ) -}}
- <link rel="alternate" type="application/rss+xml" title="{{$.Site.Title}}" href="{{$.Site.Params.rss_subscribe}}"/>
-{{- else -}}
- <link rel="alternate" type="application/rss+xml" title="{{$.Site.Title}}" href="{{"episode/index.xml" | absURL }}"/>
-{{- end -}}
+{{ if eq .Section "blog" }}
+ <link rel="alternate" type="application/rss+xml" title="{{$.Site.Title}}" href="{{"blog/index.xml" | absURL }}"/>
+{{ else }}
+ {{- if (isset $.Site.Params "rss_subscribe" ) -}}
+ <link rel="alternate" type="application/rss+xml" title="{{$.Site.Title}}" href="{{$.Site.Params.rss_subscribe}}"/>
+ {{- else -}}
+ <link rel="alternate" type="application/rss+xml" title="{{$.Site.Title}}" href="{{"episode/index.xml" | absURL }}"/>
+ {{- end -}}
+{{ end }} \ No newline at end of file
diff --git a/layouts/partials/jumbotron.html b/layouts/partials/jumbotron.html
index d378804..fa668f3 100644
--- a/layouts/partials/jumbotron.html
+++ b/layouts/partials/jumbotron.html
@@ -65,13 +65,19 @@
{{ end }}
{{ if (isset .Site.Params "rss_subscribe" )}}
<div class = "d-flex p-2 subscribe_buttons col-md-auto">
- <a class="btn btn-default" href="{{ .Site.Params.rss_subscribe }}"><i class="fa fa-rss"></i>&nbsp;RSS</a>
+ <a class="btn btn-default" href="{{ .Site.Params.rss_subscribe }}"><i class="fa fa-rss"></i>&nbsp;Podcast</a>
</div>
{{ else }}
<div class = "d-flex p-2 subscribe_buttons col-md-auto">
- <a class="btn btn-default" href="{{"episode/index.xml" | absURL }}"><i class="fa fa-rss"></i>&nbsp;RSS</a>
+ <a class="btn btn-default" href="{{"episode/index.xml" | absURL }}"><i class="fa fa-rss"></i>&nbsp;Podcast</a>
</div>
{{ end }}
+
+ {{ if ge (len .Site.Pages) 1 }}
+ <div class = "d-flex p-2 subscribe_buttons col-md-auto">
+ <a class="btn btn-default" href="{{"blog/index.xml" | absURL }}"><i class="fa fa-rss"></i>&nbsp;Blog</a>
+ </div>
+ {{ end }}
</div>
diff --git a/layouts/partials/row-blog.html b/layouts/partials/row-blog.html
new file mode 100644
index 0000000..8c7ea5a
--- /dev/null
+++ b/layouts/partials/row-blog.html
@@ -0,0 +1,214 @@
+<div class="row hero_container">
+
+ <div class="col-md-12">
+ <h2>
+ Latest Blog Post
+ </h2>
+
+ {{ range first 1 ((where .Pages.ByDate "Section" "blog").Reverse) }}
+ {{- with .Params.truncate -}}
+ {{- $.Scratch.Set "truncate" . }}
+ {{- else -}}
+ {{- with .Site.Params.truncate -}}
+ {{- $.Scratch.Set "truncate" . }}
+ {{- else -}}
+ {{- $.Scratch.Set "truncate" 600 -}}
+ {{- end -}}
+ {{- end -}}
+ {{- with .Params.blog_banner -}}
+ {{- $.Scratch.Set "blog_banner" "true" -}}
+ {{- end -}}
+
+ {{- if eq ($.Scratch.Get "blog_banner") "true" -}}
+ <div class = "row homepage_episode_row">
+ <div class = "col">
+ <a href="{{ .Permalink }}" class = "row_latest_episode_title"><h2>{{ .Title }}</h2></a>
+ <small>Posted on {{ dateFormat "Monday, Jan 2, 2006" .Date }} {{ partial "blog-metadata.html" . }}</small>
+ </div>
+ </div>
+ <div class = "row homepage_episode_row">
+ <div class = "col">
+ <a href="{{ .Permalink }}"><img src="{{ .Params.blog_banner | absURL }}" class="img-fluid blog_image"/></a>
+ </div>
+ </div>
+ <div class = "row homepage_episode_row">
+ <div class = "col">
+ {{ .Description | markdownify | truncate ($.Scratch.Get "truncate") " "}}&nbsp;<small><a href = "{{ .Permalink }}">Read More</a></small>
+ </div>
+ </div>
+ {{- else -}}
+ <!-- begin square row -->
+ <div class = "row homepage_episode_row">
+ <div class = "col-md-12">
+ <a href="{{ .Permalink }}" class = "row_latest_episode_title"><h2>{{ .Title }}</h2></a>
+ <small>Posted on {{ dateFormat "Monday, Jan 2, 2006" .Date }} {{ partial "blog-metadata.html" .}}</small>
+ </div>
+ </div>
+ {{- if .Params.blog_image -}}
+ <div class = "row homepage_episode_row">
+ <div class = "col-md-3">
+ <a href="{{ .Permalink }}"><img class = "img-fluid" src = "{{ .Params.blog_image | absURL }}" /></a>
+ </div>
+ <div class = "col-md-8">
+ {{- if ge (countrunes .Description ) ($.Scratch.Get "truncate") -}}
+ <p class = "hompage_episode_description">{{ .Description | markdownify | truncate ($.Scratch.Get "truncate") " "}}&nbsp;<small><a href = "{{ .Permalink }}">Read More</a></small></p>
+ {{- else -}}
+ <p class = "hompage_episode_description">{{ .Description | markdownify }}</p>
+ {{- end -}}
+ </div>
+ </div><!-- end square row -->
+ {{- else -}}
+ <div class = "col">
+ {{- if ge (countrunes .Description ) ($.Scratch.Get "truncate") -}}
+ <p class = "hompage_episode_description">{{ .Description | markdownify | truncate ($.Scratch.Get "truncate") " "}}&nbsp;<small><a href = "{{ .Permalink }}">Read More</a></small></p>
+ {{- else -}}
+ <p class = "hompage_episode_description">{{ .Description | markdownify }}</p>
+ {{- end -}}
+ </div>
+ {{- end -}}
+ {{- end -}}
+
+ {{- end -}}
+ </div>
+</div>
+
+<section class="episode-list">
+<!-- rest of episodes -->
+{{- if (where .Pages.ByDate "Section" "blog") -}}
+{{- $paginator := .Paginate (after 1 ((where .Pages.ByDate "Section" "blog").Reverse)) }}
+{{- $list := (where .Pages.ByDate "Section" "blog") -}}
+{{- $len := (len $list) -}}
+<div class="row main_container">
+
+ <div class="col-md-8">
+{{- if gt $len 1 -}}
+ {{- range $paginator.Pages -}}
+ {{- with .Params.truncate -}}
+ {{- $.Scratch.Set "truncate" . }}
+ {{- else -}}
+ {{- with .Site.Params.truncate -}}
+ {{- $.Scratch.Set "truncate" . }}
+ {{- else -}}
+ {{- $.Scratch.Set "truncate" 600 -}}
+ {{- end -}}
+ {{- end -}}
+ <div class = "row homepage_episode_row">
+ <div class = "col-md-12">
+ <a href="{{ .Permalink }}" class= "grid_episode_title"><h3 class= "grid_episode_title">{{ .Title }}</h3></a>
+ <small>Posted on {{ dateFormat "Monday, Jan 2, 2006" .Date }} {{ partial "blog-metadata.html" .}}</small>
+ </div>
+ </div>
+ <div class = "row homepage_episode_row">
+ {{- if .Params.blog_image -}}
+ <div class = "col-md-4">
+ <a href="{{ .Permalink }}"><img class = "img-fluid" src = "{{ .Params.blog_image | absURL }}" /></a>
+ </div>
+ <div class = "col-md-8">
+ {{- if ge (countrunes .Description ) ($.Scratch.Get "truncate") -}}
+ <p class = "hompage_episode_description">{{ .Description | markdownify | truncate ($.Scratch.Get "truncate") " "}}&nbsp;<small><a href = "{{ .Permalink }}">Read More</a></small></p>
+ {{- else -}}
+ <p class = "hompage_episode_description">{{ .Description | markdownify }}</p>
+ {{- end -}}
+ </div>
+ {{- else -}}
+ <div class = "col">
+ {{- if ge (countrunes .Description ) ($.Scratch.Get "truncate") -}}
+ <p class = "hompage_episode_description">{{ .Description | markdownify | truncate ($.Scratch.Get "truncate") " "}}&nbsp;<small><a href = "{{ .Permalink }}">Read More</a></small></p>
+ {{- else -}}
+ <p class = "hompage_episode_description">{{ .Description | markdownify }}</p>
+ {{- end -}}
+ </div>
+ {{- end -}}
+ </div>
+ {{- end -}}
+ {{- end -}}
+</div>
+
+</div>
+<div class="row">
+<div class="col-md-12">
+{{- if gt $paginator.TotalPages 1 -}}
+<div class = "row">
+<div class = "col">
+
+
+<nav class="pagination justify-content-center">
+
+{{ $pag := $.Paginator }}
+{{ $window := $.Site.Params.paginateWindow | default 1 }}
+{{ if gt $pag.TotalPages 1 }}
+ {{ $total := $pag.TotalPages }}
+ {{ $size := add 5 (add $window $window) }}
+ {{ $cur := $pag.PageNumber }}
+ {{ if gt $total $size }}
+ {{ if lt $cur (sub $size (add $window 1)) }}
+ {{ $.Scratch.Set "show" (seq 1 (sub $size 2)) }}
+ {{ else if lt (sub $total $cur) (sub $size (add $window 2)) }}
+ {{ $.Scratch.Set "show" (seq (add (sub $total $size) 3) $total) }}
+ {{ else }}
+ {{ $.Scratch.Set "show" (seq (sub $cur $window) (add $cur $window)) }}
+ {{ end }}
+ {{ $.Scratch.Add "show" 1 }}
+ {{ $.Scratch.Add "show" $total }}
+ {{ else }}
+ {{ $.Scratch.Set "show" (seq 1 $total) }}
+ {{ end }}
+
+<ul class="pagination pagination-lg">
+ <!-- first page button -->
+ {{if $paginator.HasPrev }}
+ {{ if gt $paginator.PageNumber 2 }}
+ {{- with $paginator.First -}}
+ {{- $url := trim (string .URL) "/" | absURL -}}
+ <li class="page-item">
+ <a href="{{ $url }}" aria-label="First" class="page-link"><span aria-hidden="true">&laquo;&laquo;</span></a>
+ </li>
+ {{- end -}}
+ {{ end }}
+ {{ end }}
+
+
+ <!-- prev page button -->
+ {{- with $paginator.HasPrev -}}
+ <li class="page-item">
+ <a href="{{ $paginator.Prev.URL }}" class="page-link"> &laquo; </a>
+ </li>
+ {{ end }}
+
+ <!-- page # buttons -->
+ {{ range $pag.Pagers }}
+ {{ $cur := .PageNumber }}
+ {{- $url := trim (string .URL) "/" | absURL -}}
+ {{ if in ($.Scratch.Get "show") $cur }}
+ <li class = "{{ if eq . $pag }}active{{ end }} page-item"><a href="{{ .URL }}" class="page-link hidden-md-down">{{ .PageNumber }}</a></li>
+ {{ else if in (slice 2 (sub $total 1)) $cur }}
+ <li class="disabled page-item"><a name="" class="page-link hidden-md-down">&hellip;</a></li>
+ {{ end }}
+ {{ end }}
+
+ <!-- next page button -->
+ {{- with $paginator.HasNext -}}
+ <li class="page-item">
+ <a href="{{ $paginator.Next.URL }}" class="page-link"> &raquo; </a>
+ </li>
+ {{ end }}
+
+ <!-- last page button -->
+ {{ if lt $paginator.PageNumber (sub $paginator.TotalPages 1) }}
+ {{- with $paginator.Last -}}
+ {{- $url := trim (string .URL) "/" | absURL -}}
+ <li class="page-item">
+ <a href="{{ $url }}" aria-label="Last" class="page-link"><span aria-hidden="true">&raquo;&raquo;</span></a>
+ </li>
+ {{- end -}}
+ {{ end }}
+</ul>
+{{ end }}
+</nav>
+</div>
+</div>
+{{- end -}}
+</div>
+{{- end -}}
+</div>
+</div> <!-- end section -->
diff --git a/layouts/section/blog.html b/layouts/section/blog.html
new file mode 100644
index 0000000..d114c3b
--- /dev/null
+++ b/layouts/section/blog.html
@@ -0,0 +1,11 @@
+{{ define "main" }}
+ {{ if isset $.Site.Params "site_layout" }}
+ {{ if eq $.Site.Params.site_layout "grid" }}
+ {{- partial "grid-blog.html" . }}
+ {{ else }}
+ {{- partial "row-blog.html" . }}
+ {{ end }}
+ {{ else }}
+ {{- partial "row-blog.html" . }}
+ {{ end }}
+{{ end }}
diff --git a/layouts/section/blog.rss.xml b/layouts/section/blog.rss.xml
new file mode 100644
index 0000000..d01bd6f
--- /dev/null
+++ b/layouts/section/blog.rss.xml
@@ -0,0 +1,24 @@
+<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
+ <channel>
+ <title>{{ if eq .Title .Site.Title }}{{ .Site.Title }}{{ else }}{{ with .Title }}{{.}} on {{ end }}{{ .Site.Title }}{{ end }}</title>
+ <link>{{ .Permalink }}</link>
+ <description>Recent blogs {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }}</description>
+ <generator>Hugo -- gohugo.io</generator>{{ with .Site.LanguageCode }}
+ <language>{{.}}</language>{{end}}{{ with .Site.Author.email }}
+ <managingEditor>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</managingEditor>{{end}}{{ with .Site.Author.email }}
+ <webMaster>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</webMaster>{{end}}{{ with .Site.Copyright }}
+ <copyright>{{.}}</copyright>{{end}}{{ if not .Date.IsZero }}
+ <lastBuildDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</lastBuildDate>{{ end }}
+ <atom:link href="{{ .Permalink }}" rel="self" type="application/rss+xml" />
+ {{ range .Data.Pages }}
+ <item>
+ <title>{{ .Title }}</title>
+ <link>{{ .Permalink }}</link>
+ <pubDate>{{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}</pubDate>
+ {{ with .Site.Author.email }}<author>{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}</author>{{end}}
+ <guid>{{ .Permalink }}</guid>
+ <description>{{ .Summary | htmlEscape }}</description>
+ </item>
+ {{ end }}
+ </channel>
+</rss> \ No newline at end of file