first commit
This commit is contained in:
33
layouts/partials/head.html
Normal file
33
layouts/partials/head.html
Normal file
@@ -0,0 +1,33 @@
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
{{ with .Site.Title }}<title>{{ . }}</title>{{ end }}
|
||||
{{ with .Site.Params.description }}<meta name="description" content="{{ . }}">{{ end }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link rel="stylesheet" href="{{ "css/bootstrap.min.css" | absURL }}">
|
||||
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:400,300,700,400italic">
|
||||
<link rel="stylesheet" href="{{ "css/font-awesome.min.css" | absURL }}">
|
||||
<link rel="stylesheet" href="{{ "css/owl.carousel.css" | absURL }}">
|
||||
<link rel="stylesheet" href="{{ "css/owl.theme.css" | absURL }}">
|
||||
<!-- Theme stylesheet, if possible do not edit this stylesheet -->
|
||||
{{ with .Site.Params.style }}
|
||||
<link href="{{ printf "css/style.%s.css" . | absURL }}" rel="stylesheet" id="theme-stylesheet">
|
||||
{{ else }}
|
||||
<link href="{{ "css/style.default.css" | absURL }}" rel="stylesheet" id="theme-stylesheet">
|
||||
{{ end }}
|
||||
<!-- Responsivity for older IE -->
|
||||
<!-- Just in case -->
|
||||
{{ `
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
||||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
` | safeHTML }}
|
||||
|
||||
<!-- Custom stylesheet - for your changes -->
|
||||
<link href="{{ "css/custom.css" | absURL }}" rel="stylesheet">
|
||||
<link rel="shortcut icon" href="{{ "img/favicon.png" | absURL }}">
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
{{ printf `<link href="%s" rel="%s" type="%s" title="%s" />` .Permalink .Rel .MediaType.Type $.Site.Title | safeHTML }}
|
||||
{{ end }}
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
<script async src="https://track.jamesflare.com/script.js" data-website-id="226742b8-6efb-4be9-8f8f-d297df42401c"></script>
|
||||
23
layouts/partials/sidebar.html
Normal file
23
layouts/partials/sidebar.html
Normal file
@@ -0,0 +1,23 @@
|
||||
<div id="sidebar" class="col-xs-6 col-sm-4 col-md-3 sidebar-offcanvas">
|
||||
<div class="sidebar-content">
|
||||
<h1 class="sidebar-heading"><a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a></h1>
|
||||
{{ range .Site.Params.sidebarAbout }}
|
||||
<p class="sidebar-p">{{ . | safeHTML }}</p>
|
||||
{{ end }}
|
||||
<ul class="sidebar-menu">
|
||||
{{ range .Site.Params.navlinks }}
|
||||
<li><a href="{{ absURL .url }}">{{ .name }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ partial "social_buttons_in_sidebar.html" . }}
|
||||
|
||||
<div class="copyright">
|
||||
<p class="credit">
|
||||
{{ with .Site.Params.copyright }}
|
||||
{{ . | safeHTML }} | Powered by <a href="https://gohugo.io" target="_blank">Hugo</a>
|
||||
{{ end }}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user