add mobile viewport and dynamic site title for rss/atom - static-site-scripts -… | |
git clone git://git.codemadness.org/static-site-scripts | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 3bea7860b57e0e3eed508bf48bacea4ad8c05d0a | |
parent 77d294ab2464421566f4105e69c59ef308df1915 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Sun, 15 Dec 2013 17:12:19 +0100 | |
add mobile viewport and dynamic site title for rss/atom | |
Signed-off-by: Hiltjo Posthuma <[email protected]> | |
Diffstat: | |
M layout/index/index.sh | 5 +++-- | |
M layout/page/page.sh | 5 +++-- | |
2 files changed, 6 insertions(+), 4 deletions(-) | |
--- | |
diff --git a/layout/index/index.sh b/layout/index/index.sh | |
@@ -14,11 +14,12 @@ cat <<!__EOF__ | |
<title>${pagetitle}</title> | |
<link rel="stylesheet" href="style.css" type="text/css" media=… | |
<link rel="stylesheet" href="print.css" type="text/css" media=… | |
- <link rel="alternate" type="application/rss+xml" title="Codema… | |
- <link rel="alternate" type="application/atom+xml" title="Codem… | |
+ <link rel="alternate" type="application/rss+xml" title="${site… | |
+ <link rel="alternate" type="application/atom+xml" title="${sit… | |
<link rel="icon" type="image/png" href="/favicon.png" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=UT… | |
<meta http-equiv="Content-Language" content="en" /> | |
+ <meta content="width=device-width" name="viewport" /> | |
<meta content="${keywords}" name="keywords" /> | |
<meta content="${description}" name="description" /> | |
</head> | |
diff --git a/layout/page/page.sh b/layout/page/page.sh | |
@@ -14,11 +14,12 @@ cat <<!__EOF__ | |
<title>${pagetitle}</title> | |
<link rel="stylesheet" href="style.css" type="text/css" media=… | |
<link rel="stylesheet" href="print.css" type="text/css" media=… | |
- <link rel="alternate" type="application/rss+xml" title="Codema… | |
- <link rel="alternate" type="application/atom+xml" title="Codem… | |
+ <link rel="alternate" type="application/rss+xml" title="${site… | |
+ <link rel="alternate" type="application/atom+xml" title="${sit… | |
<link rel="icon" type="image/png" href="/favicon.png" /> | |
<meta http-equiv="Content-Type" content="text/html; charset=UT… | |
<meta http-equiv="Content-Language" content="en" /> | |
+ <meta content="width=device-width" name="viewport" /> | |
<meta content="${keywords}" name="keywords" /> | |
<meta content="${description}" name="description" /> | |
</head> |