forked from cotes2020/jekyll-theme-chirpy
-
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.
- Loading branch information
Showing
86 changed files
with
1,204 additions
and
853 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 @@ | ||
body: | ||
- type: textarea | ||
attributes: | ||
label: Description | ||
description: Please describe in detail what you want to share. | ||
validations: | ||
required: 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,17 @@ | ||
name: Publish | ||
|
||
on: | ||
push: | ||
branches: | ||
- docs | ||
workflow_call: | ||
|
||
jobs: | ||
launch: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- run: | | ||
curl -X POST -H "Accept: application/vnd.github+json" \ | ||
-H "Authorization: Bearer ${{ secrets.GH_PAT }}" \ | ||
https://api.github.com/repos/${{ secrets.BUILDER }}/dispatches \ | ||
-d '{"event_type":"deploy", "client_payload":{"branch": "${{ github.ref_name }}"}}' |
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,8 @@ | ||
{ | ||
"commands-show-output": false, | ||
"blanks-around-fences": false, | ||
"line-length": false, | ||
"no-inline-html": { | ||
"allowed_elements": ["kbd", "sub"] | ||
} | ||
} |
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
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 @@ | ||
- extension: mp3 | ||
mime_type: mpeg | ||
- extension: mov | ||
mime_type: quicktime | ||
- extension: avi | ||
mime_type: x-msvideo | ||
- extension: mkv | ||
mime_type: x-matroska | ||
- extension: ogv | ||
mime_type: ogg | ||
- extension: weba | ||
mime_type: webm | ||
- extension: 3gp | ||
mime_type: 3gpp | ||
- extension: 3g2 | ||
mime_type: 3gpp2 | ||
- extension: mid | ||
mime_type: midi |
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,29 +1,24 @@ | ||
# CDNs | ||
|
||
cdns: | ||
# Google Fonts | ||
# Resource Hints | ||
resource_hints: | ||
- url: https://fonts.googleapis.com | ||
links: | ||
- rel: preconnect | ||
- rel: dns-prefetch | ||
- url: https://fonts.gstatic.com | ||
args: crossorigin | ||
- url: https://fonts.googleapis.com | ||
# jsDelivr CDN | ||
links: | ||
- rel: preconnect | ||
opts: [crossorigin] | ||
- rel: dns-prefetch | ||
- url: https://cdn.jsdelivr.net | ||
# polyfill.io for math (cdnjs.cloudflare.com/polyfill) | ||
- url: https://cdnjs.cloudflare.com | ||
|
||
# fonts | ||
links: | ||
- rel: preconnect | ||
- rel: dns-prefetch | ||
|
||
webfonts: https://fonts.googleapis.com/css2?family=Lato&family=Source+Sans+Pro:wght@400;600;700;900&display=swap | ||
# Web Fonts | ||
webfonts: https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Source+Sans+Pro:wght@400;600;700;900&display=swap | ||
|
||
# Libraries | ||
|
||
jquery: | ||
js: https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js | ||
|
||
bootstrap: | ||
css: https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css | ||
js: https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js | ||
|
||
toc: | ||
css: https://cdn.jsdelivr.net/npm/[email protected]/dist/tocbot.min.css | ||
js: https://cdn.jsdelivr.net/npm/[email protected]/dist/tocbot.min.js | ||
|
@@ -44,9 +39,9 @@ dayjs: | |
relativeTime: https://cdn.jsdelivr.net/npm/[email protected]/plugin/relativeTime.min.js | ||
localizedFormat: https://cdn.jsdelivr.net/npm/[email protected]/plugin/localizedFormat.min.js | ||
|
||
magnific-popup: | ||
css: https://cdn.jsdelivr.net/npm/[email protected].0/dist/magnific-popup.min.css | ||
js: https://cdn.jsdelivr.net/npm/[email protected].0/dist/jquery.magnific-popup.min.js | ||
glightbox: | ||
css: https://cdn.jsdelivr.net/npm/[email protected].0/dist/css/glightbox.min.css | ||
js: https://cdn.jsdelivr.net/npm/[email protected].0/dist/js/glightbox.min.js | ||
|
||
lazy-polyfill: | ||
css: https://cdn.jsdelivr.net/npm/[email protected]/dist/loading-attribute-polyfill.min.css | ||
|
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,7 @@ | ||
<!-- Cloudflare Web Analytics --> | ||
<script | ||
defer | ||
src="https://static.cloudflareinsights.com/beacon.min.js" | ||
data-cf-beacon='{"token": "{{ site.analytics.cloudflare.id }}"}' | ||
></script> | ||
<!-- End Cloudflare Web Analytics --> |
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 @@ | ||
<!-- GoatCounter --> | ||
<script | ||
async | ||
src="https://gc.zgo.at/count.js" | ||
data-goatcounter="https://{{ site.analytics.goatcounter.id }}.goatcounter.com/count" | ||
></script> |
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,13 @@ | ||
<!-- Global site tag (gtag.js) - Google Analytics --> | ||
<script defer src="https://www.googletagmanager.com/gtag/js?id={{ site.analytics.google.id }}"></script> | ||
<script> | ||
document.addEventListener('DOMContentLoaded', function (event) { | ||
window.dataLayer = window.dataLayer || []; | ||
function gtag() { | ||
dataLayer.push(arguments); | ||
} | ||
|
||
gtag('js', new Date()); | ||
gtag('config', '{{ site.analytics.google.id }}'); | ||
}); | ||
</script> |
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,14 @@ | ||
<!-- Matomo --> | ||
<script type="text/javascript"> | ||
var _paq = window._paq = window._paq || []; | ||
_paq.push(['trackPageView']); | ||
_paq.push(['enableLinkTracking']); | ||
(function() { | ||
var u="//{{ site.analytics.matomo.domain }}/"; | ||
_paq.push(['setTrackerUrl', u+'matomo.php']); | ||
_paq.push(['setSiteId', {{ site.analytics.matomo.id }}]); | ||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0]; | ||
g.type='text/javascript'; g.async=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s); | ||
})(); | ||
</script> | ||
<!-- End Matomo Code --> |
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 @@ | ||
<!-- Umami --> | ||
<script | ||
defer | ||
src="{{ site.analytics.umami.domain }}/script.js" | ||
data-website-id="{{ site.analytics.umami.id }}" | ||
></script> |
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,5 +1,5 @@ | ||
<!-- The comments switcher --> | ||
{% if page.comments and site.comments.active %} | ||
{% capture path %}comments/{{ site.comments.active }}.html{% endcapture %} | ||
<!-- The comments switcher --> | ||
{% if page.comments and site.comments.provider %} | ||
{% capture path %}comments/{{ site.comments.provider }}.html{% endcapture %} | ||
{% include {{ path }} %} | ||
{% endif %} |
Oops, something went wrong.