Corrects feed link placement
This commit is contained in:
parent
9eb1dd7b3f
commit
957c87d70c
@ -1 +1 @@
|
||||
<header><h1><a href="{{blog_url}}">{{title}}</a></h1><link rel="alternate" type="application/atom+xml" title="{{title}} feed" href="/feed.atom" /></header>
|
||||
<header><h1><a href="{{blog_url}}">{{title}}</a></h1></header>
|
||||
|
@ -4,6 +4,7 @@ let to_string tyxml = Format.asprintf "%a" (Tyxml.Html.pp ()) tyxml
|
||||
let head ?(style="/static/main.css") t =
|
||||
head (title (pcdata t)) [
|
||||
link ~rel:[`Stylesheet] ~href:style ();
|
||||
link ~rel:[`Alternate] ~href:"/feed.atom" ~a:[a_mime_type "application/atom+xml"] ();
|
||||
meta ~a:[a_charset "utf-8"] ();
|
||||
]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user