1
0
Fork 0

Templates now enclose content in a content div

Useful for styling
tpl
Mike Gerwitz 2013-05-30 21:25:16 -04:00
parent 111980f233
commit 1d4c1a1d18
2 changed files with 5 additions and 1 deletions

View File

@ -45,7 +45,9 @@ cat <<EOF
<h2 class="date">$year-$month-$day</h2> <h2 class="date">$year-$month-$day</h2>
</header> </header>
$( cat ) <div class="content">
$( cat )
</div>
<footer> <footer>
<p> <p>

View File

@ -60,6 +60,7 @@ cat <<EOH
<h2 class="desc">$desc</h2> <h2 class="desc">$desc</h2>
</header> </header>
$html_pre_index $html_pre_index
<div class="content">
EOH EOH
# generate index and populate statistical vars # generate index and populate statistical vars
@ -75,6 +76,7 @@ type do-index &>/dev/null \
} }
cat <<EOF cat <<EOF
</div>
<footer> <footer>
<div id="rss"><a href="rss.xml">RSS</a></div> <div id="rss"><a href="rss.xml">RSS</a></div>
<hr /> <hr />