Remove external resources
This commit is contained in:
parent
072b2d38e2
commit
7e86971cf7
9 changed files with 23 additions and 14 deletions
|
|
@ -10,7 +10,7 @@
|
|||
{{ range (where .Data.Pages "Section" "!=" "") }}
|
||||
<li>
|
||||
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
|
||||
<a href="{{ .URL }}">{{ .Title }}</a>
|
||||
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@
|
|||
{{ range (where site.RegularPages "Section" "==" "posts") }}
|
||||
<li>
|
||||
<span class="date">{{ .Date.Format "2006/01/02" }}</span>
|
||||
<a href="{{ .URL }}">{{ .Title }}</a>
|
||||
<a href="{{ .Permalink }}">{{ .Title }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
|
|
|||
|
|
@ -1,12 +1,4 @@
|
|||
<header>
|
||||
|
||||
<!--
|
||||
Syntax highlighting - defaults to atom light theme.
|
||||
List here: https://github.com/isagalaev/highlight.js/tree/master/src/styles
|
||||
-->
|
||||
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/styles/atom-one-light.min.css">
|
||||
<script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/highlight.min.js"></script>
|
||||
<script>hljs.initHighlightingOnLoad();</script>
|
||||
<nav>
|
||||
<ul>
|
||||
{{ $title := lower .Title }}
|
||||
|
|
@ -17,14 +9,14 @@
|
|||
{{ range .Site.Menus.main }}
|
||||
{{ $name := lower .Name }}
|
||||
<li class="pull-left {{ if eq $name $title }}current{{ else if eq $section $name }}current{{ else if eq $title (pluralize $name) }}current{{ end }}">
|
||||
<a href="{{ .URL }}">~/{{ lower .Name }}</a>
|
||||
<a href="{{ .RelPermalink }}">~/{{ lower .Name }}</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
{{ range .Site.Menus.feed }}
|
||||
{{ $name := lower .Name}}
|
||||
<li class="pull-right">
|
||||
<a href="{{ .URL }}">~/{{ lower .Name}}</a>
|
||||
<a href="{{ .RelPermalink }}">~/{{ lower .Name}}</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,6 @@
|
|||
/* @import url('https://fonts.googleapis.com/css?family=Roboto+Slab:400,700|Source+Serif+Pro'); */
|
||||
/* @import url('https://fonts.googleapis.com/css?family=Fredoka+One|Source+Serif+Pro'); */
|
||||
@import url('https://fonts.googleapis.com/css?family=Baloo|Source+Serif+Pro');
|
||||
@import url('https://fonts.googleapis.com/css?family=Ubuntu+Mono');
|
||||
@import url('/css/webfonts.css');
|
||||
|
||||
body {
|
||||
max-width: 800px;
|
||||
|
|
|
|||
18
themes/blog.jaseg.de/static/css/webfonts.css
Normal file
18
themes/blog.jaseg.de/static/css/webfonts.css
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
@font-face {
|
||||
font-family: 'Baloo';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(/fonts/baloo.ttf) format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Source Serif Pro';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(/fonts/source-serif-pro.ttf) format('truetype');
|
||||
}
|
||||
@font-face {
|
||||
font-family: 'Ubuntu Mono';
|
||||
font-style: normal;
|
||||
font-weight: 400;
|
||||
src: url(/fonts/ubuntu-mono.ttf) format('truetype');
|
||||
}
|
||||
BIN
themes/blog.jaseg.de/static/favicon.ico
Normal file
BIN
themes/blog.jaseg.de/static/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 31 KiB |
BIN
themes/blog.jaseg.de/static/fonts/baloo.ttf
Normal file
BIN
themes/blog.jaseg.de/static/fonts/baloo.ttf
Normal file
Binary file not shown.
BIN
themes/blog.jaseg.de/static/fonts/source-serif-pro.ttf
Normal file
BIN
themes/blog.jaseg.de/static/fonts/source-serif-pro.ttf
Normal file
Binary file not shown.
BIN
themes/blog.jaseg.de/static/fonts/ubuntu-mono.ttf
Normal file
BIN
themes/blog.jaseg.de/static/fonts/ubuntu-mono.ttf
Normal file
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue