Skip to content

Commit f9c532f

Browse files
authored
Merge branch 'master' into pr/ounols/7
2 parents 4d6c788 + 4c8c2a7 commit f9c532f

File tree

213 files changed

+4820
-192
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

213 files changed

+4820
-192
lines changed

.github/workflows/build-deploy.yml

Lines changed: 76 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,76 @@
1+
name: "Build and Deploy"
2+
on:
3+
push:
4+
branches:
5+
- main
6+
- master
7+
paths-ignore:
8+
- .gitignore
9+
- README.md
10+
- LICENSE
11+
12+
# Allows you to run this workflow manually from the Actions tab
13+
workflow_dispatch:
14+
15+
permissions:
16+
contents: read
17+
pages: write
18+
id-token: write
19+
20+
# Allow one concurrent deployment
21+
concurrency:
22+
group: "pages"
23+
cancel-in-progress: true
24+
25+
jobs:
26+
build:
27+
runs-on: ubuntu-latest
28+
29+
steps:
30+
- name: Checkout
31+
uses: actions/checkout@v4
32+
with:
33+
fetch-depth: 0
34+
submodules: true
35+
# If using the 'assets' git submodule from Chirpy Starter, uncomment above
36+
# (See: https://github.com/cotes2020/chirpy-starter/tree/main/assets)
37+
38+
- name: Setup Pages
39+
id: pages
40+
uses: actions/configure-pages@v4
41+
42+
- name: Setup Ruby
43+
uses: ruby/setup-ruby@v1
44+
with:
45+
ruby-version: 3.3
46+
bundler-cache: true
47+
48+
- name: npm build
49+
run: npm install && npm run build
50+
51+
- name: Build site
52+
run: bundle exec jekyll b -d "_site${{ steps.pages.outputs.base_path }}"
53+
env:
54+
JEKYLL_ENV: "production"
55+
56+
- name: Test site
57+
run: |
58+
bundle exec htmlproofer _site \
59+
\-\-disable-external \
60+
\-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"
61+
62+
- name: Upload site artifact
63+
uses: actions/upload-pages-artifact@v3
64+
with:
65+
path: "_site${{ steps.pages.outputs.base_path }}"
66+
67+
deploy:
68+
environment:
69+
name: github-pages
70+
url: ${{ steps.deployment.outputs.page_url }}
71+
runs-on: ubuntu-latest
72+
needs: build
73+
steps:
74+
- name: Deploy to GitHub Pages
75+
id: deployment
76+
uses: actions/deploy-pages@v4

.github/workflows/scripts/pr-filter.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,12 @@ function hasDescription(markdown) {
1212
export default async ({ github, context, core }) => {
1313
const pr = context.payload.pull_request;
1414
const body = pr.body === null ? '' : pr.body;
15-
const markdown = body.replace(/<!--[\s\S]*?-->/g, '');
15+
let markdown = body;
16+
let previous;
17+
do {
18+
previous = markdown;
19+
markdown = markdown.replace(/<!--[\s\S]*?-->/g, '');
20+
} while (markdown !== previous);
1621
const action = context.payload.action;
1722

1823
const isValid =
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: redirect
3+
redirect: posts/Cpp-코드를-웹으로-포팅하는-Emscripten-알아보기
4+
---
5+

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blog.ounols.kr

_config.yml

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,40 +6,40 @@ theme: jekyll-theme-chirpy
66
# The language of the webpage › http://www.lingoes.net/en/translator/langcode.htm
77
# If it has the same name as one of the files in folder `_data/locales`, the layout language will also be changed,
88
# otherwise, the layout language will use the default value of 'en'.
9-
lang: en
9+
lang: ko
1010

1111
# Change to your timezone › https://zones.arilyn.cc
12-
timezone: Asia/Shanghai
12+
timezone: Asia/Seoul
1313

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

17-
title: Chirpy # the main title
17+
title: "@Ounols" # the main title
1818

19-
tagline: A text-focused Jekyll theme # it will display as the subtitle
19+
tagline: I'm a game developer and interested in realtime rendering. # it will display as the subtitle
2020

2121
description: >- # used by seo meta and the atom feed
2222
A minimal, responsive and feature-rich Jekyll theme for technical writing.
2323
2424
# Fill in the protocol & hostname for your site.
2525
# E.g. 'https://username.github.io', note that it does not end with a '/'.
26-
url: ""
26+
url: "https://ounols.kr"
2727

2828
github:
29-
username: github_username # change to your GitHub username
29+
username: ounols # change to your GitHub username
3030

3131
twitter:
32-
username: twitter_username # change to your Twitter username
32+
username: eftdjmr # change to your Twitter username
3333

3434
social:
3535
# Change to your full name.
3636
# It will be displayed as the default author of the posts and the copyright owner in the Footer
37-
name: your_full_name
38-
email: example@domain.com # change to your email address
37+
name: ounols
38+
email: ounols@naver.com # change to your email address
3939
links:
4040
# The first element serves as the copyright owner's link
41-
- https://twitter.com/username # change to your Twitter homepage
42-
- https://github.com/username # change to your GitHub homepage
41+
- https://github.com/ounols # change to your GitHub homepage
42+
- https://www.linkedin.com/in/lerp
4343
# Uncomment below to add more social links
4444
# - https://www.facebook.com/username
4545
# - https://www.linkedin.com/in/username
@@ -95,10 +95,11 @@ theme_mode: # [light | dark]
9595
# will be added to all media resources (site avatar, posts' images, audio and video files) paths starting with '/'
9696
#
9797
# e.g. 'https://cdn.com'
98-
cdn: "https://chirpy-img.netlify.app"
98+
# cdn: "https://chirpy-img.netlify.app"
99+
cdn: "https://ounols.kr"
99100

100101
# the avatar on sidebar, support local or CORS resources
101-
avatar: "/commons/avatar.jpg"
102+
avatar: "/assets/img/favicons/12756091.png"
102103

103104
# The URL of the site-wide social preview image used in SEO `og:image` meta tag.
104105
# It can be overridden by a customized `page.image` in front matter.
@@ -109,7 +110,7 @@ toc: true
109110

110111
comments:
111112
# Global switch for the post-comment system. Keeping it empty means disabled.
112-
provider: # [disqus | utterances | giscus]
113+
provider: giscus # [disqus | utterances | giscus]
113114
# The provider options are as follows:
114115
disqus:
115116
shortname: # fill with the Disqus shortname. › https://help.disqus.com/en/articles/1717111-what-s-a-shortname
@@ -119,15 +120,15 @@ comments:
119120
issue_term: # < url | pathname | title | ...>
120121
# Giscus options › https://giscus.app
121122
giscus:
122-
repo: # <gh-username>/<repo>
123-
repo_id:
124-
category:
125-
category_id:
123+
repo: ounols/jekyll-blog
124+
repo_id: R_kgDOOO4wEA
125+
category: General
126+
category_id: DIC_kwDOOO4wEM4CoiHa
126127
mapping: # optional, default to 'pathname'
127128
strict: # optional, default to '0'
128129
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`
130+
lang: en
131+
reactions_enabled: 1 # optional, default to the value of `1`
131132

132133
# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets
133134
assets:
@@ -215,6 +216,7 @@ exclude:
215216
- purgecss.js
216217
- "*.config.js"
217218
- "package*.json"
219+
- "*.sh"
218220

219221
jekyll-archives:
220222
enabled: [categories, tags]

_data/authors.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66
# url: {homepage_of_author}
77
# -------------------------------------
88

9-
cotes:
10-
name: Cotes Chung
11-
twitter: cotes2020
12-
url: https://github.com/cotes2020/
13-
14-
sille_bille:
15-
name: Dinesh Prasanth Moluguwan Krishnamoorthy
16-
twitter: dinesh_MKD
17-
url: https://github.com/SilleBille/
9+
ounols:
10+
name: ounols
11+
url: https://github.com/ounols/

_data/contact.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,18 @@
1010
icon: "fas fa-envelope"
1111
noblank: true # open link in current tab
1212

13-
- type: rss
14-
icon: "fas fa-rss"
15-
noblank: true
13+
# - type: rss
14+
# icon: "fas fa-rss"
15+
# noblank: true
1616
# Uncomment and complete the url below to enable more contact options
1717
#
1818
# - type: mastodon
1919
# icon: 'fab fa-mastodon' # icons powered by <https://fontawesome.com/>
2020
# url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification
2121
#
22-
# - type: linkedin
23-
# icon: 'fab fa-linkedin' # icons powered by <https://fontawesome.com/>
24-
# url: '' # Fill with your Linkedin homepage
22+
- type: linkedin
23+
icon: "fab fa-linkedin" # icons powered by <https://fontawesome.com/>
24+
url: "https://www.linkedin.com/in/lerp" # Fill with your Linkedin homepage
2525
#
2626
# - type: stack-overflow
2727
# icon: 'fab fa-stack-overflow'

_includes/ad.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{% if page.layout != 'home' %}
2+
<script
3+
async
4+
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7885608228730680"
5+
crossorigin="anonymous"
6+
></script>
7+
<script
8+
src="https://app.rybbit.io/api/script.js"
9+
data-site-id="185"
10+
defer
11+
></script>
12+
{% endif %}

_includes/favicons.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
{% capture favicon_path %}{{ '/assets/img/favicons' | relative_url }}{% endcapture %}
77

88
<link rel="apple-touch-icon" sizes="180x180" href="{{ favicon_path }}/apple-touch-icon.png">
9-
<link rel="icon" type="image/png" sizes="32x32" href="{{ favicon_path }}/favicon-32x32.png">
10-
<link rel="icon" type="image/png" sizes="16x16" href="{{ favicon_path }}/favicon-16x16.png">
9+
<link rel="icon" type="image/png" sizes="96x96" href="{{ favicon_path }}/favicon-96x96.png">
1110
{% if site.pwa.enabled %}
1211
<link rel="manifest" href="{{ favicon_path }}/site.webmanifest">
1312
{% endif %}

_includes/head.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,5 +122,7 @@
122122
{% endfor %}
123123
{% endif %}
124124

125+
{% include ad.html %}
126+
125127
{% include metadata-hook.html %}
126128
</head>

0 commit comments

Comments
 (0)