Permalink
Browse files

Add JSON feed - cribbed from https://rumproarious.com/2017/05/17/json…

  • Loading branch information...
mattfoster committed May 27, 2017
1 parent e4200c3 commit 1320cdda492a9b478cb83bee2b23b1931a72e76a
Showing with 7 additions and 0 deletions.
  1. +3 −0 config.toml
  2. +4 −0 themes/hyde-mpf/layouts/partials/base/metas.html
@@ -38,6 +38,9 @@ enableEmoji = true
name = "Matt Foster"
email = "mpf@hackerific.net"
[outputs]
home = [ "HTML", "JSON", "RSS"]
#
# All parameters below here are optional and can be mixed and matched.
#
@@ -69,6 +69,10 @@
{{ end }}
<link rel="canonical" href="{{ .Permalink }}" />
{{ range .AlternativeOutputFormats -}}
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
{{ end -}}
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ "/touch-icon-144-precomposed.png" | absURL }}">
<link href="{{ "/favicon.png" | absURL }}" rel="icon">

0 comments on commit 1320cdd

Please sign in to comment.