Commit 92f777bf authored by Jamie Tanna's avatar Jamie Tanna

Hugo-ify Blogroll

Add the `partial` shortcode, via steps in
https://gohugohq.com/partials/shortcode-embedding-partials-from-content-markdown-files/

Can easily be done using the `getJSON` function.
parent e39302b2
---
layout: page
title: Blogroll
---
If you like some of my blog posts, I'd recommend reading some of the following blogs, which I read regularly:
<ul>
{% for blog in site.data.blogroll.data %}
<li>
<a href="{{ blog.url }}">{{ blog.url }}</a>
</li>
{% endfor %}
</ul>
{{< partial "blogroll.md" >}}
I'll update this page as-and-when I find new content that I like to read and want to share. I may also look at creating a curated RSS feed for the above blogs for easier consumption.
{{ $blogroll := getJSON "https://blogroll.jvt.me/blogs/index.json" }}
<ul>
{{ range $blogroll.data }}
<li>
<a href="{{ .url }}">{{ .url }}</a>
</li>
{{ end }}
</ul>
{{ partial (.Get 0) }}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment