summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-09-08 04:14:02 -0400
committerAndrew Cady <d@jerkface.net>2020-09-08 04:14:02 -0400
commita8b5769638adf5997c7862ee713b79a402acfbc3 (patch)
treef6e01472a65e11dd3791532b6d0f1bd5726809f4
parentf2e89449c878d4f07df6abf6a0e7ee929636333e (diff)
include domain in html title
-rw-r--r--selfpublish.sh44
1 files changed, 27 insertions, 17 deletions
diff --git a/selfpublish.sh b/selfpublish.sh
index bbcb164..1f618da 100644
--- a/selfpublish.sh
+++ b/selfpublish.sh
@@ -177,7 +177,7 @@ cat <<END
177 177
178 IndexOrderDefault Descending Date 178 IndexOrderDefault Descending Date
179 IndexOptions +IgnoreCase FancyIndexing 179 IndexOptions +IgnoreCase FancyIndexing
180 IndexOptions +HTMLTable SuppressDescription 180 IndexOptions +HTMLTable SuppressDescription SuppressHTMLPreamble
181 IndexStyleSheet /css/autoindex.css 181 IndexStyleSheet /css/autoindex.css
182 IndexIgnore /unindexed /HEADER.html /css /images 182 IndexIgnore /unindexed /HEADER.html /css /images
183 183
@@ -270,23 +270,33 @@ configure_apache_vhost()
270install_header_to_site() 270install_header_to_site()
271{ 271{
272 cat > "$SITE_DIR"/public_html/HEADER.html <<EOF 272 cat > "$SITE_DIR"/public_html/HEADER.html <<EOF
273<style type=text/css> 273<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
274td { padding: 10px; } 274<html>
275td.cmds {border: 1px solid;} 275 <head>
276 276 <title>
277#toggle_expand[type="checkbox"]:checked ~ * .expand {display: "";} 277 selfpublish.sh at <!--#echo var="SERVER_NAME" -->
278#toggle_expand[type="checkbox"]:not(:checked) ~ * .expand {display: none;} 278 </title>
279 279 <link rel="stylesheet" href="/css/autoindex.css" type="text/css">
280#main { 280
281 text-align:left; 281 <style type=text/css>
282 margin-top: 10%; 282 td { padding: 10px; }
283 margin-bottom: 10%; 283 td.cmds {border: 1px solid;}
284 font-size: 15px; 284
285 line-height: 2em; 285 #toggle_expand[type="checkbox"]:checked ~ * .expand {display: "";}
286 border-spacing: 10px; 286 #toggle_expand[type="checkbox"]:not(:checked) ~ * .expand {display: none;}
287} 287
288 #main {
289 text-align:left;
290 margin-top: 10%;
291 margin-bottom: 10%;
292 font-size: 15px;
293 line-height: 2em;
294 border-spacing: 10px;
295 }
296 </style>
297</head>
298<body>
288 299
289</style>
290<input type=checkbox id=toggle_expand name=toggle_expand style='visibility: hidden' /> 300<input type=checkbox id=toggle_expand name=toggle_expand style='visibility: hidden' />
291<table id=main> 301<table id=main>
292 <tr> 302 <tr>