Skip to content

Switch themes #29

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1,210 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1210 commits
Select commit Hold shift + click to select a range
378b65a
fix: the `code` doesn’t wrap inside the prompt (#626)
cotes2020 Jul 1, 2022
5eb329f
chore: center align preview image caption (#633)
cotes2020 Jul 2, 2022
20b7fe3
docs: adding a note about preview images and `v5.2.0` (#632)
joshjohanning Jul 2, 2022
ad137fa
feat(i18n): add Turkish language (#631)
Jul 2, 2022
3fa1bf3
fix: code contains spaces in headings (#644)
NichtsHsu Jul 23, 2022
22d4275
refactor: optimize the layout of archive timeline
cotes2020 Aug 3, 2022
d792a2f
chore: improve responsive design of archive entries
cotes2020 Aug 8, 2022
b405a58
refactor: make sure there is space at the bottom of core block
cotes2020 Aug 8, 2022
940b281
feat(i18n): add German locale file (#663)
danhaid99 Aug 13, 2022
b78a2d8
docs: fix a typo of the tutorial (#676)
MartinP7r Sep 7, 2022
43323ab
chore(ci, cd): build and deploy via _gh-actions_ directly
Aug 13, 2022
21c8c2b
docs: switch the reference of `deploy.sh` to `test.sh`
Aug 13, 2022
e993ac8
docs: update deployment notes
Aug 13, 2022
45c58d8
Merge pull request #664 from GriceTurrble/patch-1
cotes2020 Sep 7, 2022
0dcd39d
fix: add missing color to linkedin icon for share list (#683)
nshidqi Sep 7, 2022
4023be9
chore: simplify the release tool
cotes2020 Sep 9, 2022
163c576
docs: update deployment tutorial
cotes2020 Sep 10, 2022
f35b147
docs: update URL on readme
cotes2020 Sep 10, 2022
b288587
fix: correct spelling of `panel` (#686)
sorindex Sep 12, 2022
f1d9e99
feat: add multiple authors to a post (#677)
MichaelTan9999 Sep 13, 2022
0c5b697
fix: correct the i18n for tab titles
cotes2020 Sep 20, 2022
e55ebad
docs: add PV feature deprecation note
cotes2020 Sep 23, 2022
3878815
chore(release): 5.3.0
cotes2020 Sep 23, 2022
7cc36c5
Merge branch 'master' into production
cotes2020 Sep 23, 2022
8bcdd87
chore(docs, cd): correct workflow name in tutorial
cotes2020 Sep 24, 2022
49bb93c
perf(layout): improve the min-height of main content (#674)
cotes2020 Sep 28, 2022
3ffd19d
refactor: rename color variable
cotes2020 Sep 29, 2022
827f84c
chore: move CN funding to GitHub
cotes2020 Sep 30, 2022
fec5214
chore: reduce files from gem package
cotes2020 Oct 1, 2022
39da11e
perf: optimize the extra padding in lists (#703)
joshjohanning Oct 5, 2022
d2fb98b
perf(posts): improve core block bottom padding
cotes2020 Oct 5, 2022
80cb0b3
fix(tools): multiple configuration files will fail the test
cotes2020 Oct 6, 2022
76712c0
chore(travis): enable the cache in `production` build
cotes2020 Oct 7, 2022
5511b28
fix: 404 page missing title in tablet/desktop view
cotes2020 Oct 7, 2022
fb13e32
fix: prompt content overflows horizontally (#705)
cotes2020 Oct 7, 2022
304d75c
chore(deps): upgrade Mermaid to 9.x
cotes2020 Oct 7, 2022
eac3f9b
perf(typography): optimize the line height of post content
cotes2020 Oct 8, 2022
1082d04
refactor: improve prompt box layout
cotes2020 Oct 8, 2022
65f722f
docs: update typography demo post
cotes2020 Oct 9, 2022
fd5df7e
refactor(typo): optimize the site-title position
cotes2020 Oct 11, 2022
3432413
refactor(mobile): resume footer slide animation & content min-height
cotes2020 Oct 13, 2022
70662a0
chore(giscus): add `reactions-enabled` option (#712)
ruzickap Oct 14, 2022
d9d7848
style(linter): fix linter issues
ruzickap Oct 14, 2022
916fbf4
build(gulp): append new line at end of JS files
cotes2020 Oct 15, 2022
81b9f7a
Merge pull request #713 from ruzickap/fix-linter-issues
cotes2020 Oct 15, 2022
f904e8c
refactor(locale): restore options for changing date format (#716)
cotes2020 Oct 18, 2022
6852ceb
refactor: remove site config option `prefer_datetime_locale`
cotes2020 Oct 18, 2022
d96fa5a
refactor: reduce language include file
cotes2020 Oct 18, 2022
5de6f17
Merge branch 'feature/improve-locale-datetime'
cotes2020 Oct 18, 2022
294e298
build(npm): add stylelint
cotes2020 Oct 19, 2022
a6ce765
style: improve SCSS style
cotes2020 Oct 19, 2022
e7dee2a
refactor: update vendor prefix in SCSS
cotes2020 Oct 21, 2022
3c44a1f
chore: correct spelling of example (#718)
Svenskithesource Oct 21, 2022
b6a1a41
style(js): fix code style in JS
cotes2020 Oct 21, 2022
1c330f4
chore(gh-actions): add style-lint on CI
cotes2020 Oct 21, 2022
647eea8
perf: truncate post content for search results
cotes2020 Oct 21, 2022
e48d66e
docs: update CI badge
cotes2020 Oct 22, 2022
1fd665b
perf: modify checkbox icon with `Liquid`
cotes2020 Oct 24, 2022
339293d
style: 4 space indents to the JS files
cotes2020 Oct 25, 2022
df8185f
build: add `skip-versioning` option for release tool
cotes2020 Oct 25, 2022
e107a2e
chore(release): 5.3.1
cotes2020 Oct 25, 2022
c0e3e61
Merge branch 'master' into production
cotes2020 Oct 25, 2022
8134209
chore: optimize list indentation (#727)
NichtsHsu Nov 4, 2022
6774e0e
fix: restore full-text search (#741)
cotes2020 Nov 4, 2022
48f14e3
fix: `mermaid` occasionally fails to initialize (#536)
cotes2020 Nov 4, 2022
ae2669f
docs: restore some tutorial content (#721)
cotes2020 Nov 12, 2022
f6e9a3f
fix: the image URL in the SEO-related tags is incomplete (#754)
cotes2020 Nov 16, 2022
da7d7e2
refactor: enhance the setting of preview image path
cotes2020 Nov 18, 2022
782a930
docs: update tutorial for defining preview image
cotes2020 Nov 18, 2022
b3de722
chore: migrate resource URLs
cotes2020 Nov 21, 2022
e50343b
refactor(tools): reduce release steps
cotes2020 Nov 22, 2022
b0d5956
fix(comment): disqus doesn't follow theme mode switching
cotes2020 Nov 22, 2022
773d3b1
chore(icons): upgrade FontAwesome to v6.x
cotes2020 Nov 22, 2022
4e7bf00
chore: optimize the heading levels in change-log
cotes2020 Nov 22, 2022
fe2a3cd
chore(release): 5.3.2
cotes2020 Nov 22, 2022
5b5a386
Merge branch 'master' into production
cotes2020 Nov 22, 2022
8734d1c
chore: correct typo in `tools/init.sh` (#773)
Bornunique911 Dec 2, 2022
7fd15a2
chore(i18n): update Bulgarian translation (#777)
MrEddX Dec 2, 2022
fa9879b
chore: improve init-tool
cotes2020 Dec 4, 2022
9de95bf
build: reduce unnecessary builds
cotes2020 Dec 4, 2022
5fc4283
build(cd): migrate CD to GitHub
cotes2020 Dec 4, 2022
e7426ec
chore: update image source
cotes2020 Dec 4, 2022
ec98f07
fix: refactoring error when the image URL contains parameters
cotes2020 Dec 7, 2022
7efd2f8
fix: spaces in post title are encoded when sharing
cotes2020 Dec 6, 2022
7fb0ee0
perf(cdn): optimize cache policy for static assets
cotes2020 Dec 6, 2022
5561cd8
refactor(icons): upgrade font-awesome syntax to version 6
cotes2020 Dec 7, 2022
7651d28
fix: `hreflang` tag attribute of feed misses `site.alt_lang`
cotes2020 Dec 7, 2022
ca41c7e
chore(deps): use `lazysizes` to load images
cotes2020 Dec 8, 2022
bffaf63
feat: support LQIP for images
cotes2020 Dec 10, 2022
ab16fdc
feat: add shimmer background when image loads
cotes2020 Dec 13, 2022
4b6ccbc
feat: set preview image ratio to 1.91 : 1
cotes2020 Dec 14, 2022
8de1abd
fix: `og:image` will be incorrect if the image uses a cross-domain URL
cotes2020 Dec 15, 2022
ed6dc53
feat: add embed video support
cotes2020 Dec 16, 2022
9306c7b
feat: support dark and light mode images (#481)
cotes2020 Dec 19, 2022
e01eb8a
refactor: unify the border radius of blocks
cotes2020 Dec 20, 2022
8f2b42b
test(ci): correct the patterns to match the SCSS files
cotes2020 Dec 24, 2022
8e73a91
test(ci): drop some old ruby ​​versions
cotes2020 Dec 24, 2022
d2190c7
feat: add `rel="me"` to Mastodon sidebar contact links for verificati…
kendaleiv Dec 24, 2022
7a3d743
chore: update footer meta information
cotes2020 Dec 25, 2022
09f9305
chore: hide blur edge of LQIP images
cotes2020 Dec 27, 2022
09e4ad2
chore(deps): update gem spec list
cotes2020 Dec 27, 2022
d7bcb40
refactor: update deprecated syntax for SASS division
cotes2020 Dec 27, 2022
72700be
chore(ci): fix workflow trigger conditions
cotes2020 Dec 27, 2022
5a191e7
chore: remove extension from tools
cotes2020 Dec 27, 2022
6fa1777
chore(tools): checkout latest tag on initialization
cotes2020 Dec 27, 2022
8440d42
docs: add tutorial and example for new features
cotes2020 Dec 27, 2022
937b223
docs(readme): update feature list
cotes2020 Dec 27, 2022
7887b5a
chore(release): 5.4.0
cotes2020 Dec 27, 2022
5ea3d0f
Merge branch 'master' into production
cotes2020 Dec 27, 2022
7754a71
chore(editorconfig): keep trailing spaces in Markdown (#830)
berk76 Jan 2, 2023
98d48f5
feat(i18n): add Czech language (#833)
MatyBuild Jan 2, 2023
f2d2858
fix: correct encoding of spaces in share URLs (#835)
cotes2020 Jan 5, 2023
bd374dd
fix: post's image would cover the PWA update alert
cotes2020 Jan 7, 2023
d6d0318
feat(i18n): add Finnish translations (#843)
Kaaponen Jan 7, 2023
e8d20bf
docs: update tutorials
cotes2020 Jan 9, 2023
808d374
chore(deps): lock `jekyll-sass-converter` to `v2.x` on Linux-musl (#829)
cotes2020 Jan 11, 2023
5f62876
chore(bundler): deprecate `:install_if` option in Gemfile
cotes2020 Jan 12, 2023
9a011e1
feat(i18n): add Italian translation (#850)
CsaProtocol Jan 12, 2023
41ed331
fix: copy command line incomplete(`.gp` part)
cotes2020 Jan 12, 2023
765af53
feat(i18n): add Arabic translation (#857)
i4pg Jan 18, 2023
269506b
chore(deps): liquid(v4.0.4) is compatible with ruby 3.2 (#854)
cotes2020 Jan 18, 2023
dd339ae
chore: ignore gem lock file in user-end
cotes2020 Jan 29, 2023
511df11
refactor: optimize tab cursor position calculation
cotes2020 Jan 29, 2023
babb4a0
fix: prompt with nested blockquotes renders incorrectly (#846)
cotes2020 Jan 29, 2023
4b67221
chore(release): 5.5.0
cotes2020 Jan 29, 2023
54ba8be
Merge branch 'master' into production
cotes2020 Jan 29, 2023
0c9558d
fix: the icon position of the prompts in the list is incorrect
cotes2020 Jan 29, 2023
8bc9d25
chore(release): 5.5.1
cotes2020 Jan 29, 2023
5021678
Merge branch 'hotfix/5.5.1' into production
cotes2020 Jan 29, 2023
2b59326
Merge branch 'hotfix/5.5.1'
cotes2020 Jan 29, 2023
5df953f
fix: position of prompt icon is incorrect in paragraph on mobile
cotes2020 Jan 30, 2023
3b89bf1
chore(release): 5.5.2
cotes2020 Jan 30, 2023
7a60171
Merge branch 'hotfix/5.5.2' into production
cotes2020 Jan 30, 2023
af8986b
Merge branch 'hotfix/5.5.2'
cotes2020 Jan 30, 2023
5cbaf24
refactor(sidebar): improve creation of social links
cotes2020 Feb 6, 2023
27f4bf0
style: format YAML array
cotes2020 Feb 6, 2023
909d136
docs(github): add security policy (#885)
cotes2020 Feb 11, 2023
ecff563
chore(security): scan for vulnerabilities
cotes2020 Feb 11, 2023
a2d0136
chore(github): simplify the creation steps of issue/pr
cotes2020 Feb 11, 2023
c3a8400
refactor: replace the deprecated js api
cotes2020 Feb 14, 2023
5c6ec9d
fix: css selector string escaping vulnerability (#888)
cotes2020 Feb 14, 2023
d0cf2a8
chore(codeql): improve triggering conditions
cotes2020 Feb 14, 2023
4490ce4
refactor(tools): fix shell check issues
cotes2020 Feb 15, 2023
f517b33
docs: update issue template
cotes2020 Feb 16, 2023
b1453cc
chore: delete useless code
cotes2020 Feb 18, 2023
d921b98
docs: update tutorial
cotes2020 Feb 19, 2023
712a9b2
feat(i18n): add Greek Language Support. (#903)
Greekforce1821 Feb 22, 2023
1e5c025
chore(vcs): improve git-ignore entries
cotes2020 Feb 28, 2023
fe82cea
chore(tools): fix typo
cotes2020 Feb 28, 2023
09121c1
docs: move the development guide to README (#900)
cotes2020 Mar 1, 2023
7e6c667
chore: update project description
cotes2020 Mar 1, 2023
4681df7
fix: mathematics cannot scroll horizontally (#760)
cotes2020 Mar 1, 2023
968c13e
chore(deps): upgrade NPM packages
cotes2020 Mar 4, 2023
002f025
chore: update code style config
cotes2020 Mar 6, 2023
b69d3d7
refactor(build): modularize JS code
cotes2020 Mar 13, 2023
60229ae
chore(ci,tools): adapt to changes in JS builds
cotes2020 Mar 13, 2023
016399a
Merge branch 'feature/esm'
cotes2020 Mar 15, 2023
474b4ba
chore: update configure-pages action (#931)
joshjohanning Mar 15, 2023
02b7bd5
feat: change TOC plugin to `tocbot` (#774)
cotes2020 Mar 15, 2023
3c7934a
style: improve code style of SCSS & YAML
cotes2020 Mar 15, 2023
820ba62
fix: notch status bar doesn't match theme color (#918)
cotes2020 Mar 16, 2023
d96b881
refactor: remove version number from self host config
cotes2020 Mar 16, 2023
e8e4901
fix: some console snippets will be incompletely copied
cotes2020 Mar 16, 2023
111b828
style: fix scss lint issue
cotes2020 Mar 17, 2023
b85f633
feat(ux): turn home page posts into clickable cards (#895)
cotes2020 Mar 17, 2023
3cd81e7
chore: recover accidentally deleted LQIP style
cotes2020 Mar 17, 2023
471e8c4
chore(tools): resume git checkout in initialization
cotes2020 Mar 17, 2023
388efb1
chore(tools): add JS dist to gem release
cotes2020 Mar 17, 2023
6e6b647
docs: migrate upgrade details to the wiki
cotes2020 Mar 17, 2023
0d9cec6
chore(release): 5.6.0
cotes2020 Mar 17, 2023
61d9c22
Merge branch 'master' into production
cotes2020 Mar 17, 2023
6fec411
fix: mode-toggle leads to Disqus loading failure (#945)
v4vong Mar 22, 2023
bf199d7
chore(deps): upgrade npm packages
cotes2020 Mar 30, 2023
6f97636
chore(build): set rollup watching path
cotes2020 Mar 30, 2023
8b4f99c
fix: pageviews not updated immediately
cotes2020 Mar 30, 2023
8225174
fix(deps): `tocbot` has no initialization detection (#957)
cotes2020 Mar 30, 2023
c45f399
chore(release): 5.6.1
cotes2020 Mar 30, 2023
387f0ec
Merge branch 'master' into production
cotes2020 Mar 30, 2023
39b81aa
docs: update issue template (#958)
cotes2020 Mar 31, 2023
d97f95f
feat(i18n): add Traditional Chinese (Taiwan) localization file (#961)
Apr 2, 2023
fe70479
feat(i18n): added Swedish localization file (#969)
JorgenIvarsson Apr 9, 2023
1719d81
fix(rss): double quotes in the post title will break the XML structur…
v4vong Apr 10, 2023
b63b65d
chore(stylelint): optimize the rule for `font-family` variables (#987)
cotes2020 Apr 16, 2023
7ec31e8
refactor: enhance the configurability of fonts (#986)
v4vong Apr 16, 2023
42a700a
feat(i18n): add sl-SI.yml with slovenian translations (#989)
mikeytroo Apr 16, 2023
6f6e309
chore(github): simplify PR template (#991)
cotes2020 Apr 16, 2023
e90461a
perf(tools): avoid initialization interruption in single branch forks…
cotes2020 Apr 16, 2023
fe20341
feat: add a hook to insert custom metadata in `head` tag (#1015)
v4vong May 3, 2023
aca79c1
chore(tools): fix typos (#1018)
May 3, 2023
61fdbcb
perf(i18n): set the global default locales to "en" (#979)
cotes2020 May 5, 2023
8da583d
feat: support hiding the modification date of a post (#1020)
darianmiller May 6, 2023
ee88cec
fix: parameter parsing error in image URL (#1022)
cotes2020 May 12, 2023
97b8dfe
feat(ui): show preview image in home page
cotes2020 Mar 17, 2023
2918da9
perf(ui): improve related posts design
cotes2020 Mar 20, 2023
aadf939
perf(ui): uniform the muted text color
cotes2020 Mar 21, 2023
34499f0
perf(ui): improve hover effect of trending tags
cotes2020 Mar 21, 2023
7626e4d
perf(ui): improve hover effect for post preview cards
cotes2020 Mar 21, 2023
f0266c1
refactor(scss): update vendor prefix
cotes2020 Mar 21, 2023
414dd13
perf(ui): improve categories color in dark mode
cotes2020 Mar 21, 2023
2a4d67d
refactor: uniform block border radius
cotes2020 Mar 21, 2023
7c23a4e
perf(ui): lighten the link color in light-mode
cotes2020 Mar 21, 2023
003e7b6
perf(ux): improve LQIP fade in effect
cotes2020 Mar 21, 2023
8cbbcfa
perf(ui): improve the color of prompts in dark mode
cotes2020 Mar 22, 2023
e38309f
perf(ui): improve inline code in light mode
cotes2020 Mar 23, 2023
0c80552
perf(ui): mute the marker in lists
cotes2020 Mar 23, 2023
6d99f5c
feat(ui): improve code snippet design
cotes2020 Mar 23, 2023
83bbe4a
feat(ui): redesign the sidebar
cotes2020 Mar 24, 2023
83f1c34
feat(ui): improve the design for top bar
cotes2020 Mar 28, 2023
3210c59
feat(ui): new design footer content layout
cotes2020 Apr 2, 2023
d9e1d84
refactor(deps): upgrade bootstrap from v4.6 to v5.2
cotes2020 Apr 10, 2023
016a9ba
Merge branch 'feature/v6-ui' (#1034)
cotes2020 May 12, 2023
9d97120
perf(assets): reduce HTTP requests to CDN
cotes2020 Mar 22, 2023
c283e77
refactor!: rename assets origin configuration files
cotes2020 Mar 30, 2023
1967de1
refactor(js): reduce function complexity
cotes2020 Apr 9, 2023
ea6268d
chore(ci): upgrade commit-lint actions
cotes2020 May 2, 2023
25ec764
chore(deps): upgrade the version of depdencies (#953, #994)
cotes2020 May 12, 2023
fe18011
Merge branch 'feature/v6-core'
cotes2020 May 12, 2023
129c4b3
docs: update tutorial & demo content
cotes2020 May 12, 2023
b3c4d74
refactor(img): disable transition effect in popup images
cotes2020 May 13, 2023
52f5ee9
perf: calculate heading font size dynamically (#983)
cotes2020 May 13, 2023
d81f836
refactor: simplify basic layout (#1039)
cotes2020 May 16, 2023
12ce8f9
chore(i18n): remove outdated items
cotes2020 May 16, 2023
c5f15a3
chore(release): 6.0.0
cotes2020 May 16, 2023
de6ec65
Merge branch 'master' into production
cotes2020 May 16, 2023
aba9468
fix(home): preview image missing `[alt]` and `img_path` (#1044)
cotes2020 May 17, 2023
3bd881d
fix(post, page): image link loses shimmer effect (#1046)
cotes2020 May 18, 2023
eb40f51
fix(layout): restore the margin bottom of the main area (#1047)
cotes2020 May 18, 2023
a51d31c
fix(typography): long string for update-list is not truncated (#1050)
cotes2020 May 18, 2023
83eecda
refactor: remove dead SCSS code (#1053)
cotes2020 May 19, 2023
98850e1
chore(build): tag on `production` branch instead of `master` (#1052)
cotes2020 May 19, 2023
066c1cd
chore(release): 6.0.1
cotes2020 May 19, 2023
bef2ac0
Merge branch 'hotfix/6.0.1'
cotes2020 May 19, 2023
f6bf6d0
refactor: improve JS/HTML for button back2top (#1054)
cotes2020 May 19, 2023
73af591
fix(ui): min-height of `page` layout exceeds the mobile screen
cotes2020 May 19, 2023
c4da99c
fix(webfont): resume semi-bold of font family `Source Sans Pro`
cotes2020 May 22, 2023
ce2f6f5
perf(ui): avoid blank space at the bottom of the homepage preview image
cotes2020 May 25, 2023
728094d
perf(ui): improve hover color of sidebar nav items in light mode
cotes2020 Jun 4, 2023
8362564
refactor(core): remove GA page views report (#1071)
cotes2020 Jun 4, 2023
29a8bc2
chore(deps): upgrade major version of npm packages
cotes2020 Jun 4, 2023
1682ce9
style(scss): fix style-lint `media-feature-range-notation` issue (#1072)
cotes2020 Jun 4, 2023
fa32578
build: replace the stale app with gh-actions
cotes2020 Jun 7, 2023
311e476
Merge remote-tracking branch 'chirpy/master' into switch-themes
CohenArthur Jun 8, 2023
8ca7929
theme is working!
CohenArthur Jun 8, 2023
51b7cae
assets: Update favicons
CohenArthur Jun 8, 2023
e0a486a
config: Update avatar and add square logo
CohenArthur Jun 8, 2023
b24ecb7
theme: Remove example posts from Chirpy theme
CohenArthur Jun 8, 2023
f3695ed
github: Remove most of chirpy's CI
CohenArthur Jun 8, 2023
7fef5d2
images: Fix missing image
CohenArthur Jun 8, 2023
1430d69
2022-year-report: Fix invalid links
CohenArthur Jun 8, 2023
7db45b2
chirpy: initialize the environment
CohenArthur Jun 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# https://github.com/browserslist/browserslist#browserslistrc

last 2 versions
> 0.2%
not dead
8 changes: 8 additions & 0 deletions .commitlintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"rules": {
"body-max-line-length": [
0,
"always"
]
}
}
19 changes: 19 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
root = true

[*]
charset = utf-8
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
# Unix-style newlines with a newline ending every file
end_of_line = lf
insert_final_newline = true

[*.{js,css,scss}]
quote_type = single

[*.{yml,yaml}]
quote_type = double

[*.md]
trim_trailing_whitespace = false
16 changes: 16 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Set default behavior to automatically normalize line endings.
* text=auto

# Force bash scripts to always use LF line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
*.sh text eol=lf

# Force batch scripts to always use CRLF line endings so that if a repo is accessed
# in Windows via a file share from Linux, the scripts will work.
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.ico binary
71 changes: 71 additions & 0 deletions .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
name: "Build and Deploy"
on:
push:
branches:
- main
- master
paths-ignore:
- .gitignore
- README.md
- LICENSE

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
# submodules: true
# If using the 'assets' git submodule from Chirpy Starter, uncomment above
# (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets)

- name: Setup Pages
id: pages
uses: actions/configure-pages@v3

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3 # reads from a '.ruby-version' or '.tools-version' file if 'ruby-version' is omitted
bundler-cache: true

- name: Build site
run: bundle exec jekyll b -d "_site${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: "production"

- name: Test site
run: |
bundle exec htmlproofer _site --disable-external --check-html --allow_hash_href

- name: Upload site artifact
uses: actions/upload-pages-artifact@v1
with:
path: "_site${{ steps.pages.outputs.base_path }}"

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
21 changes: 21 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Bundler cache
.bundle
vendor
Gemfile.lock

# Jekyll cache
.jekyll-cache
_site

# RubyGems
*.gem

# NPM dependencies
node_modules
package-lock.json

# IDE configurations
.idea
.vscode

# Misc
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "assets/lib"]
path = assets/lib
url = https://github.com/cotes2020/chirpy-static-assets.git
4 changes: 4 additions & 0 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx --no -- commitlint -x $(npm root -g)/@commitlint/config-conventional --edit
Empty file added .nojekyll
Empty file.
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"trailingComma": "none"
}
22 changes: 22 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"extends": "stylelint-config-standard-scss",
"rules": {
"no-descending-specificity": null,
"shorthand-property-no-redundant-values": null,
"at-rule-no-vendor-prefix": null,
"property-no-vendor-prefix": null,
"selector-no-vendor-prefix": null,
"value-no-vendor-prefix": null,
"color-function-notation": "legacy",
"alpha-value-notation": "number",
"selector-not-notation": "simple",
"color-hex-length": "long",
"declaration-block-single-line-max-declarations": 3,
"scss/operator-no-newline-after": null,
"rule-empty-line-before": [
"always",
{ "ignore": ["after-comment", "first-nested", "inside-block"] }
],
"value-keyword-case": ["lower", { "ignoreProperties": ["/^\\$/"] }]
}
}
20 changes: 20 additions & 0 deletions .versionrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"skip": {
"commit": true,
"tag": true
},
"types": [
{
"type": "feat",
"section": "Features"
},
{
"type": "fix",
"section": "Bug Fixes"
},
{
"type": "perf",
"section": "Improvements"
}
]
}
Loading