diff options
author | Case Duckworth | 2015-04-14 18:58:37 -0700 |
---|---|---|
committer | Case Duckworth | 2015-04-14 18:58:37 -0700 |
commit | f01d9d5a973008ed0dde2ef65e5ef2f958e1f442 (patch) | |
tree | 2c34d1f5af9d7845cade7318096479729c5682e1 | |
parent | Fix directory listing in style.css (diff) | |
download | autocento-f01d9d5a973008ed0dde2ef65e5ef2f958e1f442.tar.gz autocento-f01d9d5a973008ed0dde2ef65e5ef2f958e1f442.zip |
Fix backlinks compilation and index randomizelink
-rw-r--r-- | backlinks/lappel-du-vide.html | 4 | ||||
-rw-r--r-- | backlinks/music-433.html | 4 | ||||
-rw-r--r-- | backlinks/toilet.html | 4 | ||||
-rw-r--r-- | index.html | 6 | ||||
-rw-r--r-- | scripts/compile.sh | 6 |
5 files changed, 13 insertions, 11 deletions
diff --git a/backlinks/lappel-du-vide.html b/backlinks/lappel-du-vide.html index 9e58b43..e92e659 100644 --- a/backlinks/lappel-du-vide.html +++ b/backlinks/lappel-du-vide.html | |||
@@ -9,7 +9,7 @@ | |||
9 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> | 9 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> |
10 | <meta name="author" content="Case Duckworth"> | 10 | <meta name="author" content="Case Duckworth"> |
11 | 11 | ||
12 | <title><strong>TITLE</strong> | Autocento of the breakfast table</title> | 12 | <title>L’appel du vide | Autocento of the breakfast table</title> |
13 | <link rel="icon" type="image/png" href="../trunk/favico.png" /> | 13 | <link rel="icon" type="image/png" href="../trunk/favico.png" /> |
14 | 14 | ||
15 | <link rel="stylesheet" type="text/css" href="../trunk/style.css"> | 15 | <link rel="stylesheet" type="text/css" href="../trunk/style.css"> |
@@ -26,7 +26,7 @@ | |||
26 | <article class="container"> | 26 | <article class="container"> |
27 | <header> | 27 | <header> |
28 | <!-- title --> | 28 | <!-- title --> |
29 | <h1 class="title"><strong>TITLE</strong></h1> | 29 | <h1 class="title">L’appel du vide</h1> |
30 | <h1 class="subtitle">backlinks</h1> | 30 | <h1 class="subtitle">backlinks</h1> |
31 | 31 | ||
32 | <div class="header-extra"> | 32 | <div class="header-extra"> |
diff --git a/backlinks/music-433.html b/backlinks/music-433.html index c2c5379..3508878 100644 --- a/backlinks/music-433.html +++ b/backlinks/music-433.html | |||
@@ -9,7 +9,7 @@ | |||
9 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> | 9 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> |
10 | <meta name="author" content="Case Duckworth"> | 10 | <meta name="author" content="Case Duckworth"> |
11 | 11 | ||
12 | <title>Something about all music being performances of _4__TITLE__prime;33__TITLE_<em>Prime;</em> in places where other bands happen to be playing | Autocento of the breakfast table</title> | 12 | <title>Something about all music being performances of <em>4′33″</em> in places where other bands happen to be playing | Autocento of the breakfast table</title> |
13 | <link rel="icon" type="image/png" href="../trunk/favico.png" /> | 13 | <link rel="icon" type="image/png" href="../trunk/favico.png" /> |
14 | 14 | ||
15 | <link rel="stylesheet" type="text/css" href="../trunk/style.css"> | 15 | <link rel="stylesheet" type="text/css" href="../trunk/style.css"> |
@@ -26,7 +26,7 @@ | |||
26 | <article class="container"> | 26 | <article class="container"> |
27 | <header> | 27 | <header> |
28 | <!-- title --> | 28 | <!-- title --> |
29 | <h1 class="title">Something about all music being performances of _4__TITLE__prime;33__TITLE_<em>Prime;</em> in places where other bands happen to be playing</h1> | 29 | <h1 class="title">Something about all music being performances of <em>4′33″</em> in places where other bands happen to be playing</h1> |
30 | <h1 class="subtitle">backlinks</h1> | 30 | <h1 class="subtitle">backlinks</h1> |
31 | 31 | ||
32 | <div class="header-extra"> | 32 | <div class="header-extra"> |
diff --git a/backlinks/toilet.html b/backlinks/toilet.html index 387ba40..4c87ea4 100644 --- a/backlinks/toilet.html +++ b/backlinks/toilet.html | |||
@@ -9,7 +9,7 @@ | |||
9 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> | 9 | <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes"> |
10 | <meta name="author" content="Case Duckworth"> | 10 | <meta name="author" content="Case Duckworth"> |
11 | 11 | ||
12 | <title><strong>TITLE</strong> | Autocento of the breakfast table</title> | 12 | <title>Toilet | Autocento of the breakfast table</title> |
13 | <link rel="icon" type="image/png" href="../trunk/favico.png" /> | 13 | <link rel="icon" type="image/png" href="../trunk/favico.png" /> |
14 | 14 | ||
15 | <link rel="stylesheet" type="text/css" href="../trunk/style.css"> | 15 | <link rel="stylesheet" type="text/css" href="../trunk/style.css"> |
@@ -26,7 +26,7 @@ | |||
26 | <article class="container"> | 26 | <article class="container"> |
27 | <header> | 27 | <header> |
28 | <!-- title --> | 28 | <!-- title --> |
29 | <h1 class="title"><strong>TITLE</strong></h1> | 29 | <h1 class="title">Toilet</h1> |
30 | <h1 class="subtitle">backlinks</h1> | 30 | <h1 class="subtitle">backlinks</h1> |
31 | 31 | ||
32 | <div class="header-extra"> | 32 | <div class="header-extra"> |
diff --git a/index.html b/index.html index 9fbf9aa..4dbde71 100644 --- a/index.html +++ b/index.html | |||
@@ -10,7 +10,7 @@ | |||
10 | <link rel="icon" type="image/png" href="trunk/favico.png" /> | 10 | <link rel="icon" type="image/png" href="trunk/favico.png" /> |
11 | 11 | ||
12 | <link rel="stylesheet" type="text/css" href="trunk/style.css"> | 12 | <link rel="stylesheet" type="text/css" href="trunk/style.css"> |
13 | <script src="trunk/randomize.js" type="text/javascript"> </script> | 13 | <script src="scripts/randomize.js" type="text/javascript"> </script> |
14 | 14 | ||
15 | <script> | 15 | <script> |
16 | function _about() { | 16 | function _about() { |
@@ -20,7 +20,7 @@ | |||
20 | about.setAttribute("href", files[which]); | 20 | about.setAttribute("href", files[which]); |
21 | about.setAttribute("title", "About the author"); | 21 | about.setAttribute("title", "About the author"); |
22 | } | 22 | } |
23 | window.onload = function () { _about(); _randomize() } | 23 | window.onload = function () { _about(); _randomize(); } |
24 | </script> | 24 | </script> |
25 | 25 | ||
26 | <!--[if lt IE 9]> | 26 | <!--[if lt IE 9]> |
@@ -37,7 +37,7 @@ | |||
37 | <h3 class="anchors"> | 37 | <h3 class="anchors"> |
38 | <a href="toc.html" title="Table of Contents">φ</a> | 38 | <a href="toc.html" title="Table of Contents">φ</a> |
39 | <a href="#">◊</a> | 39 | <a href="#">◊</a> |
40 | <a href="#" id="randomlink">ξ</a> | 40 | <a href="#" id="randomizelink">ξ</a> |
41 | </h3> | 41 | </h3> |
42 | </header> | 42 | </header> |
43 | <section class="content"> | 43 | <section class="content"> |
diff --git a/scripts/compile.sh b/scripts/compile.sh index ba89f5a..19cc962 100644 --- a/scripts/compile.sh +++ b/scripts/compile.sh | |||
@@ -75,8 +75,10 @@ case "$FILE" in | |||
75 | --fix-head) # fix backlink head: compile.sh --fix-head a.back a.txt #{{{ | 75 | --fix-head) # fix backlink head: compile.sh --fix-head a.back a.txt #{{{ |
76 | title="$(getMeta toc "$2")"; | 76 | title="$(getMeta toc "$2")"; |
77 | id="$(getMeta id "$2")"; | 77 | id="$(getMeta id "$2")"; |
78 | sed -i "s/__TITLE__/$title/" "$1"; | 78 | sed -i "/__TITLE__/c\ |
79 | sed -i "s/__ID__/$id/" "$1"; | 79 | title: $title" "$1"; |
80 | sed -i "/__ID__/c\ | ||
81 | id: $id" "$1"; | ||
80 | ;; #}}} | 82 | ;; #}}} |
81 | *) # bad argument {{{ | 83 | *) # bad argument {{{ |
82 | echo "Bad argument"; | 84 | echo "Bad argument"; |