mirror of
https://github.com/Noettore/cocoa-eh-hugo-theme.git
synced 2025-10-15 03:36:41 +02:00
Fix footnotes and anchor href
This commit is contained in:
@@ -13,7 +13,7 @@ best: true
|
|||||||
|
|
||||||
**This theme includes a tranparent way to defer images. This can be enabled/disabled in the `config.toml`.**
|
**This theme includes a tranparent way to defer images. This can be enabled/disabled in the `config.toml`.**
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
**You will just have to do two images : the normal, and a low resolution one.**
|
**You will just have to do two images : the normal, and a low resolution one.**
|
||||||
|
|
||||||
|
@@ -1,6 +1,5 @@
|
|||||||
<head>
|
<head>
|
||||||
{{ partial "meta.html" . }}
|
{{ partial "meta.html" . }}
|
||||||
<base href="{{ .Site.BaseURL }}">
|
|
||||||
<title>
|
<title>
|
||||||
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
|
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
|
||||||
{{ if eq $url "" }}
|
{{ if eq $url "" }}
|
||||||
|
@@ -22,7 +22,7 @@
|
|||||||
{{ range .Site.Sections }}
|
{{ range .Site.Sections }}
|
||||||
{{ range first 1 (where .Pages "Section" "ne" "")}}
|
{{ range first 1 (where .Pages "Section" "ne" "")}}
|
||||||
{{ if ne .Section "blog"}}
|
{{ if ne .Section "blog"}}
|
||||||
<a href="{{ .Section | urlize }}"><li>{{ .Section }}</li></a>
|
<a href="{{ .Section | urlize | absURL }}"><li>{{ .Section }}</li></a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
@@ -119,7 +119,7 @@ html, body, div, span, applet, object, iframe,
|
|||||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||||
a, abbr, acronym, address, big, cite, code,
|
a, abbr, acronym, address, big, cite, code,
|
||||||
del, dfn, em, img, ins, kbd, q, s, samp,
|
del, dfn, em, img, ins, kbd, q, s, samp,
|
||||||
small, strike, strong, sub, sup, tt, var,
|
small, strike, strong, sub, tt, var,
|
||||||
b, u, i, center,
|
b, u, i, center,
|
||||||
dl, dt, dd, ol, ul, li,
|
dl, dt, dd, ol, ul, li,
|
||||||
fieldset, form, label, legend,
|
fieldset, form, label, legend,
|
||||||
@@ -871,3 +871,13 @@ section.main .content .markdown tbody tr:nth-child(odd) td,
|
|||||||
section.main .content .markdown tbody tr:nth-child(odd) th {
|
section.main .content .markdown tbody tr:nth-child(odd) th {
|
||||||
background-color: #f7f7f7;
|
background-color: #f7f7f7;
|
||||||
}
|
}
|
||||||
|
section.main .content .markdown .footnotes ol {
|
||||||
|
list-style-type: decimal;
|
||||||
|
margin-left: 16px;
|
||||||
|
}
|
||||||
|
section.main .content .markdown .footnotes li {
|
||||||
|
list-style-type: unset;
|
||||||
|
}
|
||||||
|
section.main .content .markdown .footnote-ref {
|
||||||
|
font-size: 0.7em;
|
||||||
|
}
|
Reference in New Issue
Block a user