Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
how_to_make
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Erik Strand
how_to_make
Commits
5711378d
Commit
5711378d
authored
Sep 13, 2018
by
Erik Strand
Browse files
Options
Downloads
Patches
Plain Diff
Add template overrides
parent
265c3521
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
layouts/partials/head.html
+35
-0
35 additions, 0 deletions
layouts/partials/head.html
layouts/partials/sidebar.html
+22
-0
22 additions, 0 deletions
layouts/partials/sidebar.html
with
57 additions
and
0 deletions
layouts/partials/head.html
0 → 100644
+
35
−
0
View file @
5711378d
<!DOCTYPE html>
<html
xmlns=
"http://www.w3.org/1999/xhtml"
{{
with
.
Site.LanguageCode
}}
xml:lang=
"{{.}}"
lang=
"{{.}}"
{{
end
}}
>
<head>
<link
href=
"//gmpg.org/xfn/11"
rel=
"profile"
>
<meta
http-equiv=
"content-type"
content=
"text/html; charset=utf-8"
>
{{ .Hugo.Generator }}
<!-- Enable responsiveness on mobile devices-->
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
{{ if .IsHome -}}
<title>
{{ .Site.Title }}
</title>
{{- else -}}
<title>
{{ .Title }}
·
{{ .Site.Title }}
</title>
{{- end }}
<!-- CSS -->
<link
type=
"text/css"
rel=
"stylesheet"
href=
"{{ .Site.BaseURL }}css/print.css"
media=
"print"
>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"{{ .Site.BaseURL }}css/poole.css"
>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"{{ .Site.BaseURL }}css/syntax.css"
>
<link
type=
"text/css"
rel=
"stylesheet"
href=
"{{ .Site.BaseURL }}css/hyde.css"
>
{{ partial "head_fonts.html" . }}
<!-- Icons -->
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"144x144"
href=
"/apple-touch-icon-144-precomposed.png"
>
<link
rel=
"shortcut icon"
href=
"/favicon.png"
>
<!-- RSS -->
<link
href=
"{{ .RSSLink }}"
rel=
"alternate"
type=
"application/rss+xml"
title=
"{{ .Site.Title }}"
/>
{{ partial "hook_head_end.html" . }}
<script
type=
"text/javascript"
src=
"https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"
>
</script>
</head>
This diff is collapsed.
Click to expand it.
layouts/partials/sidebar.html
0 → 100644
+
22
−
0
View file @
5711378d
</script>
<aside
class=
"sidebar"
>
<div
class=
"container"
>
<div
class=
"sidebar-about"
>
<a
href=
"{{ .Site.BaseURL }}"
><h1>
{{ .Site.Title }}
</h1></a>
<p
class=
"lead"
>
{{ with .Site.Params.description }} {{.}} {{ else }}An elegant open source and mobile first theme for
<a
href=
"http://hugo.spf13.com"
>
hugo
</a>
made by
<a
href=
"http://twitter.com/mdo"
>
@mdo
</a>
. Originally made for Jekyll.{{end}}
</p>
</div>
<nav>
<ul
class=
"sidebar-nav"
>
<li><a
href=
"{{ .Site.BaseURL }}"
>
Home
</a>
</li>
{{ range .Site.Menus.main -}}
<li><a
href=
"{{.URL}}"
>
{{ .Name }}
</a></li>
{{- end }}
</ul>
</nav>
<p>
{{ with .Site.Params.copyright }}{{.}}{{ else }}
©
{{ now.Format "2006"}}. All rights reserved. {{end}}
</p>
</div>
</aside>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
sign in
to comment