From d51d83081412c815df0caf452349c0acf883b4fc Mon Sep 17 00:00:00 2001 From: Dave Brophy Date: Thu, 4 Apr 2019 10:13:04 +0400 Subject: [PATCH] ... --- .forestry/front_matter/templates/article.yml | 4 +++- .../great-himalaya-trail/updates.en.md | 21 +++++++++++++++++++ layouts/index.html | 2 +- layouts/shortcodes/tweets.html | 4 ++++ 4 files changed, 29 insertions(+), 2 deletions(-) create mode 100644 content/expeditions/great-himalaya-trail/updates.en.md create mode 100644 layouts/shortcodes/tweets.html diff --git a/.forestry/front_matter/templates/article.yml b/.forestry/front_matter/templates/article.yml index b848aafe..f950d206 100644 --- a/.forestry/front_matter/templates/article.yml +++ b/.forestry/front_matter/templates/article.yml @@ -183,4 +183,6 @@ pages: - content/expeditions/great-himalaya-trail/mountaineering-sherpani-col.fr.md - content/expeditions/great-himalaya-trail/mountaineering-tashi-labsta-la.fr.md - content/expeditions/great-himalaya-trail/mountaineering-tilmans-pass.fr.md -- content/expeditions/great-himalaya-trail/mountaineering-west-col.fr.md \ No newline at end of file +- content/expeditions/great-himalaya-trail/mountaineering-west-col.fr.md +- content/expeditions/great-himalaya-trail/models.en.md +- content/expeditions/great-himalaya-trail/models.fr.md \ No newline at end of file diff --git a/content/expeditions/great-himalaya-trail/updates.en.md b/content/expeditions/great-himalaya-trail/updates.en.md new file mode 100644 index 00000000..018774ad --- /dev/null +++ b/content/expeditions/great-himalaya-trail/updates.en.md @@ -0,0 +1,21 @@ +--- +type: report +date: 2019-04-10 10:00:00 +0000 +publishDate: 2019-03-20 00:00:00 +0000 +slug: updates +translationKey: updates +title: Updates +description: We'll be posting regular updates from the trail. +image: "/v1554135436/twitter.jpg" +keywords: [] +author: dave +featured: false +social_posts: true +social_date: 2019-04-09 10:00:00 +0000 +hashtags: "#Updates" +title_has_context: false +--- + +Our satellite communicator will allow us to tweet from the trail. Here's our twitter feed: + +{{% tweets %}} diff --git a/layouts/index.html b/layouts/index.html index fd12d2ba..040a0ae9 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -14,7 +14,7 @@ {{/* if and $highlight (eq $paginator.PageNumber 1) }} {{ partial "posts/featured.html" (dict "firstpost" $first "Site" .Site "context" true) }} {{ end */}} - + {{ if and $featured (eq $paginator.PageNumber 1) }} {{ partial "posts/featured.html" (dict "firstpost" $featured "Site" .Site "context" true) }} {{ end }} diff --git a/layouts/shortcodes/tweets.html b/layouts/shortcodes/tweets.html new file mode 100644 index 00000000..fd5ea279 --- /dev/null +++ b/layouts/shortcodes/tweets.html @@ -0,0 +1,4 @@ +Updates + \ No newline at end of file