Skip to content

Commit ceb1360

Browse files
committed
fix matcornic#11 - show menu on mobile devices (homepage)
1 parent 1af2a78 commit ceb1360

File tree

4 files changed

+4
-7
lines changed

4 files changed

+4
-7
lines changed

exampleSite/content/_index.md

-5
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,6 @@ date = "2017-04-24T18:36:24+02:00"
55

66
+++
77

8-
<span id="sidebar-toggle-span">
9-
<a href="#" id="sidebar-toggle" data-sidebar-toggle=""><i class="fa fa-bars"></i></a>
10-
</span>
11-
12-
138
# Hugo docDock theme
149
[Hugo-theme-docdock {{%icon fa-github%}}](https://github.com/vjeantet/hugo-theme-docdock) is a theme for Hugo, a fast and modern static website engine written in Go. Hugo is often used for blogs, **this theme is fully designed for documentation.**
1510

layouts/index.html

+3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
{{ partial "header.html" . }}
2+
<span id="sidebar-toggle-span">
3+
<a href="#" id="sidebar-toggle" data-sidebar-toggle=""><i class="fa fa-bars"></i> navigation</a>
4+
</span>
25

36
{{if .Site.Home.Content }}
47
{{.Site.Home.Content}}

layouts/partials/favicon.html

-1
This file was deleted.

layouts/partials/header.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
66
{{ .Hugo.Generator }}
77
{{ partial "meta.html" . }}
8-
{{ partial "favicon.html" . }}
98
<title>{{ .Title }} :: {{ .Site.Title }}</title>
9+
<link rel="shortcut icon" href="{{"images/favicon.png" | relURL}}" type="image/x-icon" />
1010
<link href="{{"css/nucleus.css" | relURL}}" rel="stylesheet">
1111
<link href="{{"css/font-awesome.min.css" | relURL}}" rel="stylesheet">
1212
<link href="{{"css/hybrid.css" | relURL}}" rel="stylesheet">

0 commit comments

Comments
 (0)