-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from andypiper/boilerplate
Fix: update themes for deprecated conditional. Add README.
- Loading branch information
Showing
2 changed files
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# mastodon/blog | ||
|
||
This repository contains the source code for the Mastodon blog at joinmastodon.org/blog | ||
|
||
The blog is built with Hugo, a static site generator. | ||
|
||
Contributions are limited to the core Mastodon project team. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{{ $styles := resources.Get "css/styles.css" | postCSS (dict "config" "./postcss.config.js") }} | ||
{{ if .Site.IsServer }} | ||
{{ if hugo.IsServer }} | ||
<link rel="stylesheet" href="{{ $styles.RelPermalink }}"> | ||
{{ else }} | ||
{{ $styles := $styles | minify | fingerprint | resources.PostProcess }} | ||
<link rel="stylesheet" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}"> | ||
{{ end }} | ||
{{ end }} |