hugo site
This commit is contained in:
15
layouts/partials/donate.html
Normal file
15
layouts/partials/donate.html
Normal file
@ -0,0 +1,15 @@
|
||||
<div class="donate-box">
|
||||
<h4>Help support my writing!</h4>
|
||||
<div class="donate">
|
||||
<a href="https://www.patreon.com/bePatron?u=425636" data-patreon-widget-type="become-patron-button">Become a Patron!</a><script async src="https://c6.patreon.com/becomePatronButton.bundle.js"></script>
|
||||
</div>
|
||||
<div class="donate">
|
||||
<script src="https://liberapay.com/makyo/widgets/button.js"></script>
|
||||
<noscript>
|
||||
<a href="https://liberapay.com/makyo/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a>
|
||||
</noscript>
|
||||
</div>
|
||||
<div class="donate">
|
||||
<script type='text/javascript' src='https://ko-fi.com/widgets/widget_2.js'></script><script type='text/javascript'>kofiwidget2.init('Buy Me a Coffee', '#808080', 'A6633Y29');kofiwidget2.draw();</script>
|
||||
</div>
|
||||
</div>
|
||||
5
layouts/partials/footer.html
Normal file
5
layouts/partials/footer.html
Normal file
@ -0,0 +1,5 @@
|
||||
<footer class="main-footer">
|
||||
<div class="copyright">
|
||||
<p>2019 © Madison Scott-Clary</p>
|
||||
</div>
|
||||
</footer> <!-- End Footer -->
|
||||
36
layouts/partials/head.html
Normal file
36
layouts/partials/head.html
Normal file
@ -0,0 +1,36 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
{{ $title := print .Title " | " .Site.Title }}
|
||||
{{ if .IsHome }}
|
||||
{{ $title = .Site.Title }}
|
||||
{{ end }}
|
||||
<title>{{ $title }}</title>
|
||||
{{ .Hugo.Generator }}
|
||||
<link rel="canonical" href="{{ .Permalink }}">
|
||||
{{ if .IsHome }}
|
||||
{{ with .Site.Params.homeMetaContent }}
|
||||
<meta name="description" content="{{ . | plainify }}">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
||||
<meta property="og:image" content="">
|
||||
<link rel="shortcut icon" href="/assets/img/favicon/favicon.ico" type="image/x-icon">
|
||||
<link rel="apple-touch-icon" href="/assets/img/favicon/apple-touch-icon.png">
|
||||
<link rel="apple-touch-icon" sizes="72x72" href="/assets/img/favicon/apple-touch-icon-72x72.png">
|
||||
<link rel="apple-touch-icon" sizes="114x114" href="/assets/img/favicon/apple-touch-icon-114x114.png">
|
||||
<!-- Chrome, Firefox OS and Opera -->
|
||||
<meta name="theme-color" content="#311e3e">
|
||||
<!-- Windows Phone -->
|
||||
<meta name="msapplication-navbutton-color" content="#311e3e">
|
||||
<!-- iOS Safari -->
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="#311e3e">
|
||||
<!-- Google Fonts -->
|
||||
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700" rel="stylesheet">
|
||||
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700" rel="stylesheet">
|
||||
<!-- Font Awesome -->
|
||||
<link rel="stylesheet" href="/assets/fonts/font-awesome/css/font-awesome.min.css">
|
||||
<!-- Styles -->
|
||||
{{ $style := resources.Get "css/main.scss" | resources.ToCSS }}
|
||||
<link rel="stylesheet" href="{{ $style.Permalink }}">
|
||||
</head>
|
||||
22
layouts/partials/header.html
Normal file
22
layouts/partials/header.html
Normal file
@ -0,0 +1,22 @@
|
||||
<header class="main-header">
|
||||
<div class="wrapper">
|
||||
<div class="header-flex">
|
||||
<div class="menu-icon-container">
|
||||
<span class="menu-icon"><i class="fa fa-bars" aria-hidden="true"></i></span>
|
||||
</div>
|
||||
<nav class="main-nav">
|
||||
<span class="menu-icon-close"><i class="fa fa-times" aria-hidden="true"></i></span>
|
||||
<ul>
|
||||
<li><a href="/about">About</a></li>
|
||||
<li><a href="/collections">Collections</a></li>
|
||||
<li><a href="/tags">Tags</a></li>
|
||||
<li><a href="javascript:invert()">Invert colors</a></li>
|
||||
</ul>
|
||||
</nav>
|
||||
<p class="logo"><a href="/">Madison Scott-Clary</a></p>
|
||||
<div class="search-icon-container">
|
||||
<span class="search-icon"><a><i class="fa fa-search" aria-hidden="true"></i></a></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</header> <!-- End Header -->
|
||||
3
layouts/partials/javascripts.html
Executable file
3
layouts/partials/javascripts.html
Executable file
@ -0,0 +1,3 @@
|
||||
<!-- JS -->
|
||||
<script src="/assets/js/jquery-3.2.1.min.js"></script>
|
||||
<script src="/assets/js/main.js"></script>
|
||||
Reference in New Issue
Block a user