<!DOCTYPE html>
<html>
<head>
- <!--<link rel="stylesheet" href="phorkie.css" />-->
+ <link rel="stylesheet" href="phorkie.css" />
<title>{% block title %}{% endblock %} - Phorkie</title>
</head>
<body>
</ul>
{% for file in repo.getFiles %}
<div>
- <h2>{{file.getFilename}}</h2>
+ <h2 id="{{file.getFilename}}">{{file.getFilename}}<a class="anchorlink" href="#{{file.getFilename}}"></a></h2>
<p>
<a href="{{file.getLink('raw')}}">raw</a>
</p>
--- /dev/null
+/* show IDs for anchors */
+h1[id]:hover a.anchorlink:before,
+h2[id]:hover a.anchorlink:before,
+h3[id]:hover a.anchorlink:before,
+h4[id]:hover a.anchorlink:before,
+h5[id]:hover a.anchorlink:before,
+h6[id]:hover a.anchorlink:before {
+ content: "\00B6";/* pilcrow */
+ color: #888;
+ font-size: smaller;
+}
+a.anchorlink {
+ text-decoration: none;
+ margin-left: 0.5em;
+ font-size: smaller;
+}