diff options
author | Mike Gerwitz <mike@mikegerwitz.com> | 2013-05-20 06:36:18 -0400 |
---|---|---|
committer | Mike Gerwitz <mike@mikegerwitz.com> | 2013-05-21 17:23:10 -0400 |
commit | 731a4d4a0c17cff0e67734ad322f28549c09512e (patch) | |
tree | ff9f0e8d4e2d53e483a496391a66353d97105633 | |
parent | 854cf280c21603975e011123cc09ea3284b5c3dc (diff) | |
download | thoughts-731a4d4a0c17cff0e67734ad322f28549c09512e.tar.gz thoughts-731a4d4a0c17cff0e67734ad322f28549c09512e.tar.bz2 thoughts-731a4d4a0c17cff0e67734ad322f28549c09512e.zip |
Added external "self" links to the index page
-rw-r--r-- | images/fsf-42.png | bin | 0 -> 1638 bytes | |||
-rw-r--r-- | images/github-42.png | bin | 0 -> 969 bytes | |||
-rw-r--r-- | images/gitorious-42.png | bin | 0 -> 6441 bytes | |||
-rw-r--r-- | style.css | 8 | ||||
-rw-r--r-- | tpl/.config | 38 |
5 files changed, 43 insertions, 3 deletions
diff --git a/images/fsf-42.png b/images/fsf-42.png Binary files differnew file mode 100644 index 0000000..379d464 --- /dev/null +++ b/images/fsf-42.png diff --git a/images/github-42.png b/images/github-42.png Binary files differnew file mode 100644 index 0000000..d9c1099 --- /dev/null +++ b/images/github-42.png diff --git a/images/gitorious-42.png b/images/gitorious-42.png Binary files differnew file mode 100644 index 0000000..e0c3681 --- /dev/null +++ b/images/gitorious-42.png @@ -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; diff --git a/tpl/.config b/tpl/.config index d76678f..ef75637 100644 --- a/tpl/.config +++ b/tpl/.config @@ -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 +) |