parent
960579bce4
commit
220f84528d
2 changed files with 38 additions and 38 deletions
@ -1,29 +1,29 @@ |
||||
<head {{ with .Site.LanguageCode }}lang="{{ . }}"{{ end }}> |
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
||||
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" /> |
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
||||
<meta name="viewport" content="width=device-width, initial-scale=0.9, maximum-scale=0.9" /> |
||||
{{- with .Site.Params.description -}} |
||||
<meta name="description" content="{{ . }}"> |
||||
{{- end -}} |
||||
{{ .Hugo.Generator }} |
||||
<meta name="description" content="{{ . }}"> |
||||
{{- end -}} |
||||
{{ .Hugo.Generator }} |
||||
|
||||
<title>{{ if not .IsHome }}{{ .Title }} —{{ end }} {{ .Site.Title }}</title> |
||||
<title>{{ if not .IsHome }}{{ .Title }} —{{ end }} {{ .Site.Title }}</title> |
||||
|
||||
<link rel="stylesheet" href="{{ "css/alabaster.css" | relURL }}" type="text/css" /> |
||||
{{ with .Site.Params.highlightjs -}} |
||||
<link rel="stylesheet" href="{{ . | relURL }}" type="text/css" /> |
||||
{{- end }} |
||||
<link rel="stylesheet" href="{{ "css/alabaster.css" | relURL }}" type="text/css" /> |
||||
{{ with .Site.Params.highlightjs -}} |
||||
<link rel="stylesheet" href="{{ . | relURL }}" type="text/css" /> |
||||
{{- end }} |
||||
|
||||
{{ range .Site.Params.custom_css -}} |
||||
<link rel="stylesheet" href="{{ . | relURL }}"> |
||||
{{- end }} |
||||
{{ range .Site.Params.custom_css -}} |
||||
<link rel="stylesheet" href="{{ . | relURL }}"> |
||||
{{- end }} |
||||
|
||||
{{ range .Site.Params.custom_css_absolute -}} |
||||
<link rel="stylesheet" href="{{ . }}"> |
||||
{{- end }} |
||||
{{ range .Site.Params.custom_css_absolute -}} |
||||
<link rel="stylesheet" href="{{ . }}"> |
||||
{{- end }} |
||||
|
||||
{{ with .Site.Params.favicon -}} |
||||
<link rel="shortcut icon" href="{{ . | relURL }}" type="image/x-icon"/> |
||||
{{- else -}} |
||||
<link rel="shortcut icon" href="{{ "favicon.ico" | relURL }}" type="image/x-icon"/> |
||||
{{- end }} |
||||
{{ with .Site.Params.favicon -}} |
||||
<link rel="shortcut icon" href="{{ . | relURL }}" type="image/x-icon"/> |
||||
{{- else -}} |
||||
<link rel="shortcut icon" href="{{ "favicon.ico" | relURL }}" type="image/x-icon"/> |
||||
{{- end }} |
||||
</head> |
||||
|
||||
@ -1,23 +1,23 @@ |
||||
<div class="sphinxsidebar" role="navigation" aria-label="main navigation"> |
||||
<div class="sphinxsidebarwrapper"> |
||||
<p class="logo"> |
||||
<a href="/"> |
||||
{{ with .Site.Params.sidebar.logo -}} |
||||
<img class="logo" src="{{ . | relURL }}" alt="Logo"/> |
||||
{{- end }} |
||||
<h1 class="logo logo-name">{{ .Site.Params.name }}</h1> |
||||
</a> |
||||
</p> |
||||
<div class="sphinxsidebarwrapper"> |
||||
<p class="logo"> |
||||
<a href="/"> |
||||
{{ with .Site.Params.sidebar.logo -}} |
||||
<img class="logo" src="{{ . | relURL }}" alt="Logo"/> |
||||
{{- end }} |
||||
<h1 class="logo logo-name">{{ .Site.Params.name }}</h1> |
||||
</a> |
||||
</p> |
||||
|
||||
{{ with .Site.Params.description -}} |
||||
<p class="blurb">{{ . | markdownify }}</p> |
||||
{{- end }} |
||||
{{ with .Site.Params.description -}} |
||||
<p class="blurb">{{ . | markdownify }}</p> |
||||
{{- end }} |
||||
|
||||
{{ partial "sidebar/buttons" . }} |
||||
{{ partial "sidebar/donate" . }} |
||||
{{ partial "sidebar/menu" . }} |
||||
{{ partial "sidebar/relations" . }} |
||||
</div> |
||||
{{ partial "sidebar/buttons" . }} |
||||
{{ partial "sidebar/donate" . }} |
||||
{{ partial "sidebar/menu" . }} |
||||
{{ partial "sidebar/relations" . }} |
||||
</div> |
||||
</div> |
||||
<div class="clearer"></div> |
||||
</div> |
||||
|
||||
Loading…
Reference in new issue