Skip to content
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

post #4454

Closed
wants to merge 39 commits into from
Closed

post #4454

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
0e6ba63
Update _config.yml
qwp0 Jul 26, 2023
35c14cb
Create 2023-07-27-first.md
qwp0 Jul 26, 2023
105f557
Update 2023-07-27-first.md
qwp0 Jul 26, 2023
372a0b8
이미지 추가
qwp0 Jul 26, 2023
94498a9
Update _config.yml
qwp0 Jul 26, 2023
6ac63ba
Update 2023-07-27-first.md
qwp0 Jul 26, 2023
21e0df9
Update 2023-07-27-first.md
qwp0 Jul 26, 2023
ba208af
Update 2023-07-27-first.md
qwp0 Jul 27, 2023
0f719df
댓글 기능 추가
qwp0 Jul 27, 2023
72ab9f8
Update 2023-07-27-first.md
qwp0 Jul 27, 2023
28f6917
Update 2023-07-27-first.md
qwp0 Jul 27, 2023
d20c5b7
Update 2023-07-27-first.md
qwp0 Jul 27, 2023
dd1de3b
Update 2023-07-27-first.md
qwp0 Jul 27, 2023
6082cd6
Update _config.yml
qwp0 Jul 27, 2023
229bc17
댓글,,돼라,,
qwp0 Jul 27, 2023
bf23ca5
Update _config.yml
qwp0 Jul 27, 2023
ed0a2b1
Revert "Update _config.yml"
qwp0 Jul 27, 2023
d6e7c60
구글 애널리틱스 추가
qwp0 Jul 27, 2023
cd57aeb
Update _config.yml
qwp0 Jul 27, 2023
706cd24
카테고리 추가
qwp0 Jul 27, 2023
361e4b2
업데이트
qwp0 Jul 27, 2023
115e438
네이버 검색 엔진 등록
qwp0 Jul 27, 2023
573c8b0
대규모 업데이트
qwp0 Jul 27, 2023
31f8f1f
test
qwp0 Jul 27, 2023
ffc222c
카테고리 추가
qwp0 Jul 27, 2023
0f437d4
Merge pull request #1 from qwp0/gh-pages
qwp0 Jul 27, 2023
1ea6f53
카테고리 설정 완료
qwp0 Jul 27, 2023
e65d198
Merge pull request #2 from qwp0/gh-pages
qwp0 Jul 27, 2023
bcac5e6
Update 2023-07-27-first.md
qwp0 Jul 27, 2023
477575f
update
qwp0 Jul 28, 2023
d3ac3bd
footer 변경
qwp0 Jul 28, 2023
347a619
Merge pull request #3 from qwp0/gh-pages
qwp0 Jul 29, 2023
6bc6ce6
Update nav_list_main
qwp0 Jul 29, 2023
34de7a8
글 작성
qwp0 Jul 30, 2023
0b539e6
add
qwp0 Jul 31, 2023
e10f705
post
qwp0 Jul 31, 2023
2e3664f
Merge pull request #4 from qwp0/gh-pages
qwp0 Jul 31, 2023
503c53b
update
qwp0 Aug 1, 2023
52bd84b
Merge pull request #5 from qwp0/gh-pages
qwp0 Aug 3, 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
110 changes: 46 additions & 64 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,28 @@

# theme : "minimal-mistakes-jekyll"
# remote_theme : "mmistakes/minimal-mistakes"
minimal_mistakes_skin : "default" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
minimal_mistakes_skin : "mint" # "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"

# Site Settings
locale : "en-US"
title : "Site Title"
title_separator : "-"
subtitle : # site tagline that appears below site title in masthead
name : "Your Name"
description : "An amazing website."
url : # the base hostname & protocol for your site e.g. "https://mmistakes.github.io"
future : true
locale : "ko-KR"
title : "또영's Blog"
title_separator : "|"
subtitle :
name : "또영's Blog"
description : "또영이의 코딩 블로그"
url : "https://qwp0.github.io"
baseurl : # the subpath of your site, e.g. "/blog"
repository : # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
teaser : # path of fallback teaser image, e.g. "/assets/images/500x300.png"
logo : # path of logo image to display in the masthead, e.g. "/assets/images/88x88.png"
masthead_title : # overrides the website title displayed in the masthead, use " " for no title
# breadcrumbs : false # true, false (default)
breadcrumbs : true # true, false (default)
words_per_minute : 200
comments:
provider : # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "giscus", "custom"
provider : "disqus" # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "giscus", "custom"
disqus:
shortname : # https://help.disqus.com/customer/portal/articles/466208-what-s-a-shortname-
shortname : "qwp0"
discourse:
server : # https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963 , e.g.: meta.discourse.org
facebook:
Expand Down Expand Up @@ -75,7 +76,7 @@ google:
# SEO Related
google_site_verification :
bing_site_verification :
naver_site_verification :
naver_site_verification : "8833398d0c532fc94482818cc21ca9c2b37d93a3"
yandex_site_verification :
baidu_site_verification :

Expand All @@ -96,60 +97,33 @@ social:

# Analytics
analytics:
provider : false # false (default), "google", "google-universal", "google-gtag", "custom"
provider : "google-gtag" # false (default), "google", "google-universal", "google-gtag", "custom"
google:
tracking_id :
anonymize_ip : # true, false (default)
tracking_id : "G-VDBQKTYSRY"
anonymize_ip : false


# Site Author
author:
name : "Your Name"
avatar : # path of avatar image, e.g. "/assets/images/bio-photo.jpg"
bio : "I am an **amazing** person."
location : "Somewhere"
name : #"또영"
avatar : #"/assets/images/스누피.jpeg"
bio :
location :
email :
links:
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
# url: "mailto:[email protected]"
- label: "Website"
icon: "fas fa-fw fa-link"
# url: "https://your-website.com"
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
# url: "https://twitter.com/"
- label: "Facebook"
icon: "fab fa-fw fa-facebook-square"
# url: "https://facebook.com/"
- label: "GitHub"
icon: "fab fa-fw fa-github"
# url: "https://github.com/"
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
# url: "https://instagram.com/"
url: "https://github.com/qwp0"


# Site Footer
footer:
links:
- label: "Twitter"
icon: "fab fa-fw fa-twitter-square"
# url:
- label: "Facebook"
icon: "fab fa-fw fa-facebook-square"
# url:
- label: "GitHub"
icon: "fab fa-fw fa-github"
# url:
- label: "GitLab"
icon: "fab fa-fw fa-gitlab"
# url:
- label: "Bitbucket"
icon: "fab fa-fw fa-bitbucket"
# url:
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
# url:
url: "https://github.com/qwp0"




# Reading Files
Expand Down Expand Up @@ -220,7 +194,7 @@ sass:
permalink: /:categories/:title/
paginate: 5 # amount of posts to show
paginate_path: /page:num/
timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
timezone: Asia/Seoul


# Plugins (previously gems:)
Expand Down Expand Up @@ -257,16 +231,16 @@ tag_archive:
type: liquid
path: /tags/
# https://github.com/jekyll/jekyll-archives
# jekyll-archives:
# enabled:
# - categories
# - tags
# layouts:
# category: archive-taxonomy
# tag: archive-taxonomy
# permalinks:
# category: /categories/:name/
# tag: /tags/:name/
jekyll-archives:
enabled:
- categories
- tags
layouts:
category: archive-taxonomy
tag: archive-taxonomy
permalinks:
category: /categories/:name/
tag: /tags/:name/


# HTML Compression
Expand All @@ -286,7 +260,15 @@ defaults:
values:
layout: single
author_profile: true
read_time: true
comments: # true
read_time: false
comments: true
share: true
related: true
show_date: true
toc: true
toc_sticky: true
toc_label: 목차
toc_icon: "fa-sharp fa-light fa-bird"
sidebar_main: true

date_format: "%Y-%m-%d"
11 changes: 8 additions & 3 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# main links
main:
- title: "Quick-Start Guide"
url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
# - title: "About"
- title: "Home"
url: /home/
- title: "Search"
url: /search/
- title: "Category"
url: /categories/


# url: https://mmistakes.github.io/minimal-mistakes/about/
# - title: "Sample Posts"
# url: /year-archive/
Expand Down
4 changes: 2 additions & 2 deletions _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
{% endfor %}
{% endif %}

{% unless site.atom_feed.hide %}
<!--{% unless site.atom_feed.hide %}
<li><a href="{% if site.atom_feed.path %}{{ site.atom_feed.path }}{% else %}{{ '/feed.xml' | relative_url }}{% endif %}"><i class="fas fa-fw fa-rss-square" aria-hidden="true"></i> {{ site.data.ui-text[site.locale].feed_label | default: "Feed" }}</a></li>
{% endunless %}
{% endunless %}-->
</ul>
</div>

Expand Down
85 changes: 85 additions & 0 deletions _includes/nav_list_main
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<!--전체 글 수를 세기 위한 연산. sum 변수에 전체 글 수 저장-->

{% assign sum = site.posts | size %}

<nav class="nav__list">
<input id="ac-toc" name="accordion-toc" type="checkbox" />
<label for="ac-toc">{{ site.data.ui-text[site.locale].menu_label }}</label>
<ul class="nav__items" id="category_tag_menu">
<!--전체 글 수-->
<li>
📂 <span style="font-family:'Cafe24Oneprettynight';">전체 글 수</style> <span style="font-family:'Cafe24Oneprettynight';">(</style> <span style="font-family:'Coming Soon';">{{sum}}</style> <span style="font-family:'Cafe24Oneprettynight';">)</style>
</li>
<li>
<!--span 태그로 카테고리들을 크게 분류 ex) C/C++/C#-->
<span class="nav__sub-title">Html/Css/Js</span>
<!--ul 태그로 같은 카테고리들 모아둔 페이지들 나열-->
<ul>
<!--Cpp 카테고리 글들을 모아둔 페이지인 /categories/cpp 주소의 글로 링크 연결-->
<!--category[1].size 로 해당 카테고리를 가진 글의 개수 표시-->
{% for category in site.categories %}
{% if category[0] == "Html" %}
<li><a href="/categories/html" class="">HTML ({{category[1].size}})</a></li>
{% endif %}
{% endfor %}
</ul>
<ul>
{% for category in site.categories %}
{% if category[0] == "Css" %}
<li><a href="/categories/css" class="">CSS ({{category[1].size}})</a></li>
{% endif %}
{% endfor %}
</ul>
<ul>
{% for category in site.categories %}
{% if category[0] == "Js" %}
<li><a href="/categories/js" class="">자바스크립트 ({{category[1].size}})</a></li>
{% endif %}
{% endfor %}
</ul>
<span class="nav__sub-title">CS</span>
<ul>
{% for category in site.categories %}
{% if category[0] == "Algorithm" %}
<li><a href="/categories/algorithm" class="">알고리즘 ({{category[1].size}})</a></li>
{% endif %}
{% endfor %}
</ul>
<ul>
{% for category in site.categories %}
{% if category[0] == "Datastructure" %}
<li><a href="/categories/datastructure" class="">자료구조 ({{category[1].size}})</a></li>
{% endif %}
{% endfor %}
</ul>
<ul>
{% for category in site.categories %}
{% if category[0] == "Os" %}
<li><a href="/categories/os" class="">운영체제 ({{category[1].size}})</a></li>
{% endif %}
{% endfor %}
</ul>
<ul>
{% for category in site.categories %}
{% if category[0] == "Ca" %}
<li><a href="/categories/ca" class="">컴퓨터구조 ({{category[1].size}})</a></li>
{% endif %}
{% endfor %}
</ul>
<ul>
{% for category in site.categories %}
{% if category[0] == "Network" %}
<li><a href="/categories/network" class="">네트워크 ({{category[1].size}})</a></li>
{% endif %}
{% endfor %}
</ul>
<ul>
{% for category in site.categories %}
{% if category[0] == "Db" %}
<li><a href="/categories/db" class="">데이터베이스 ({{category[1].size}})</a></li>
{% endif %}
{% endfor %}
</ul>
</li>
</ul>
</nav>
5 changes: 5 additions & 0 deletions _includes/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,10 @@
{% include nav_list nav=page.sidebar.nav %}
{% endif %}
{% endif %}

{% if page.sidebar_main %}
{% include nav_list_main %}
{% endif %}

</div>
{% endif %}
10 changes: 10 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,16 @@
<head>
{% include head.html %}
{% include head/custom.html %}
<style>
::-webkit-scrollbar{width: 16px;}
::-webkit-scrollbar-track {background-color:#4b4f52; border-radius: 16px;}
::-webkit-scrollbar-thumb {background-color:#5e6265; border-radius: 16px;}
::-webkit-scrollbar-thumb:hover {background: #ffd24c;}
::-webkit-scrollbar-button:start:decrement,::-webkit-scrollbar-button:end:increment
{
width:12px;height:12px;background:transparent;}

</style>
</head>

<body class="layout--{{ page.layout | default: layout.layout }}{% if page.classes or layout.classes %}{{ page.classes | default: layout.classes | join: ' ' | prepend: ' ' }}{% endif %}">
Expand Down
8 changes: 8 additions & 0 deletions _pages/404.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: "Page Not Found"
excerpt: "Page not found. Your pixels are in another canvas."
sitemap: false
permalink: /404.html
---

![](https://siliconvalleygazette.com/posts/what-is-the-404-not-found-error.png)
11 changes: 11 additions & 0 deletions _pages/categories/category-algorithm.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "알고리즘"
layout: archive
permalink: categories/algorithm
author_profile: true
sidebar_main: true
---


{% assign posts = site.categories.Algorithm %}
{% for post in posts %} {% include archive-single.html type=page.entries_layout %} {% endfor %}
11 changes: 11 additions & 0 deletions _pages/categories/category-ca.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "컴퓨터 구조"
layout: archive
permalink: categories/ca
author_profile: true
sidebar_main: true
---


{% assign posts = site.categories.Ca %}
{% for post in posts %} {% include archive-single.html type=page.entries_layout %} {% endfor %}
11 changes: 11 additions & 0 deletions _pages/categories/category-css.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "CSS"
layout: archive
permalink: categories/css
author_profile: true
sidebar_main: true
---


{% assign posts = site.categories.Css %}
{% for post in posts %} {% include archive-single.html type=page.entries_layout %} {% endfor %}
11 changes: 11 additions & 0 deletions _pages/categories/category-datastructure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "자료구조"
layout: archive
permalink: categories/datastructure
author_profile: true
sidebar_main: true
---


{% assign posts = site.categories.Datastructure %}
{% for post in posts %} {% include archive-single.html type=page.entries_layout %} {% endfor %}
11 changes: 11 additions & 0 deletions _pages/categories/category-db.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
title: "데이터베이스"
layout: archive
permalink: categories/db
author_profile: true
sidebar_main: true
---


{% assign posts = site.categories.Db %}
{% for post in posts %} {% include archive-single.html type=page.entries_layout %} {% endfor %}
Loading
Loading