Skip to content
Closed

Restore #2556

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
c0c0414
Update Gemfile
dayforged Oct 18, 2025
c8f080a
Create pages-deploy.yml
dayforged Oct 18, 2025
cfe990d
Update _config.yml
dayforged Oct 18, 2025
0ecd7e9
Update _config.yml
dayforged Oct 18, 2025
554674e
Add files via upload
dayforged Oct 18, 2025
9632298
Update _config.yml
dayforged Oct 18, 2025
0b9a947
Update _config.yml
dayforged Oct 18, 2025
16e9e75
Update Gemfile
dayforged Oct 18, 2025
ecb6fe6
Update pages-deploy.yml
dayforged Oct 18, 2025
5cc8753
Add files via upload
dayforged Oct 18, 2025
abdf5be
Update _config.yml
dayforged Oct 18, 2025
a9a85e4
Update _config.yml
dayforged Oct 18, 2025
a5b7949
Update _config.yml
dayforged Oct 18, 2025
988c301
Update _config.yml
dayforged Oct 18, 2025
d22aaa4
Update _config.yml
dayforged Oct 18, 2025
8326a2e
Delete assets/img/favicons/knuckles.jpg
dayforged Oct 18, 2025
57f2bcb
Update _config.yml
dayforged Oct 18, 2025
fe3f5d9
Update _config.yml
dayforged Oct 18, 2025
9febfa7
Create jekyll.yml
dayforged Oct 18, 2025
bcde74e
Update _config.yml
dayforged Oct 18, 2025
f054fb8
Create custom.scss
dayforged Oct 18, 2025
a5f3223
Update main.scss
dayforged Oct 18, 2025
79f72e3
Update custom.scss
dayforged Oct 18, 2025
0102b5c
Update custom.scss
dayforged Oct 18, 2025
7d5004f
Update custom.scss
dayforged Oct 18, 2025
a726cb9
Update custom.scss
dayforged Oct 18, 2025
73f5b40
Update custom.scss
dayforged Oct 18, 2025
3546ec5
Update custom.scss
dayforged Oct 18, 2025
738891f
Update custom.scss
dayforged Oct 18, 2025
9632607
Update custom.scss
dayforged Oct 18, 2025
6de1ecf
Update custom.scss
dayforged Oct 18, 2025
c17d451
Update custom.scss
dayforged Oct 18, 2025
508b33c
Update custom.scss
dayforged Oct 18, 2025
ae4de20
Update custom.scss
dayforged Oct 18, 2025
4c7f832
Update custom.scss
dayforged Oct 18, 2025
7eb5dde
Update custom.scss
dayforged Oct 18, 2025
8bdc254
Update custom.scss
dayforged Oct 18, 2025
796284c
Update custom.scss
dayforged Oct 18, 2025
519c85d
Update custom.scss
dayforged Oct 18, 2025
adfd2b1
Update custom.scss
dayforged Oct 18, 2025
2da41a6
Update custom.scss
dayforged Oct 18, 2025
40a262b
Update custom.scss
dayforged Oct 18, 2025
4542480
Update custom.scss
dayforged Oct 18, 2025
364d11e
Update custom.scss
dayforged Oct 18, 2025
509c89b
Update custom.scss
dayforged Oct 18, 2025
4eb5253
Update custom.scss
dayforged Oct 18, 2025
5daf669
Update custom.scss
dayforged Oct 18, 2025
5197e83
Update custom.scss
dayforged Oct 18, 2025
7b9fa8f
Update custom.scss
dayforged Oct 18, 2025
569909a
Update custom.scss
dayforged Oct 18, 2025
43c8f43
Update custom.scss
dayforged Oct 18, 2025
9939cfc
Update default.html
dayforged Oct 18, 2025
9e0fda4
Update custom.scss
dayforged Oct 18, 2025
c9ce09f
Update custom.scss
dayforged Oct 18, 2025
4fdb259
Update default.html
dayforged Oct 18, 2025
f012797
Update custom.scss
dayforged Oct 18, 2025
c5e47ea
Update custom.scss
dayforged Oct 18, 2025
f87a05a
Add files via upload
dayforged Oct 18, 2025
eaddb4a
Update custom.scss
dayforged Oct 18, 2025
1d75f06
Update custom.scss
dayforged Oct 18, 2025
d314fc5
Update custom.scss
dayforged Oct 18, 2025
426026b
Update default.html
dayforged Oct 18, 2025
b4ea366
Update default.html
dayforged Oct 18, 2025
912b365
Update default.html
dayforged Oct 18, 2025
19e68e3
Update custom.scss
dayforged Oct 18, 2025
2d402df
Update custom.scss
dayforged Oct 18, 2025
5bceb27
Update default.html
dayforged Oct 18, 2025
b6d0a23
Update custom.scss
dayforged Oct 18, 2025
ea28d59
Update custom.scss
dayforged Oct 18, 2025
dea80ef
Update custom.scss
dayforged Oct 18, 2025
e02ee6d
Update custom.scss
dayforged Oct 18, 2025
a854f61
Update custom.scss
dayforged Oct 18, 2025
776ff7f
Update custom.scss
dayforged Oct 18, 2025
666d32a
Update custom.scss
dayforged Oct 18, 2025
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
65 changes: 65 additions & 0 deletions .github/workflows/jekyll.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

# Sample workflow for building and deploying a Jekyll site to GitHub Pages
name: Deploy Jekyll site to Pages

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

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

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
# Build job
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Ruby
# https://github.com/ruby/setup-ruby/releases/tag/v1.207.0
uses: ruby/setup-ruby@4a9ddd6f338a97768b8006bf671dfbad383215f4
with:
ruby-version: '3.1' # Not needed with a .ruby-version file
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
cache-version: 0 # Increment this number if you need to re-download cached gems
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Build with Jekyll
# Outputs to the './_site' directory by default
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
env:
JEKYLL_ENV: production
- name: Upload artifact
# Automatically uploads an artifact from the './_site' directory by default
uses: actions/upload-pages-artifact@v3

# Deployment job
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@v4
25 changes: 25 additions & 0 deletions .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and Deploy Chirpy

on:
push:
branches:
- main
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ruby/setup-ruby@v1
with:
ruby-version: '3.1'
bundler-cache: true
- run: |
bundle install
bundle exec jekyll build -d _site
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: gh-pages
17 changes: 7 additions & 10 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
# frozen_string_literal: true

source "https://rubygems.org"

gemspec

gem "html-proofer", "~> 5.0", group: :test
gem "jekyll", "~> 4.3"
gem "jekyll-theme-chirpy", "~> 7.0"

platforms :mingw, :x64_mingw, :mswin, :jruby do
gem "tzinfo", ">= 1", "< 3"
gem "tzinfo-data"
group :jekyll_plugins do
gem "jekyll-paginate"
gem "jekyll-seo-tag"
gem "jekyll-feed"
gem "jekyll-archives"
end

gem "wdm", "~> 0.2.0", :platforms => [:mingw, :x64_mingw, :mswin]
58 changes: 17 additions & 41 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,50 +1,25 @@
# The Site Configuration

# Import the theme
theme: jekyll-theme-chirpy

# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
# otherwise, the layout language will use the default value of 'en'.
lang: en

# Change to your timezone › https://zones.arilyn.cc
timezone: Asia/Shanghai

# jekyll-seo-tag settings › https://github.com/jekyll/jekyll-seo-tag/blob/master/docs/usage.md
# ↓ --------------------------

title: Chirpy # the main title

tagline: A text-focused Jekyll theme # it will display as the subtitle
lang: ko
timezone: Asia/Seoul

description: >- # used by seo meta and the atom feed
A minimal, responsive and feature-rich Jekyll theme for technical writing.
title: Knuckles Doe
tagline: 개인 공부 및 기록용 블로그
description: 개인 학습과 기록을 위한 익명의 블로그입니다.

# Fill in the protocol & hostname for your site.
# E.g. 'https://username.github.io', note that it does not end with a '/'.
url: ""
url: "https://dayforged.github.io/"

github:
username: github_username # change to your GitHub username
username: dayforged # change to your GitHub username

twitter:
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: your_full_name
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/username # change to your GitHub homepage
# Uncomment below to add more social links
# - https://www.facebook.com/username
# - https://www.linkedin.com/in/username

# Site Verification Settings
name: "너클즈" # 이름 표시 안 함
email: "" # 이메일 표시 안 함
links: [] # 소셜 링크 완전 비활성화

webmaster_verifications:
google: # fill in your Google verification code
bing: # fill in your Bing verification code
Expand Down Expand Up @@ -98,11 +73,8 @@ theme_mode: # [light | dark]
cdn: "https://chirpy-img.netlify.app"

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

# 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.
social_preview_image: # string, local or CORS resources
avatar: "https://dayforged.github.io/assets/knuckles.jpg"
social_preview_image: "https://dayforged.github.io/assets/knuckles.jpg"

# boolean type, the global switch for TOC in posts.
toc: true
Expand Down Expand Up @@ -224,3 +196,7 @@ jekyll-archives:
permalinks:
tag: /tags/:name/
category: /categories/:name/

include:
- assets/knuckles.jpg

13 changes: 13 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,17 @@

{% include_cached search-loader.html lang=lang %}
</body>

<script>
window.addEventListener("load", function() {
const avatar = document.querySelector("#avatar");
if (avatar) {
avatar.style.display = "flex";
avatar.style.justifyContent = "center";
avatar.style.alignItems = "center";
}
});
</script>


</html>
12 changes: 12 additions & 0 deletions _sass/custom.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#avatar a {
pointer-events: none;
}

#avatar {
display: flex !important;
justify-content: center !important;
align-items: center !important;
margin: 0 auto !important;
padding: 0 !important;
width: 100%;
}
1 change: 1 addition & 0 deletions _sass/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@
@forward 'components';
@forward 'layout';
@forward 'pages';
@forward 'custom';
Binary file modified assets/img/favicons/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/img/favicons/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/img/favicons/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/img/favicons/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/img/favicons/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/img/favicons/favicon.ico
Binary file not shown.
Binary file added assets/knuckles.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading