Skip to content

Commit

Permalink
♻️ :: Fix all
Browse files Browse the repository at this point in the history
  • Loading branch information
cherry-p0p committed Aug 25, 2024
1 parent cf4647b commit 6bf1d9f
Show file tree
Hide file tree
Showing 3 changed files with 62 additions and 45 deletions.
79 changes: 48 additions & 31 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,39 +14,39 @@ timezone: Asia/Seoul
# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
# ↓ --------------------------

title: Chirpy # the main title
title: cherry # the main titlec

tagline: iOS Developer # it will display as the subtitle
tagline: iOS Developer # it will display as the sub-title

description: >- # used by seo meta and the atom feed
A minimal, responsive and feature-rich Jekyll theme for technical writing.
Write down what I learned
# Fill in the protocol & hostname for your site.
# E.g. 'https://username.github.io', note that it does not end with a '/'.
# e.g. 'https://username.github.io', note that it does not end with a '/'.
url: "https://cherry-p0p.github.io"

github:
username: cherry-p0p # change to your GitHub username
username: cherry-p0p # change to your github username

# twitter:
# username: twitter_username # change to your Twitter username
# username: twitter_username # change to your twitter username

social:
# Change to your full name.
# It will be displayed as the default author of the posts and the copyright owner in the Footer
name: cherry-p0p
name: Riwon Chae
email: [email protected] # change to your email address
links:
# The first element serves as the copyright owner's link
# - https://twitter.com/username # change to your Twitter homepage
- https://github.com/cherry-p0p # change to your GitHub homepage
# - https://twitter.com/username # change to your twitter homepage
- https://github.com/cherry-p0p # change to your github homepage
# Uncomment below to add more social links
# - https://www.facebook.com/username
# - https://www.linkedin.com/in/username
- https://www.linkedin.com/in/cherry-p0p

# Site Verification Settings
webmaster_verifications:
google: # fill in your Google verification code
google: #
bing: # fill in your Bing verification code
alexa: # fill in your Alexa verification code
yandex: # fill in your Yandex verification code
Expand All @@ -59,7 +59,7 @@ webmaster_verifications:
# Web Analytics Settings
analytics:
google:
id: # fill in your Google Analytics ID
id: #
goatcounter:
id: # fill in your GoatCounter ID
umami:
Expand All @@ -71,7 +71,7 @@ analytics:
cloudflare:
id: # fill in your Cloudflare Web Analytics token

# Page views settings
# Pageviews settings
pageviews:
provider: # now only supports 'goatcounter'

Expand All @@ -83,20 +83,20 @@ pageviews:
#
# Available options:
#
# light Use the light color scheme
# dark Use the dark color scheme
# light - Use the light color scheme
# dark - Use the dark color scheme
#
theme_mode: dark
theme_mode: # [light | dark]

# The CDN endpoint for media resources.
# Notice that once it is assigned, the CDN url
# will be added to all media resources (site avatar, posts' images, audio and video files) paths starting with '/'
#
# e.g. 'https://cdn.com'
cdn: "https://chirpy-img.netlify.app"
# cdn: "https://chirpy-img.netlify.app"

# the avatar on sidebar, support local or CORS resources
avatar: "/commons/avatar.jpg"
avatar: #

# The URL of the site-wide social preview image used in SEO `og:image` meta tag.
# It can be overridden by a customized `page.image` in front matter.
Expand All @@ -106,8 +106,8 @@ social_preview_image: # string, local or CORS resources
toc: true

comments:
# Global switch for the post-comment system. Keeping it empty means disabled.
provider: # [disqus | utterances | giscus]
# Global switch for the post comment system. Keeping it empty means disabled.
provider: giscus
# The provider options are as follows:
disqus:
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
Expand All @@ -117,14 +117,14 @@ comments:
issue_term: # < url | pathname | title | ...>
# Giscus options › https://giscus.app
giscus:
repo: # <gh-username>/<repo>
repo_id:
category:
category_id:
mapping: # optional, default to 'pathname'
repo: #
repo_id: #
category: #
category_id: #
mapping: #
strict: # optional, default to '0'
input_position: # optional, default to 'bottom'
lang: # optional, default to the value of `site.lang`
lang: ko
reactions_enabled: # optional, default to the value of `1`

# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets
Expand All @@ -136,9 +136,9 @@ assets:
env: # [development | production]

pwa:
enabled: true # The option for PWA feature (installable)
enabled: true # the option for PWA feature (installable)
cache:
enabled: true # The option for PWA offline cache
enabled: true # the option for PWA offline cache
# Paths defined here will be excluded from the PWA cache.
# Usually its value is the `baseurl` of another website that
# shares the same domain name as the current website.
Expand Down Expand Up @@ -168,9 +168,6 @@ collections:
tabs:
output: true
sort_by: order
app:
output: true
permalink: /:name

defaults:
- scope:
Expand All @@ -193,6 +190,10 @@ defaults:
values:
layout: page
permalink: /:title/
- scope:
path: assets/js/dist
values:
swcache: true

sass:
style: compressed
Expand Down Expand Up @@ -224,3 +225,19 @@ jekyll-archives:
permalinks:
tag: /tags/:name/
category: /categories/:name/

jekyll_compose:
auto_open: false
default_front_matter:
drafts:
description:
image:
pin:
category:
tags:
posts:
description:
image:
pin:
category:
tags:
7 changes: 4 additions & 3 deletions _sass/addon/syntax.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,12 @@ html {

@at-root figure#{&} {
@extend %code-snippet-bg;
& {
overflow: auto;
padding-bottom: 0.75rem;
}
}

overflow: auto;
padding-bottom: 0.75rem;

pre {
margin-bottom: 0;
font-size: $code-font-size;
Expand Down
21 changes: 10 additions & 11 deletions _sass/colors/typography-light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* The syntax light mode typography colors
*/

@mixin light-scheme {
@mixin light-scheme {
/* Framework color */
--main-bg: white;
--mask-bg: #c1c3c5;
Expand All @@ -11,7 +11,7 @@
/* Common color */
--text-color: #34343c;
--text-muted-color: #757575;
--text-muted-highlight-color: inherit;
--text-muted-hightlight-color: inherit;
--heading-color: #2a2a2a;
--label-color: #585858;
--blockquote-border-color: #eeeeee;
Expand Down Expand Up @@ -92,21 +92,20 @@
--tag-hover: rgb(222, 226, 230);
--search-tag-bg: #f8f9fa;

[class^='prompt-'] {
--link-underline-color: rgb(219, 216, 216);
}

& {
display: none;
}

/* Categories */
--categories-border: rgba(0, 0, 0, 0.125);
--categories-hover-bg: var(--btn-border-color);
--categories-icon-hover-color: darkslategray;

[class^='prompt-'] {
--link-underline-color: rgb(219, 216, 216);
}

/* Archive */
--timeline-color: rgba(0, 0, 0, 0.075);
--timeline-node-bg: #c2c6cc;
--timeline-year-dot-color: #ffffff;
} /* light-scheme */

.dark {
display: none;
}

0 comments on commit 6bf1d9f

Please sign in to comment.