morpheus-site

morpheus.2f30.org website
git clone git://git.2f30.org/morpheus-site
Log | Files | Refs | README | LICENSE

commit 3bea7860b57e0e3eed508bf48bacea4ad8c05d0a
parent 77d294ab2464421566f4105e69c59ef308df1915
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Sun, 15 Dec 2013 17:12:19 +0100

add mobile viewport and dynamic site title for rss/atom

Signed-off-by: Hiltjo Posthuma <hiltjo@codemadness.org>

Diffstat:
Mlayout/index/index.sh | 5+++--
Mlayout/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="screen" /> <link rel="stylesheet" href="print.css" type="text/css" media="print" /> - <link rel="alternate" type="application/rss+xml" title="Codemadness RSS Feed" href="rss.xml" /> - <link rel="alternate" type="application/atom+xml" title="Codemadness Atom Feed" href="atom.xml" /> + <link rel="alternate" type="application/rss+xml" title="${sitetitle} RSS Feed" href="rss.xml" /> + <link rel="alternate" type="application/atom+xml" title="${sitetitle} Atom Feed" href="atom.xml" /> <link rel="icon" type="image/png" href="/favicon.png" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <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="screen" /> <link rel="stylesheet" href="print.css" type="text/css" media="print" /> - <link rel="alternate" type="application/rss+xml" title="Codemadness RSS Feed" href="rss.xml" /> - <link rel="alternate" type="application/atom+xml" title="Codemadness Atom Feed" href="atom.xml" /> + <link rel="alternate" type="application/rss+xml" title="${sitetitle} RSS Feed" href="rss.xml" /> + <link rel="alternate" type="application/atom+xml" title="${sitetitle} Atom Feed" href="atom.xml" /> <link rel="icon" type="image/png" href="/favicon.png" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <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>