mirror of
https://github.com/nikdoof/website-hugo.git
synced 2025-12-14 08:02:19 +00:00
More cleanup of CSS
This commit is contained in:
4
themes/lhs/layouts/partials/foot.html
Normal file
4
themes/lhs/layouts/partials/foot.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{{ $site := resources.Get "js/site.js" }}
|
||||
{{ $js := slice $site | resources.Concat "js/bundle.js" | resources.Minify }}
|
||||
{{ $secureJS := $js | resources.Fingerprint "sha512" }}
|
||||
<script src="{{ $secureJS.Permalink }}" integrity="{{ $secureJS.Data.Integrity }}"></script>
|
||||
@@ -37,7 +37,7 @@
|
||||
<div class="columns">
|
||||
<div class="column is-4">
|
||||
<ul class="has-text-white is-size-6 ">
|
||||
{{- with .Site.Params.social }}
|
||||
{{- with .Site.Params.social_links }}
|
||||
{{ range . -}}
|
||||
<li><a href="{{ .url | safeURL }}" target="_blank" rel="noopener me" title="{{ .name | humanize }}">{{ .name | humanize }}</a></li>
|
||||
{{ end }}
|
||||
|
||||
@@ -1,8 +1,12 @@
|
||||
<meta charset="utf-8">
|
||||
<title>{{ block "title" . }}{{ .Site.Title }} - {{ .Title }}{{ end }}</title>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
{{ template "_internal/twitter_cards.html" . }}
|
||||
|
||||
<!-- favicons -->
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
@@ -19,10 +23,3 @@
|
||||
{{ with resources.Get "sass/leighhack.scss" | toCSS $opts | minify | fingerprint }}
|
||||
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
|
||||
{{ end }}
|
||||
|
||||
<style>
|
||||
@font-face {
|
||||
font-family: 'Transport Medium';
|
||||
src: url('/fonts/transport-medium.woff2') format('woff2');
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
</div>
|
||||
|
||||
<div class="navbar-end navbar--social-links">
|
||||
{{- with .Site.Params.social }}
|
||||
{{- with .Site.Params.social_links }}
|
||||
{{ range . -}}
|
||||
<div class="navbar-item is-inline-block-touch">
|
||||
<span class="icon">
|
||||
|
||||
Reference in New Issue
Block a user