Fixes #4, point feed links directly to file to avoid web server specific stuff.

This commit is contained in:
Zach Leatherman 2018-01-25 08:23:01 -06:00
parent c028b4782c
commit 72cd498eb4
2 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,8 @@
"url": "https://myurl.com/", "url": "https://myurl.com/",
"feed": { "feed": {
"subtitle": "I am writing about my experiences as a naval navel-gazer.", "subtitle": "I am writing about my experiences as a naval navel-gazer.",
"url": "https://myurl.com/feed/", "path": "feed/atom.xml",
"url": "https://myurl.com/feed/atom.xml",
"id": "https://myurl.com/" "id": "https://myurl.com/"
}, },
"author": { "author": {

View File

@ -6,7 +6,7 @@
<title>{{ title or metadata.title }}</title> <title>{{ title or metadata.title }}</title>
<link rel="stylesheet" href="{{ 'css/index.css' | url }}"> <link rel="stylesheet" href="{{ 'css/index.css' | url }}">
<link rel="stylesheet" href="{{ 'css/prism-base16-monokai.dark.css' | url }}"> <link rel="stylesheet" href="{{ 'css/prism-base16-monokai.dark.css' | url }}">
<link rel="alternate" href="{{ 'feed/' | url }}" type="application/atom+xml" title="{{ title }}"> <link rel="alternate" href="{{ metadata.feed.path | url }}" type="application/atom+xml" title="{{ metadata.title }}">
</head> </head>
<body> <body>
<header> <header>