Added external "self" links to the index page

master
Mike Gerwitz 2013-05-20 06:36:18 -04:00
parent 854cf280c2
commit 731a4d4a0c
5 changed files with 43 additions and 3 deletions

BIN
images/fsf-42.png 100644

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 969 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

View File

@ -66,6 +66,14 @@ footer .commit-id {
font-family: monospace;
}
#selflinks {
position: absolute;
top: 60px;
right: 0px;
width: 42px;
padding: 6px;
}
.bimgs {
float: right;
margin-left: 1em;

View File

@ -4,14 +4,13 @@
html_external_css=/style.css
# additional content in the footer before the copyright
# additional content in the footer before the copyright (the awkward newline
# positions are to prevent spaces in the output)
html_footer=$(cat <<EOM
<a href="/about/inside/" id="gnuinside">
<img src="/images/gnulinuxinside.png" alt="GNU/Linux Inside!" />
</a>
$( # the awkward newline positions are simply to prevent spaces in output
)
<div class="bimgs">
<a href="http://www.fsf.org/register_form?referrer=5804"
><img src="/images/fsf-member.png"
@ -36,3 +35,36 @@ html_footer=$(cat <<EOM
</div>
EOM
)
# index-only footer (we don't want too much spam; the other pages look much
# cleaner without this)
html_index_footer=$(cat <<EOM
<div id="selflinks">
<a href="http://gitorious.org/~mikegerwitz">
<img src="/images/gitorious-42.png"
alt="See me on Gitorious"
title="See me on Gitorious"
width="42" height="42" border="0"
/>
</a>
<a href="http://github.com/mikegerwitz">
<img src="/images/github-42.png"
alt="See me on GitHub"
title="See me on GitHub"
width="42" height="42" border="0"
/>
</a>
<a href="http://www.fsf.org/register_form?referrer=5804">
<img src="/images/fsf-42.png"
alt="FSF Member #5804"
title="FSF Member #5804"
width="42" height="42" border="0"
/>
</a>
</div>
EOM
)