Use generated css, common to the project
This commit is contained in:
parent
bad7e8e689
commit
af2b407c52
14 changed files with 1242 additions and 132 deletions
|
|
@ -49,15 +49,21 @@
|
|||
<!-- Mastodon proof -->
|
||||
<link rel="me" href="https://floss.social/@happyDomain">
|
||||
|
||||
<link rel="stylesheet" href="/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="/icons/font/bootstrap-icons.min.css">
|
||||
<!-- Variable fonts (Hanken Grotesk, JetBrains Mono, Quicksand) — served from node_modules via Hugo mounts -->
|
||||
<link rel="stylesheet" href="/fonts/hanken-grotesk/wght.css">
|
||||
<link rel="stylesheet" href="/fonts/jetbrains-mono/wght.css">
|
||||
<link rel="stylesheet" href="/fonts/quicksand/wght.css">
|
||||
|
||||
<!-- Theme stylesheet, if possible do not edit this stylesheet -->
|
||||
{{ if and (isset .Site.Params "style") .Site.Params.style }}
|
||||
<link href="{{ .Site.BaseURL }}css/style.{{ .Site.Params.style }}.css" rel="stylesheet" id="theme-stylesheet">
|
||||
{{ else }}
|
||||
<link href="{{ .Site.BaseURL }}css/style.default.css" rel="stylesheet" id="theme-stylesheet">
|
||||
<!-- Bootstrap (compiled from SCSS) -->
|
||||
{{ $scss := resources.Get "scss/bootstrap.scss" }}
|
||||
{{ $opts := dict "transpiler" "libsass" "includePaths" (slice "node_modules") }}
|
||||
{{ $css := $scss | css.Sass $opts }}
|
||||
{{ if hugo.IsProduction }}
|
||||
{{ $css = $css | minify | fingerprint }}
|
||||
{{ end }}
|
||||
<link rel="stylesheet" href="{{ $css.RelPermalink }}">
|
||||
|
||||
<link rel="stylesheet" href="/icons/font/bootstrap-icons.min.css">
|
||||
|
||||
<!-- Custom stylesheet - for your changes -->
|
||||
<link href="{{ .Site.BaseURL }}css/custom.css" rel="stylesheet">
|
||||
|
|
|
|||
|
|
@ -3,7 +3,11 @@
|
|||
id="mainnav"
|
||||
>
|
||||
<div class="container">
|
||||
<a class="h1 navbar-brand mb-0" href="/{{ .Site.Language.Lang }}/">
|
||||
<a
|
||||
class="h1 navbar-brand d-flex align-items-top gap-2 mb-0"
|
||||
href="/{{ .Site.Language.Lang }}/"
|
||||
>
|
||||
<img src="/img/apple-touch-icon.png" alt="" style="height: 24px" />
|
||||
<svg
|
||||
version="1.1"
|
||||
viewBox="7 5 100 15"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue