diff options
author | Case Duckworth | 2015-03-24 22:53:18 -0700 |
---|---|---|
committer | Case Duckworth | 2015-03-24 22:53:18 -0700 |
commit | df0d5f3cb03f8bf7d72e067c0fd7ee54ce4b86eb (patch) | |
tree | 9cb3585e91c71e0d56bff5fb1f0d6c8dc5f8c093 /.template.html | |
parent | Disable Jekyll page rendering (diff) | |
download | autocento-df0d5f3cb03f8bf7d72e067c0fd7ee54ce4b86eb.tar.gz autocento-df0d5f3cb03f8bf7d72e067c0fd7ee54ce4b86eb.zip |
Change template and CSS for flatter structure
- Change CSS to one file - Change template to reflect CSS flattening
Diffstat (limited to '.template.html')
-rw-r--r-- | .template.html | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/.template.html b/.template.html index 952cc41..96ee7b3 100644 --- a/.template.html +++ b/.template.html | |||
@@ -12,18 +12,10 @@ | |||
12 | <title>$title$ | Autocento of the breakfast table</title> | 12 | <title>$title$ | Autocento of the breakfast table</title> |
13 | <link rel="icon" type="image/png" href="img/favico.png" /> | 13 | <link rel="icon" type="image/png" href="img/favico.png" /> |
14 | 14 | ||
15 | <link rel="stylesheet" type="text/css" href="./css/common.css"> | 15 | <link rel="stylesheet" type="text/css" href="style.css"> |
16 | <script src="./js/lozenge.js" type="text/javascript"> </script> | 16 | <script src="./js/lozenge.js" type="text/javascript"> </script> |
17 | <script src="./js/hylo.js" type="text/javascript"> </script> | 17 | <script src="./js/hylo.js" type="text/javascript"> </script> |
18 | 18 | ||
19 | $if(genre)$ | ||
20 | <link rel="stylesheet" type="text/css" href="./css/$genre$.css"> | ||
21 | <script src="./js/$genre$.js" type="text/javascript"> </script> | ||
22 | $endif$ | ||
23 | $if(project.css)$ | ||
24 | <link rel="stylesheet" type="text/css" href="./css/$project.css$.css"> | ||
25 | <script src="./js/$project.css$.js" type="text/javascript"> </script> | ||
26 | $endif$ | ||
27 | <!--[if lt IE 9]> | 19 | <!--[if lt IE 9]> |
28 | <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"> </script> | 20 | <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"> </script> |
29 | <![endif]--> | 21 | <![endif]--> |
@@ -32,10 +24,10 @@ | |||
32 | $headerincludes$ | 24 | $headerincludes$ |
33 | $endfor$ | 25 | $endfor$ |
34 | </head> | 26 | </head> |
35 | <body> | 27 | <body id="$id$"$if(project.class)$ class="$project.class$"$endif$> |
36 | $for(include-before)$ $include-before$ $endfor$ | 28 | $for(include-before)$ $include-before$ $endfor$ |
37 | 29 | ||
38 | <article id="container"> | 30 | <article class="container"> |
39 | <header> | 31 | <header> |
40 | <!-- title --> | 32 | <!-- title --> |
41 | $if(title)$<h1 class="title">$title$</h1>$endif$ | 33 | $if(title)$<h1 class="title">$title$</h1>$endif$ |
@@ -100,7 +92,9 @@ | |||
100 | </div> | 92 | </div> |
101 | $endif$ | 93 | $endif$ |
102 | 94 | ||
103 | <section class="content $genre$">$body$</section> | 95 | <section class="content $genre$"> |
96 | $body$ | ||
97 | </section> | ||
104 | </article> | 98 | </article> |
105 | <nav> | 99 | <nav> |
106 | $for(project.prev)$ | 100 | $for(project.prev)$ |