generated from cotes2020/chirpy-starter
-
Notifications
You must be signed in to change notification settings - Fork 1
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
1 parent
8a07545
commit 8d4ccde
Showing
29 changed files
with
411 additions
and
234 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
--- | ||
layout: page | ||
title: "404: Page not found" | ||
permalink: /404.html | ||
|
||
redirect_from: | ||
- /norobots/ | ||
- /assets/ | ||
- /posts/ | ||
--- | ||
|
||
<div class="lead"> | ||
<p>{{site.data.locales[site.lang].not_found.statment }}</p> | ||
</div> |
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,12 @@ | ||
--- | ||
--- | ||
|
||
/* | ||
If the number of TAB files has changed, the following variable is required. | ||
And it must be defined before `@import`. | ||
*/ | ||
$tab-count:{{ site.tabs | size | plus:1 }}; // plus 1 for home tab | ||
|
||
@import "{{ site.theme }}"; | ||
|
||
/* append your custom style below */ |
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,61 @@ | ||
--- | ||
layout: compress | ||
permalink: /feed.xml | ||
# Atom Feed, reference: https://validator.w3.org/feed/docs/atom.html | ||
--- | ||
|
||
{% capture source %} | ||
<feed xmlns="http://www.w3.org/2005/Atom"> | ||
<id>{{ "/" | absolute_url }}</id> | ||
<title>{{ site.title }}</title> | ||
<subtitle>{{ site.description }}</subtitle> | ||
<updated>{{ site.time | date_to_xmlschema }}</updated> | ||
<author> | ||
<name>{{ site.social.name }}</name> | ||
<uri>{{ "/" | absolute_url }}</uri> | ||
</author> | ||
<link rel="self" type="application/atom+xml" href="{{ page.url | absolute_url }}"/> | ||
<link rel="alternate" type="text/html" hreflang="{{ site.lang }}" | ||
href="{{ '/' | absolute_url }}"/> | ||
<generator uri="https://jekyllrb.com/" version="{{ jekyll.version }}">Jekyll</generator> | ||
<rights> © {{ 'now' | date: '%Y' }} {{ site.social.name }} </rights> | ||
<icon>{{ site.baseurl }}/assets/img/favicons/favicon.ico</icon> | ||
<logo>{{ site.baseurl }}/assets/img/favicons/favicon-96x96.png</logo> | ||
|
||
{% for post in site.posts limit: 5 %} | ||
{% assign post_absolute_url = post.url | absolute_url %} | ||
<entry> | ||
<title>{{ post.title }}</title> | ||
<link href="{{ post_absolute_url }}" rel="alternate" type="text/html" title="{{ post.title }}" /> | ||
<published>{{ post.date | date_to_xmlschema }}</published> | ||
{% if post.last_modified_at %} | ||
<updated>{{ post.last_modified_at | date_to_xmlschema }}</updated> | ||
{% else %} | ||
<updated>{{ post.date | date_to_xmlschema }}</updated> | ||
{% endif %} | ||
<id>{{ post_absolute_url }}</id> | ||
<content src="{{ post_absolute_url }}" /> | ||
<author> | ||
<name>{{ post.author | default: site.social.name }}</name> | ||
</author> | ||
|
||
{% if post.categories %} | ||
{% for category in post.categories %} | ||
<category term="{{ category }}" /> | ||
{% endfor %} | ||
{% endif %} | ||
|
||
{% if post.summary %} | ||
<summary>{{ post.summary | strip }}</summary> | ||
{% else %} | ||
<summary> | ||
{% include no-linenos.html content=post.content %} | ||
{{ content | strip_html | truncate: 400 }} | ||
</summary> | ||
{% endif %} | ||
|
||
</entry> | ||
{% endfor %} | ||
</feed> | ||
{% endcapture %} | ||
{{ source | replace: '&', '&' }} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ | ||
--- | ||
layout: compress | ||
--- | ||
|
||
<?xml version="1.0" encoding="utf-8"?> | ||
<browserconfig> | ||
<msapplication> | ||
<tile> | ||
<square150x150logo src="{{ '/assets/img/favicons/mstile-150x150.png' | relative_url }}" /> | ||
<TileColor>#da532c</TileColor> | ||
</tile> | ||
</msapplication> | ||
</browserconfig> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,26 @@ | ||
--- | ||
layout: compress | ||
--- | ||
|
||
{% assign favicon_path = "/assets/img/favicons" | relative_url %} | ||
|
||
{ | ||
"name": "{{ site.title }}", | ||
"short_name": "{{ site.title }}", | ||
"description": "{{ site.description }}", | ||
"icons": [ | ||
{ | ||
"src": "{{ favicon_path }}/android-chrome-192x192.png", | ||
"sizes": "192x192", | ||
"type": "image/png" | ||
}, | ||
{ | ||
"src": "{{ favicon_path }}/android-chrome-512x512.png", | ||
"sizes": "512x512", | ||
"type": "image/png" | ||
}], | ||
"start_url": "{{ '/index.html' | relative_url }}", | ||
"theme_color": "#2a1e6b", | ||
"background_color": "#ffffff", | ||
"display": "fullscreen" | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ | ||
--- | ||
layout: compress | ||
swcache: true | ||
--- | ||
|
||
[ | ||
{% for post in site.posts %} | ||
{ | ||
"title": {{ post.title | jsonify }}, | ||
"url": {{ post.url | relative_url | jsonify }}, | ||
"categories": {{ post.categories | join: ', ' | jsonify }}, | ||
"tags": {{ post.tags | join: ', ' | jsonify }}, | ||
"date": "{{ post.date }}", | ||
{% include no-linenos.html content=post.content %} | ||
"snippet": {{ content | strip_html | strip_newlines | truncate: 200 | jsonify }} | ||
}{% unless forloop.last %},{% endunless %} | ||
{% endfor %} | ||
] |
Oops, something went wrong.