Compare commits

...

2 Commits

Author SHA1 Message Date
Amolith c8795db7dc
Update dates for latest Hugo 2024-09-30 15:47:00 -06:00
Amolith ab658a8750
Update template for more recent Hugo 2024-09-30 15:46:39 -06:00
3 changed files with 17 additions and 8 deletions

View File

@ -1,11 +1,11 @@
---
title: Creating an open source NAS
description: My process for building an open source NAS with a powerful single board computer and a couple of large HDDs
tags:
tags:
- Sysadmin
- NAS
- Backups
date: 2020-03-09 23:43 -0400
date: 2020-03-09T23:43:00-04:00
cover: /assets/posts/disk.png
draft: true
---

View File

@ -2,7 +2,7 @@
layout: post
title: Email & privacy/security concerns
cover: ./cover.png
date: 2020-03-21 01:46 -0400
date: 2020-03-21T01:46:00-0400
draft: true
---

View File

@ -38,11 +38,20 @@
<meta property="og:image" content="{{ if .IsHome }}{{ .Site.Params.cover }}{{ else }}{{ .Params.Cover }}{{ end }}" />
<!-- Styles -->
{{ $options := (dict "outputStyle" "compressed" "enableSourceMap" true) }}
{{ $scss := resources.Get "scss/imports.scss" }}
{{ $style := $scss | resources.ToCSS $options }}
<link rel="preload" href="{{ $style.RelPermalink }}?{{ now.Unix }}" as="style">
<link rel="stylesheet" href="{{ $style.RelPermalink }}?{{ now.Unix }}">
{{ with resources.Get "scss/imports.scss" }}
{{ $opts := dict "outputStyle" "compressed" "enabledSourceMap" true "transpiler" "libsass" "targetPath" "css/style.css" }}
{{ with . | toCSS $opts }}
{{ if hugo.IsDevelopment }}
<link rel="preload" href="{{ .RelPermalink }}" as="style">
<link rel="stylesheet" href="{{ .RelPermalink }}">
{{ else }}
{{ with . | minify | fingerprint }}
<link rel="preload" href="{{ .RelPermalink }}" as="style">
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" crossorigin="anonymous">
{{ end }}
{{ end }}
{{ end }}
{{ end }}
{{ partialCached "favicons.html" . }}