Skip to content

Commit d6742ef

Browse files
authored
Merge pull request #3 from JustinBraben/chirpy-theme
Chirpy theme
2 parents db300f1 + dd13fa9 commit d6742ef

File tree

24 files changed

+487
-72
lines changed

24 files changed

+487
-72
lines changed

.editorconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
indent_style = space
6+
indent_size = 2
7+
trim_trailing_whitespace = true
8+
# Unix-style newlines with a newline ending every file
9+
end_of_line = lf
10+
insert_final_newline = true
11+
12+
[*.{js,css,scss}]
13+
quote_type = single
14+
15+
[*.{yml,yaml}]
16+
quote_type = double
17+
18+
[*.md]
19+
trim_trailing_whitespace = false

.gitattributes

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Set default behavior to automatically normalize line endings.
2+
* text=auto
3+
4+
# Force bash scripts to always use LF line endings so that if a repo is accessed
5+
# in Unix via a file share from Windows, the scripts will work.
6+
*.sh text eol=lf
7+
8+
# Force batch scripts to always use CRLF line endings so that if a repo is accessed
9+
# in Windows via a file share from Linux, the scripts will work.
10+
*.{cmd,[cC][mM][dD]} text eol=crlf
11+
*.{bat,[bB][aA][tT]} text eol=crlf
12+
13+
# Denote all files that are truly binary and should not be modified.
14+
*.png binary
15+
*.jpg binary
16+
*.ico binary

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "assets/lib"]
2+
path = assets/lib
3+
url = https://github.com/cotes2020/chirpy-static-assets.git

.nojekyll

Whitespace-only changes.

Gemfile

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,14 @@
11
# frozen_string_literal: true
2+
23
source "https://rubygems.org"
34

4-
gem "jekyll"
5+
gem "jekyll-theme-chirpy", "~> 7.1", ">= 7.1.1"
6+
7+
gem "html-proofer", "~> 5.0", group: :test
8+
9+
platforms :mingw, :x64_mingw, :mswin, :jruby do
10+
gem "tzinfo", ">= 1", "< 3"
11+
gem "tzinfo-data"
12+
end
13+
14+
gem "wdm", "~> 0.2.0", :platforms => [:mingw, :x64_mingw, :mswin]

_config.yml

Lines changed: 225 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,225 @@
1-
# Specify layouts folder
2-
# layouts_dir: layouts/
1+
# The Site Configuration
2+
3+
# Import the theme
4+
theme: jekyll-theme-chirpy
5+
6+
# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
7+
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
8+
# otherwise, the layout language will use the default value of 'en'.
9+
lang: en
10+
11+
# Change to your timezone › https://kevinnovak.github.io/Time-Zone-Picker
12+
timezone:
13+
14+
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
15+
# ↓ --------------------------
16+
17+
title: Chirpy # the main title
18+
19+
tagline: A text-focused Jekyll theme # it will display as the subtitle
20+
21+
description: >- # used by seo meta and the atom feed
22+
A minimal, responsive and feature-rich Jekyll theme for technical writing.
23+
24+
# Fill in the protocol & hostname for your site.
25+
# E.g. 'https://username.github.io', note that it does not end with a '/'.
26+
url: ""
27+
28+
github:
29+
username: JustinBraben # change to your GitHub username
30+
31+
twitter:
32+
username: twitter_username # change to your Twitter username
33+
34+
social:
35+
# Change to your full name.
36+
# It will be displayed as the default author of the posts and the copyright owner in the Footer
37+
name: Justin Braben
38+
email: [email protected] # change to your email address
39+
links:
40+
# The first element serves as the copyright owner's link
41+
- https://twitter.com/username # change to your Twitter homepage
42+
- https://github.com/JustinBraben # change to your GitHub homepage
43+
# Uncomment below to add more social links
44+
# - https://www.facebook.com/username
45+
# - https://www.linkedin.com/in/username
46+
47+
# Site Verification Settings
48+
webmaster_verifications:
49+
google: # fill in your Google verification code
50+
bing: # fill in your Bing verification code
51+
alexa: # fill in your Alexa verification code
52+
yandex: # fill in your Yandex verification code
53+
baidu: # fill in your Baidu verification code
54+
facebook: # fill in your Facebook verification code
55+
56+
# ↑ --------------------------
57+
# The end of `jekyll-seo-tag` settings
58+
59+
# Web Analytics Settings
60+
analytics:
61+
google:
62+
id: # fill in your Google Analytics ID
63+
goatcounter:
64+
id: # fill in your GoatCounter ID
65+
umami:
66+
id: # fill in your Umami ID
67+
domain: # fill in your Umami domain
68+
matomo:
69+
id: # fill in your Matomo ID
70+
domain: # fill in your Matomo domain
71+
cloudflare:
72+
id: # fill in your Cloudflare Web Analytics token
73+
fathom:
74+
id: # fill in your Fathom Site ID
75+
76+
# Page views settings
77+
pageviews:
78+
provider: # now only supports 'goatcounter'
79+
80+
# Prefer color scheme setting.
81+
#
82+
# Note: Keep empty will follow the system prefer color by default,
83+
# and there will be a toggle to switch the theme between dark and light
84+
# on the bottom left of the sidebar.
85+
#
86+
# Available options:
87+
#
88+
# light — Use the light color scheme
89+
# dark — Use the dark color scheme
90+
#
91+
theme_mode: # [light | dark]
92+
93+
# The CDN endpoint for media resources.
94+
# Notice that once it is assigned, the CDN url
95+
# will be added to all media resources (site avatar, posts' images, audio and video files) paths starting with '/'
96+
#
97+
# e.g. 'https://cdn.com'
98+
cdn:
99+
100+
# the avatar on sidebar, support local or CORS resources
101+
avatar:
102+
103+
# The URL of the site-wide social preview image used in SEO `og:image` meta tag.
104+
# It can be overridden by a customized `page.image` in front matter.
105+
social_preview_image: # string, local or CORS resources
106+
107+
# boolean type, the global switch for TOC in posts.
108+
toc: true
109+
110+
comments:
111+
# Global switch for the post-comment system. Keeping it empty means disabled.
112+
provider: # [disqus | utterances | giscus]
113+
# The provider options are as follows:
114+
disqus:
115+
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
116+
# utterances settings › https://utteranc.es/
117+
utterances:
118+
repo: # <gh-username>/<repo>
119+
issue_term: # < url | pathname | title | ...>
120+
# Giscus options › https://giscus.app
121+
giscus:
122+
repo: # <gh-username>/<repo>
123+
repo_id:
124+
category:
125+
category_id:
126+
mapping: # optional, default to 'pathname'
127+
strict: # optional, default to '0'
128+
input_position: # optional, default to 'bottom'
129+
lang: # optional, default to the value of `site.lang`
130+
reactions_enabled: # optional, default to the value of `1`
131+
132+
# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets
133+
assets:
134+
self_host:
135+
enabled: # boolean, keep empty means false
136+
# specify the Jekyll environment, empty means both
137+
# only works if `assets.self_host.enabled` is 'true'
138+
env: # [development | production]
139+
140+
pwa:
141+
enabled: true # The option for PWA feature (installable)
142+
cache:
143+
enabled: true # The option for PWA offline cache
144+
# Paths defined here will be excluded from the PWA cache.
145+
# Usually its value is the `baseurl` of another website that
146+
# shares the same domain name as the current website.
147+
deny_paths:
148+
# - "/example" # URLs match `<SITE_URL>/example/*` will not be cached by the PWA
149+
150+
paginate: 10
151+
152+
# The base URL of your site
153+
baseurl: ""
154+
155+
# ------------ The following options are not recommended to be modified ------------------
156+
157+
kramdown:
158+
footnote_backlink: "&#8617;&#xfe0e;"
159+
syntax_highlighter: rouge
160+
syntax_highlighter_opts: # Rouge Options › https://github.com/jneen/rouge#full-options
161+
css_class: highlight
162+
# default_lang: console
163+
span:
164+
line_numbers: false
165+
block:
166+
line_numbers: true
167+
start_line: 1
168+
169+
collections:
170+
tabs:
171+
output: true
172+
sort_by: order
173+
174+
defaults:
175+
- scope:
176+
path: "" # An empty string here means all files in the project
177+
type: posts
178+
values:
179+
layout: post
180+
comments: true # Enable comments in posts.
181+
toc: true # Display TOC column in posts.
182+
# DO NOT modify the following parameter unless you are confident enough
183+
# to update the code of all other post links in this project.
184+
permalink: /posts/:title/
185+
- scope:
186+
path: _drafts
187+
values:
188+
comments: false
189+
- scope:
190+
path: ""
191+
type: tabs # see `site.collections`
192+
values:
193+
layout: page
194+
permalink: /:title/
195+
196+
sass:
197+
style: compressed
198+
199+
compress_html:
200+
clippings: all
201+
comments: all
202+
endings: all
203+
profile: false
204+
blanklines: false
205+
ignore:
206+
envs: [development]
207+
208+
exclude:
209+
- "*.gem"
210+
- "*.gemspec"
211+
- docs
212+
- tools
213+
- README.md
214+
- LICENSE
215+
- "*.config.js"
216+
- package*.json
217+
218+
jekyll-archives:
219+
enabled: [categories, tags]
220+
layouts:
221+
category: category
222+
tag: tag
223+
permalinks:
224+
tag: /tags/:name/
225+
category: /categories/:name/

_data/contact.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# The contact options.
2+
3+
- type: github
4+
icon: "fab fa-github"
5+
6+
- type: twitter
7+
icon: "fa-brands fa-x-twitter"
8+
9+
- type: email
10+
icon: "fas fa-envelope"
11+
noblank: true # open link in current tab
12+
13+
- type: rss
14+
icon: "fas fa-rss"
15+
noblank: true

_data/share.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# Sharing options at the bottom of the post.
2+
# Icons from <https://fontawesome.com/>
3+
4+
platforms:
5+
- type: Twitter
6+
icon: "fa-brands fa-square-x-twitter"
7+
link: "https://twitter.com/intent/tweet?text=TITLE&url=URL"
8+
9+
- type: Facebook
10+
icon: "fab fa-facebook-square"
11+
link: "https://www.facebook.com/sharer/sharer.php?title=TITLE&u=URL"
12+
13+
- type: Telegram
14+
icon: "fab fa-telegram"
15+
link: "https://t.me/share/url?url=URL&text=TITLE"

_includes/navigation.html

Lines changed: 0 additions & 5 deletions
This file was deleted.

_layouts/default.html

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)