Introduction
Introduction Statistics Contact Development Disclaimer Help
fixed some title generations - swerc - anselm's simpler werc fork
git clone git://git.suckless.org/swerc
Log
Files
Refs
README
---
commit 0e4a279923960bc6088f890d191d62ac9e32da64
parent 90f762ab598ba27d009e8ce660c009bcd05af514
Author: [email protected] <unknown>
Date: Sat, 24 Mar 2012 16:12:42 +0100
fixed some title generations
Diffstat:
M bin/werc.rc | 4 ++--
M pub/style.css | 3 ++-
M tpl/master.tpl | 2 +-
3 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/bin/werc.rc b/bin/werc.rc
@@ -102,9 +102,9 @@ fn werc_exec_request {
# XXX Is this never true? because we set pageTitle earlier based on url.
if(~ $"pageTitle '')
- pageTitle=$"siteTitle' '$"siteSubTitle
+ pageTitle=$"siteTitle' '$"siteSubtitle
if not
- pageTitle=$"pageTitle' | '$"siteTitle' '$"siteSubTitle
+ pageTitle=$"pageTitle' | '$"siteTitle' '$"siteSubtitle
for(h in $extraHttpHeaders)
echo $h
diff --git a/pub/style.css b/pub/style.css
@@ -34,6 +34,7 @@ a:hover {
#menu a.thisSite {
font-weight: bold;
+ font-style: italic;
}
#header {
@@ -69,7 +70,7 @@ h4 {
font-size: 1.1em;
}
-#headerSubTitle {
+#headerSubtitle {
font-size: 0.75em;
font-style: italic;
margin-left: 1em;
diff --git a/tpl/master.tpl b/tpl/master.tpl
@@ -7,7 +7,7 @@
</head>
<body>
<div id="header">
- <a href="http://suckless.org/">suckless.org</a> <span id="head…
+ <a href="/">%($"siteTitle%)</a> <span id="headerSubtitle">%($"…
</div>
<div id="menu">
You are viewing proxied material from suckless.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.