-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated to Hugo 0.24.1, added about section, refactored SCSS
- Loading branch information
1 parent
a110a95
commit dd7a97f
Showing
15 changed files
with
142 additions
and
33 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
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,6 @@ | ||
+++ | ||
title = "{{ replace .TranslationBaseName "-" " " | title }}" | ||
date = {{ .Date }} | ||
description = "" | ||
draft = true | ||
+++ |
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,3 +1,5 @@ | ||
+++ | ||
description = "" | ||
title = "{{ replace .TranslationBaseName "-" " " | title }}" | ||
date = {{ .Date }} | ||
draft = true | ||
+++ |
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,8 +1,10 @@ | ||
+++ | ||
title = "{{ replace .TranslationBaseName "-" " " | title }}" | ||
date = {{ .Date }} | ||
image = "" | ||
alt = "" | ||
color = "" | ||
link1 = "" | ||
link2 = "" | ||
|
||
draft = true | ||
+++ |
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
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,15 @@ | ||
+++ | ||
title = "About" | ||
date = "2017-06-27T17:39:21-07:00" | ||
draft = false | ||
+++ | ||
|
||
## Welcome to the Osprey Theme | ||
|
||
To create an about section, generate an about.md file in your content folder by doing: | ||
|
||
```console | ||
$ hugo new about.md | ||
``` | ||
|
||
Then add your own content to the markdown file. Everything in the file will be generated to show here on the home page. |
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
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,18 @@ | ||
{{ $directory := "content/" }} | ||
{{ $filename := "about.md" }} | ||
{{ if (where (readDir $directory) "Name" $filename) }} | ||
<section class="about" id="about"> | ||
<div class="container middle-xs"> | ||
<div class="row center-xs"> | ||
<div class="col-xs-12"><h1>{{ with $.Site.GetPage "page" "about.md" }}{{ .Title }}{{ end }}</h1></div> | ||
</div> | ||
<div class="row"> | ||
<div class="col-xs-12 middle-xs"> | ||
{{ with $.Site.GetPage "page" "about.md" }} | ||
{{ .Content }} | ||
{{ end }} | ||
</div> | ||
</div> | ||
</div> | ||
</section> | ||
{{ end }} |
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
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
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
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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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