Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
53 commits
Select commit Hold shift + click to select a range
8d5cbb4
Create CNAME
ounols Mar 26, 2025
eadd1b9
fix: 헤더 이미지 적용
ounols Mar 27, 2025
dae8d61
Create build-deploy.yml
ounols Mar 27, 2025
cb8547c
Update _config.yml
ounols Mar 27, 2025
8e19137
Update build-deploy.yml
ounols Mar 27, 2025
555b1f8
Update pages-deploy.yml
ounols Mar 27, 2025
8684c5b
Update build-deploy.yml
ounols Mar 27, 2025
833ed10
fix: 일부 커스터마이징
ounols Mar 28, 2025
0df9e0c
Update _config.yml
ounols Mar 28, 2025
68d0f0b
fix: 디자인 1차 폴리싱
ounols Mar 28, 2025
362ea19
fix: sidebar
ounols Mar 28, 2025
fa79fad
fix: sidebar 2
ounols Mar 28, 2025
b7f0d4a
fix: scss
ounols Mar 28, 2025
0b7324f
fix: scss 2
ounols Mar 28, 2025
c3a4183
fix: restore
ounols Mar 28, 2025
50acf22
fix: 포스트 2개 추가
ounols Mar 28, 2025
e094a80
feat: 포스트 복원 중
ounols Mar 28, 2025
b31c059
feat: 기존 블로그 포스팅 복구
ounols Mar 29, 2025
581414f
fix: 헤더에 기존 ad 적용
ounols Apr 22, 2025
67d227a
fix: cdn 변경
ounols Apr 22, 2025
c0be59c
feat: 포스트 추가
ounols Apr 22, 2025
d9254e9
fix: 일부 게시글 리다이렉팅 추가
ounols Apr 22, 2025
3641514
Potential fix for code scanning alert no. 1: Incomplete multi-charact…
ounols May 7, 2025
5527f17
Update ad.html
ounols May 8, 2025
e09176e
fix: jekyll-editor를 로컬에 저장할 수 있도록 스크립트 추가
ounols May 26, 2025
6ed6450
fix: 404 image added
ounols May 26, 2025
80d3cc0
fix: home page changed
ounols May 30, 2025
1f0763e
fix: alt image problem solved
ounols May 30, 2025
074520c
fix: manual redirection has been implemented
ounols Jun 9, 2025
bc656df
feat: 게시글 추가
ounols Jun 9, 2025
9e2e499
fix: 예전 블로그 글 일부 복구
ounols Jun 14, 2025
a3a2a05
fix: math2 게시글 수정
ounols Jun 14, 2025
69bff0e
fix: http도 다 잡아버리네... 무서운 녀석들...
ounols Jun 14, 2025
91ea881
fix: 카테고리 관련 마개조
ounols Jun 15, 2025
1394d2a
fix: removed unable images
ounols Jun 15, 2025
79c3fc1
fix: 자체엔진 관련 게시글 추가 중
ounols Jun 15, 2025
375c4e4
fix: 누락된 레거시 url 리다이렉트 추가
ounols Jun 19, 2025
b07c92a
Merge pull request #4 from ounols/feature/origin-rebased
ounols Aug 11, 2025
eef48a5
fix: add some redirects
ounols Aug 11, 2025
29bfd6a
fix: 포스트 추가
ounols Aug 14, 2025
12dc53a
fix: 에디터 게시글 작성 중
ounols Aug 26, 2025
ad8241b
fix: 자체엔진 에디터 게시글 작성 완료
ounols Aug 27, 2025
a7cb55c
Merge pull request #5 from ounols/feature/post-editor
ounols Aug 27, 2025
79a91f1
fix: 에디터 포스팅 문장 다듬기
ounols Aug 27, 2025
c785f2b
Merge branch 'cotes2020:master' into master
ounols Sep 3, 2025
4bf422b
fix: 홈 배너 수정
ounols Sep 3, 2025
aadfeb2
fix: 포스팅 링크들의 _blank 적용
ounols Sep 3, 2025
8dd27dc
fix: webgl의 캔버스가 보이지 않는 영역에서 렌더링 하지 않도록 최적화
ounols Sep 4, 2025
1cf2607
fix: 홈 배너 최적화
ounols Sep 5, 2025
0db1d1f
fix: 홈 배너 최적화 작동안하는 문제 수정
ounols Sep 6, 2025
e298307
fix: 임의 스크립트 생성
ounols Sep 6, 2025
4c8c2a7
fix: js 일부 추가
ounols Sep 15, 2025
f9c532f
Merge branch 'master' into pr/ounols/7
ounols Sep 15, 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
76 changes: 76 additions & 0 deletions .github/workflows/build-deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
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@v4
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@v4

- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.3
bundler-cache: true

- name: npm build
run: npm install && npm run build

- 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 \
\-\-ignore-urls "/^http:\/\/127.0.0.1/,/^http:\/\/0.0.0.0/,/^http:\/\/localhost/"

- name: Upload site artifact
uses: actions/upload-pages-artifact@v3
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@v4
7 changes: 6 additions & 1 deletion .github/workflows/scripts/pr-filter.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ function hasDescription(markdown) {
export default async ({ github, context, core }) => {
const pr = context.payload.pull_request;
const body = pr.body === null ? '' : pr.body;
const markdown = body.replace(/<!--[\s\S]*?-->/g, '');
let markdown = body;
let previous;
do {
previous = markdown;
markdown = markdown.replace(/<!--[\s\S]*?-->/g, '');
} while (markdown !== previous);
const action = context.payload.action;

const isValid =
Expand Down
5 changes: 5 additions & 0 deletions 7d0afff79dd24b81b8533e1e09c56a04.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: redirect
redirect: posts/Cpp-코드를-웹으로-포팅하는-Emscripten-알아보기
---

1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blog.ounols.kr
42 changes: 22 additions & 20 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,40 @@ 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
lang: ko

# Change to your timezone › https://zones.arilyn.cc
timezone: Asia/Shanghai
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: "@Ounols" # the main title

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

description: >- # used by seo meta and the atom feed
A minimal, responsive and feature-rich Jekyll theme for technical writing.

# 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://ounols.kr"

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

twitter:
username: twitter_username # change to your Twitter username
username: eftdjmr # 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: example@domain.com # change to your email address
name: ounols
email: ounols@naver.com # 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
- https://github.com/ounols # change to your GitHub homepage
- https://www.linkedin.com/in/lerp
# Uncomment below to add more social links
# - https://www.facebook.com/username
# - https://www.linkedin.com/in/username
Expand Down Expand Up @@ -95,10 +95,11 @@ theme_mode: # [light | dark]
# 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"
cdn: "https://ounols.kr"

# the avatar on sidebar, support local or CORS resources
avatar: "/commons/avatar.jpg"
avatar: "/assets/img/favicons/12756091.png"

# 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 @@ -109,7 +110,7 @@ toc: true

comments:
# Global switch for the post-comment system. Keeping it empty means disabled.
provider: # [disqus | utterances | giscus]
provider: giscus # [disqus | utterances | 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 @@ -119,15 +120,15 @@ comments:
issue_term: # < url | pathname | title | ...>
# Giscus options › https://giscus.app
giscus:
repo: # <gh-username>/<repo>
repo_id:
category:
category_id:
repo: ounols/jekyll-blog
repo_id: R_kgDOOO4wEA
category: General
category_id: DIC_kwDOOO4wEM4CoiHa
mapping: # optional, default to 'pathname'
strict: # optional, default to '0'
input_position: # optional, default to 'bottom'
lang: # optional, default to the value of `site.lang`
reactions_enabled: # optional, default to the value of `1`
lang: en
reactions_enabled: 1 # optional, default to the value of `1`

# Self-hosted static assets, optional › https://github.com/cotes2020/chirpy-static-assets
assets:
Expand Down Expand Up @@ -215,6 +216,7 @@ exclude:
- purgecss.js
- "*.config.js"
- "package*.json"
- "*.sh"

jekyll-archives:
enabled: [categories, tags]
Expand Down
12 changes: 3 additions & 9 deletions _data/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,6 @@
# url: {homepage_of_author}
# -------------------------------------

cotes:
name: Cotes Chung
twitter: cotes2020
url: https://github.com/cotes2020/

sille_bille:
name: Dinesh Prasanth Moluguwan Krishnamoorthy
twitter: dinesh_MKD
url: https://github.com/SilleBille/
ounols:
name: ounols
url: https://github.com/ounols/
12 changes: 6 additions & 6 deletions _data/contact.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@
icon: "fas fa-envelope"
noblank: true # open link in current tab

- type: rss
icon: "fas fa-rss"
noblank: true
# - type: rss
# icon: "fas fa-rss"
# noblank: true
# Uncomment and complete the url below to enable more contact options
#
# - type: mastodon
# icon: 'fab fa-mastodon' # icons powered by <https://fontawesome.com/>
# url: '' # Fill with your Mastodon account page, rel="me" will be applied for verification
#
# - type: linkedin
# icon: 'fab fa-linkedin' # icons powered by <https://fontawesome.com/>
# url: '' # Fill with your Linkedin homepage
- type: linkedin
icon: "fab fa-linkedin" # icons powered by <https://fontawesome.com/>
url: "https://www.linkedin.com/in/lerp" # Fill with your Linkedin homepage
#
# - type: stack-overflow
# icon: 'fab fa-stack-overflow'
Expand Down
12 changes: 12 additions & 0 deletions _includes/ad.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{% if page.layout != 'home' %}
<script
async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7885608228730680"
crossorigin="anonymous"
></script>
<script
src="https://app.rybbit.io/api/script.js"
data-site-id="185"
defer
></script>
{% endif %}
3 changes: 1 addition & 2 deletions _includes/favicons.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
{% capture favicon_path %}{{ '/assets/img/favicons' | relative_url }}{% endcapture %}

<link rel="apple-touch-icon" sizes="180x180" href="{{ favicon_path }}/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="{{ favicon_path }}/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="{{ favicon_path }}/favicon-16x16.png">
<link rel="icon" type="image/png" sizes="96x96" href="{{ favicon_path }}/favicon-96x96.png">
{% if site.pwa.enabled %}
<link rel="manifest" href="{{ favicon_path }}/site.webmanifest">
{% endif %}
Expand Down
2 changes: 2 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -122,5 +122,7 @@
{% endfor %}
{% endif %}

{% include ad.html %}

{% include metadata-hook.html %}
</head>
110 changes: 110 additions & 0 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,110 @@
{% assign date_format = site.date_format | default: '%B %-d, %Y' %}

{% if page.image %}
<div
id="header-big-imgs"
data-num-img=""
{% if page.image.first %}
{{- page.image.cover.size -}}
{% else %}
1
{% endif %}
{% for bigimg in page.image.cover %}
{% assign imgnum = forloop.index %}
{% for imginfo in bigimg %}
{% if imginfo[0] %}
data-img-src-{{ imgnum }}="{{ new_url }}"
data-img-desc-{{ imgnum }}="{{ imginfo[1] }}"
{% else %}
data-img-src-{{ imgnum }}="{{ new_url }}"
{% endif %}
{% endfor %}
{% endfor %}
></div>
{% endif %}

<header
id="post-header"
class="d-flex flex-column w-100"
style="
background-size: cover;
width: 100%;
{% if page.image %}
height: 300px;
{% endif %}
"
>
<div
class="intro-header {% if page.image %} big-img {% endif %}"
style="
background-image: url('{{ new_url }}');
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
align-content: end;
"
>
{% if page.image or page.title %}
<div class="container d-flex flex-column px-xxl-5">
<div class="row">
<div class="col-12 col-lg-11 col-xl-9 px-md-4 px-1">
<div class="heading">
<h1
class="header-title"
style="
{% if page.image %}
color: white;
text-shadow: -2px 0px 2px black, 0px 2px 2px black, 2px 0px 2px black, 0px -2px 2px black;
{% endif %}
"
>
{% if page.title %}{{ page.title | strip_html }}{% else %}<br>{% endif %}
</h1>
{% if page.description %}
{% if include.type == 'page' %}
<hr class="small">
<span
class="post-desc fw-light mb-4"
style="
{% if page.image %}
color: #dddddd;
text-shadow: -1px 0px 1px black, 0px 1px 1px black, 1px 0px 1px black, 0px -1px 1px black;
{% endif %}
"
>
{{- page.description | strip_html -}}
</span>
{% else %}
<h2
class="post-desc fw-light mb-4"
style="
{% if page.image %}
color: #dddddd;
text-shadow: -1px 0px 1px black, 0px 1px 1px black, 1px 0px 1px black, 0px -1px 1px black;
{% endif %}
"
>
{{ page.description | strip_html }}
</h2>
{% endif %}
{% endif %}
</div>
</div>
</div>
</div>
{% endif %}
{% if page.image %}
<span class="img-desc"></span>
{% else %}
<hr>
{% endif %}
</div>

{% if page['header-extra'] %}
{% for file in page['header-extra'] %}
{% include {{ file }} %}
{% endfor %}
{% endif %}
</header>
Loading
Loading