Merge branch 'master' of https://github.com/josephhutch/aether
This commit is contained in:
@@ -128,6 +128,8 @@ date: the date
|
||||
description: "This is the subtext above the main heading in small letters"
|
||||
---
|
||||
```
|
||||
#### Overriding CSS
|
||||
To override CSS, you should create file `project_root/assets/css/override.css` and place all your CSS inside it. This file will be merged with standard CSS when the site is generated.
|
||||
|
||||
## Helpful Links
|
||||
[Aether Blog Post](https://www.joehutch.com/post/aether-theme/) - See aether in action and learn more about the theme
|
||||
|
||||
6
assets/css/override.css
Normal file
6
assets/css/override.css
Normal file
@@ -0,0 +1,6 @@
|
||||
/*
|
||||
* To override CSS, you should create
|
||||
* project_root/assets/css/override.css
|
||||
* and place all your CSS inside it.
|
||||
* You should not modify this file.
|
||||
*/
|
||||
@@ -24,7 +24,8 @@
|
||||
{{ $mainStyle := resources.Get "css/style.css" }}
|
||||
{{ $xcodeStyle := resources.Get "css/xcode.css" }}
|
||||
{{ $fontStyle := resources.Get "css/latolatinfonts.css" }}
|
||||
{{ $style := slice $xcodeStyle $fontStyle $mainStyle | resources.Concat "css/concated.css" | minify }}
|
||||
{{ $overrideStyle := resources.Get "css/override.css" }}
|
||||
{{ $style := slice $xcodeStyle $fontStyle $mainStyle $overrideStyle | resources.Concat "css/concated.css" | minify }}
|
||||
<link href="{{ $style.Permalink }}" rel="stylesheet">
|
||||
{{ range .AlternativeOutputFormats -}}
|
||||
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
|
||||
|
||||
Reference in New Issue
Block a user