Skip to content

Commit

Permalink
fix matcornic#11 - show menu on mobile devices (homepage)
Browse files Browse the repository at this point in the history
  • Loading branch information
vjeantet committed Jun 15, 2017
1 parent 1af2a78 commit ceb1360
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 7 deletions.
5 changes: 0 additions & 5 deletions exampleSite/content/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,6 @@ date = "2017-04-24T18:36:24+02:00"

+++

<span id="sidebar-toggle-span">
<a href="#" id="sidebar-toggle" data-sidebar-toggle=""><i class="fa fa-bars"></i></a>
</span>


# Hugo docDock theme
[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.**

Expand Down
3 changes: 3 additions & 0 deletions layouts/index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{{ partial "header.html" . }}
<span id="sidebar-toggle-span">
<a href="#" id="sidebar-toggle" data-sidebar-toggle=""><i class="fa fa-bars"></i> navigation</a>
</span>

{{if .Site.Home.Content }}
{{.Site.Home.Content}}
Expand Down
1 change: 0 additions & 1 deletion layouts/partials/favicon.html

This file was deleted.

2 changes: 1 addition & 1 deletion layouts/partials/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
{{ .Hugo.Generator }}
{{ partial "meta.html" . }}
{{ partial "favicon.html" . }}
<title>{{ .Title }} :: {{ .Site.Title }}</title>
<link rel="shortcut icon" href="{{"images/favicon.png" | relURL}}" type="image/x-icon" />
<link href="{{"css/nucleus.css" | relURL}}" rel="stylesheet">
<link href="{{"css/font-awesome.min.css" | relURL}}" rel="stylesheet">
<link href="{{"css/hybrid.css" | relURL}}" rel="stylesheet">
Expand Down

0 comments on commit ceb1360

Please sign in to comment.