Skip to content
Snippets Groups Projects
Commit 907252fa authored by Martin Garbe's avatar Martin Garbe
Browse files

load dynamic rss content from external .md file

On a regular basis the RSS content has to updated in hugo blog fragement.
We keep this rss content in a file which is loaded when generating webpages.
The file with RSS content will be ignored via .gitignore
parent 651c88e5
Branches
No related tags found
No related merge requests found
public/
resources/_gen/
content/posts/oni-rss-post.md
......@@ -19,8 +19,4 @@ title = "Unsere Neuigkeiten auf stadtgestalten.org"
Neuesten Blogeinträge:
* <a href="https://stadtgestalten.org/opennet/opennet-montagstreffen-23112020/">Opennet Montagstreffen (23.11.2020) </a>
* <a href="https://stadtgestalten.org/opennet/rostock-hat-wieder-ein-lorawan-gateway/"> Rostock hat wieder ein LoRaWAN-Gateway </a>
* <a href="https://stadtgestalten.org/opennet/opennet-montagstreffen-am-09112020/"> Opennet Montagstreffen am 09.11.2020 </a>
* <a href="https://stadtgestalten.org/opennet/opennet-montagstreffen-am-26102020/"> Opennet Montagstreffen am 26.10.2020 </a>
{{< grabpage "posts/oni-rss-post.md" >}}
{{ $file := .Get 0 }}
{{ with .Site.GetPage $file }}{{.Content}}{{end}}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment