From c017fa43030894eddf35226405489fe47d8fe5e6 Mon Sep 17 00:00:00 2001 From: jk Date: Fri, 12 Jun 2020 13:11:57 +0100 Subject: [PATCH] adding json stuff for bridgy --- content/article/airigh-notes-on-lesson-1/index.md | 4 ++-- themes/nipponalba/layouts/_default/single.html | 11 ++++++++++- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/content/article/airigh-notes-on-lesson-1/index.md b/content/article/airigh-notes-on-lesson-1/index.md index 15cd006c..27df4470 100644 --- a/content/article/airigh-notes-on-lesson-1/index.md +++ b/content/article/airigh-notes-on-lesson-1/index.md @@ -10,11 +10,11 @@ tag: - "term1" - "week1" Type: ["article"] -summary: "The inaugural class of Autumn 2014’s the OLL (Office of Lifelong Learning) Gaelic 1.1 course wasn’t just a matter of repeating “parrot-like” t phrases, grammar points and vocabulary. Our tutor also gave us some interesting side notes and information about the Gaelic speaking communities, history of certain words and various other interesting snippets to keep us entertained." +summary: "The inaugural class of Autumn 2014’s the OLL (Office of Lifelong Learning) Gaelic 1.1 course wasn’t just a matter of repeating “parrot-like” set phrases, grammar points and vocabulary. Our tutor also gave us some interesting side notes and information about the Gaelic speaking communities, history of certain words and various other interesting snippets to keep us entertained." draft: false image: ["/images/IMAG0613_1-edited.jpg"] --- -The inaugural class of Autumn 2014’s the OLL (Office of Lifelong Learning) Gaelic 1.1 course wasn’t just a matter of repeating “parrot-like” t phrases, grammar points and vocabulary. Our tutor also gave us some interesting side notes and information about the Gaelic speaking communities, history of certain words and various other interesting snippets to keep us entertained. +The inaugural class of Autumn 2014’s the OLL (Office of Lifelong Learning) Gaelic 1.1 course wasn’t just a matter of repeating “parrot-like” set phrases, grammar points and vocabulary. Our tutor also gave us some interesting side notes and information about the Gaelic speaking communities, history of certain words and various other interesting snippets to keep us entertained. We learned about _àirigh_ which is Gaelic for sheiling (bothy) which is a one build small house, normally just one room without modern conveniences such as toilets. During Summer the cattle would move for better grazing and the crofters would follow with their families and where the cattle stopped was where the _àirigh_ would be. Families would spend about 6 or 7 weeks during the Summer in their sheilings, often without properly washing, which was great for kids.. not so good for teenagers. Nowadays the bothies can often be found a few miles away from Stornoway and in some cases they’ve turned into drinking dens for tho who have been banned from the Island’s few pubs! diff --git a/themes/nipponalba/layouts/_default/single.html b/themes/nipponalba/layouts/_default/single.html index a2771b35..30e93893 100644 --- a/themes/nipponalba/layouts/_default/single.html +++ b/themes/nipponalba/layouts/_default/single.html @@ -21,7 +21,7 @@ {{end}} {{ if eq .Type "article" }} +

{{ end }} @@ -32,6 +32,14 @@ {{ with .Page.Params.category }}{{ partial "taxonomy/categories.html" . }}{{ end }} {{ with .Page.Params.tag }}{{ partial "taxonomy/tags.html" . }}{{ end }} + {{ $pathJSON := (print .Permalink "bridgy.json") }} + {{ $relpathJSON := (print .RelPermalink "bridgy.json") }} + {{ if fileExists $relpathJSON }} +
+ {{ $mJSON := getJSON $pathJSON }} + Syndicated to Pleroma. +
+ {{ end }} {{ if eq .Type "article"}} @@ -42,6 +50,7 @@ {{- end }} {{ end }} + {{ else }}