about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--_layout/hair.html7
-rw-r--r--_layout/head.html6
-rw-r--r--_layout/tag.html7
3 files changed, 9 insertions, 11 deletions
diff --git a/_layout/hair.html b/_layout/hair.html
new file mode 100644
index 0000000..352e740
--- /dev/null
+++ b/_layout/hair.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html lang=en>
+<meta charset=UTF-8 name=viewport content='width=device-width, initial-scale=1'>
+<link rel=alternate type=application/rss+xml href=https://cnx.srht.site/feed.xml
+      title='{{website_title}}'>
+<link rel=icon href=/assets/favicon.png>
+<link rel=stylesheet href=/css/style.css>
diff --git a/_layout/head.html b/_layout/head.html
index 9c0eac5..4b4ca29 100644
--- a/_layout/head.html
+++ b/_layout/head.html
@@ -1,8 +1,4 @@
-<!doctype html>
-<html lang=en>
-<meta charset=UTF-8 name=viewport content='width=device-width, initial-scale=1'>
-<link rel=icon href=/assets/favicon.png>
-<link rel=stylesheet href=/css/style.css>
+{{insert hair.html}}
 {{if hasmath}}<link rel=stylesheet href=/css/katex.min.css>{{end}}
 {{isdef title}}<title>{{title}} - McSinyx</title>{{end}}
 <body>
diff --git a/_layout/tag.html b/_layout/tag.html
index 2ac2eea..a9de4ae 100644
--- a/_layout/tag.html
+++ b/_layout/tag.html
@@ -1,9 +1,4 @@
-<!doctype html>
-<html lang=en>
-<meta charset=UTF-8>
-<meta name=viewport content='width=device-width, initial-scale=1'>
-<link rel=icon href=/assets/favicon.png>
-<link rel=stylesheet href=/css/style.css>
+{{insert hair.html}}
 <title>Tag: {{fd_tag}}</title>
 <body>
 {{insert header.html}}