marmite 0.4.2

Marmite is the easiest static site generator.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<script type="application/ld+json">
    {
      "@context": "https://schema.org/",
      "@type": "Person",
      "name": "{{author.name}}",
      "url": "{{url_for(path=current_page, abs=True)}}",
      {% if author.avatar -%}
      "image": "{{url_for(path=author.avatar, abs=True)}}",
      {%- endif %}
      "sameAs": [
        {%- if author.links -%}
        {%- for link in author.links -%}
        "{{link[1]}}"{% if not loop.last %},{% endif %}
        {%- endfor -%}
        {%- endif -%}
      ]  
    }
</script>