forked from gohugoio/gohugoioTheme2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates #1
- Loading branch information
Showing
39 changed files
with
749 additions
and
586 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,45 @@ | ||
/* mulish-200 - latin */ | ||
@font-face { | ||
font-family: 'Mulish'; | ||
font-style: normal; | ||
font-weight: 200; | ||
src: local(''), | ||
url('../fonts/mulish-v10-latin-200.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ | ||
url('../fonts/mulish-v10-latin-200.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | ||
} | ||
/* mulish-regular - latin */ | ||
@font-face { | ||
font-family: 'Mulish'; | ||
font-style: normal; | ||
font-weight: 400; | ||
src: local(''), | ||
url('../fonts/mulish-v10-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ | ||
url('../fonts/mulish-v10-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | ||
} | ||
/* mulish-800 - latin */ | ||
@font-face { | ||
font-family: 'Mulish'; | ||
font-style: normal; | ||
font-weight: 800; | ||
src: local(''), | ||
url('../fonts/mulish-v10-latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ | ||
url('../fonts/mulish-v10-latin-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | ||
} | ||
/* mulish-italic - latin */ | ||
@font-face { | ||
font-family: 'Mulish'; | ||
font-style: italic; | ||
font-weight: 400; | ||
src: local(''), | ||
url('../fonts/mulish-v10-latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ | ||
url('../fonts/mulish-v10-latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | ||
} | ||
/* mulish-800italic - latin */ | ||
@font-face { | ||
font-family: 'Mulish'; | ||
font-style: italic; | ||
font-weight: 800; | ||
src: local(''), | ||
url('../fonts/mulish-v10-latin-800italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ | ||
url('../fonts/mulish-v10-latin-800italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ | ||
} |
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
} | ||
|
||
.prose table th { | ||
@apply font-semibold; | ||
@apply font-extrabold; | ||
} | ||
|
||
.prose table td, | ||
|
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 |
---|---|---|
@@ -1,28 +1,28 @@ | ||
export function bridgeTurboAndAlpine(Alpine) { | ||
document.addEventListener('turbo:render', () => { | ||
if (document.documentElement.hasAttribute('data-turbo-preview')) { | ||
return; | ||
} | ||
document.addEventListener("turbo:render", () => { | ||
if (document.documentElement.hasAttribute("data-turbo-preview")) { | ||
return; | ||
} | ||
|
||
// Restart Alpine. | ||
Alpine.start(); | ||
}); | ||
// Restart Alpine. | ||
Alpine.start(); | ||
}); | ||
|
||
// Cleanup Alpine state on navigation. | ||
document.addEventListener('turbo:before-cache', () => { | ||
Alpine.stopObservingMutations(); | ||
// Cleanup Alpine state on navigation. | ||
document.addEventListener("turbo:before-cache", () => { | ||
Alpine.stopObservingMutations(); | ||
|
||
document.body.querySelectorAll('[x-data]').forEach((el) => { | ||
if (el.hasAttribute('data-turbo-permanent')) { | ||
el._x_ignore = true; | ||
} else { | ||
Alpine.destroyTree(el); | ||
document.body.querySelectorAll("[x-data]").forEach((el) => { | ||
if (el.hasAttribute("data-turbo-permanent")) { | ||
el._x_ignore = true; | ||
} else { | ||
Alpine.destroyTree(el); | ||
|
||
// Turbo leaks DOM elements via their data-turbo-permanent handling. | ||
// That needs to be fixed upstream, but until then. | ||
let clone = el.cloneNode(true); | ||
el.replaceWith(clone); | ||
} | ||
}); | ||
}); | ||
// Turbo leaks DOM elements via their data-turbo-permanent handling. | ||
// That needs to be fixed upstream, but until then. | ||
let clone = el.cloneNode(true); | ||
el.replaceWith(clone); | ||
} | ||
}); | ||
}); | ||
} |
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,5 @@ | ||
--- | ||
title: Hugo Documentation | ||
linkTitle: Docs | ||
--- | ||
|
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,5 @@ | ||
--- | ||
title: "Explanation" | ||
linkTitle: "Explanation" | ||
weight: 20 | ||
--- |
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,5 @@ | ||
--- | ||
title: "How-to Guides" | ||
linkTitle: "Guides" | ||
weight: 40 | ||
--- |
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,5 @@ | ||
--- | ||
title: "Technical Reference" | ||
linkTitle: "Reference" | ||
weight: 10 | ||
--- |
5 changes: 5 additions & 0 deletions
5
exampleSite/content/en/documentation/reference/functions/_index.md
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,5 @@ | ||
--- | ||
title: "Template Functions" | ||
linkTitle: "Functions" | ||
weight: 10 | ||
--- |
7 changes: 7 additions & 0 deletions
7
exampleSite/content/en/documentation/reference/functions/collections/index.md
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 @@ | ||
--- | ||
title: "Collections Namespace" | ||
linkTitle: "collections" | ||
namespace: "collections" | ||
--- | ||
|
||
|
5 changes: 5 additions & 0 deletions
5
exampleSite/content/en/documentation/reference/interfaces/_index.md
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,5 @@ | ||
--- | ||
title: "Interfaces" | ||
linkTitle: "Interfaces" | ||
weight: 20 | ||
--- |
6 changes: 6 additions & 0 deletions
6
exampleSite/content/en/documentation/reference/interfaces/page/index.md
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: "Page Interface" | ||
linkTitle: "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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
--- | ||
title: "Tutorials" | ||
weight: 30 | ||
--- |
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
File renamed without changes.
Oops, something went wrong.