better link anchors

This commit is contained in:
ston1th 2016-11-20 02:14:46 +01:00
commit 1d5dd87230
8 changed files with 26 additions and 13 deletions

View file

@ -8,7 +8,7 @@
<ul type="circle">
{{if .Data}}
{{range $item := .Data}}
<li><h5><a href="/wiki/{{$item.LinkTitle}}">{{$item.Title}}</a></h5></li>
<li><a href="/wiki/{{$item.LinkTitle}}"><b>{{$item.Title}}</b></a></li>
{{end}}
{{end}}
</ul>

View file

@ -37,6 +37,10 @@ a.para {
}
h1,h2,h3,h4,h5,h6 {
font-weight: bold;
padding-top: 60px !important;
margin-top: -50px !important;
-webkit-background-clip: content-box !important;
background-clip: content-box !important;
}
h1 {
font-size: 2em;

View file

@ -3,7 +3,7 @@
<head>
<title>GoWiki | {{.Title}}</title>
<link rel="stylesheet" type="text/css" href="/bootstrap.css" mdeia="screen" integrity="sha256-KC5lAzGRWwscU0sTmXtd8ka5mt7Vk8a0L5JqOhwA28s="></link>
<link rel="stylesheet" type="text/css" href="/custom.css" integrity="sha256-s5f4HosKrvdPfxqPtKG5e6/T9h+NFZ8kBnCXArk83zw="></link>
<link rel="stylesheet" type="text/css" href="/custom.css" integrity="sha256-uAIARpL4VhLyhfuh5bS4YWjdcAvN+KjjTli9S8Ud8O4="></link>
</head>
<body style="padding-top:50px">
<div class="navbar navbar-default navbar-fixed-top">