Skip to content

Commit

Permalink
Merge pull request #134 from Dangtae/LV1
Browse files Browse the repository at this point in the history
Lv1
  • Loading branch information
Dangtae authored Jun 2, 2024
2 parents 5b203f4 + b3e3eb1 commit b886a22
Show file tree
Hide file tree
Showing 150 changed files with 7,339 additions and 111 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
source "https://rubygems.org"
gemspec

139 changes: 58 additions & 81 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,30 +12,30 @@

# 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 : "dark" # "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"
locale : "ko-KR"
title : "당태의 공간"
title_separator : "|"
subtitle : "small positive action"
name : "Dangtae"
description : "my github blog"
url : "https://Dangtae.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"
logo : # "/assets/images/logo.jpg"
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
enable_copy_code_button : # true, false (default)
copyright : # "copyright" name, defaults to site.title
copyright_url : # "copyright" URL, defaults to site.url
comments:
provider : # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "giscus", "custom"
provider : "utterances" # 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 : "dangtae"
discourse:
server : # https://meta.discourse.org/t/embedding-discourse-comments-via-javascript/31963 , e.g.: meta.discourse.org
facebook:
Expand All @@ -44,8 +44,9 @@ comments:
num_posts : # 5 (default)
colorscheme : # "light" (default), "dark"
utterances:
theme : # "github-light" (default), "github-dark"
issue_term : # "pathname" (default)
theme : "github-dark" # "github-light" (default), "github-dark"
issue_term : "pathname"
label : "comment"
giscus:
repo_id : # Shown during giscus setup at https://giscus.app
category_name : # Full text name of the category
Expand Down Expand Up @@ -83,7 +84,7 @@ google:
# SEO Related
google_site_verification :
bing_site_verification :
naver_site_verification :
naver_site_verification : "58e0f97f1cf5826d800935dc71cb1d1d4c67866b"
yandex_site_verification :
baidu_site_verification :

Expand All @@ -104,59 +105,47 @@ 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-RRQXXQPC2Z"
anonymize_ip : false # true, false (default)


# 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"
email :
name : "Dangtae"
avatar : "/images/dangtae.png"
bio : "who wants to be a data engineer"
location : "South Korea"
email :
links:
- label: "Email"
icon: "fas fa-fw fa-envelope-square"
# url: "mailto:your.name@email.com"
url: "mailto:youngtae0818@naver.com"
- 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/"
url: "https://dangtae.github.io"
- 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/Dangtae"
- label: "YouTube"
icon: "fab fa-youtube"
url: "https://youtube.com/@youngtae0818?si=j6Ftii7vDUC1xcp_"
# - label: "Instagram"
# icon: "fab fa-fw fa-instagram"
# url: "https://instagram.com/"

# 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: "https://github.com/Dangtae"
- label: "YouTube"
icon: "fab fa-youtube"
url: "https://youtube.com/@youngtae0818?si=j6Ftii7vDUC1xcp_"
# - label: "Instagram"
# icon: "fab fa-fw fa-instagram"
# url:


Expand Down Expand Up @@ -233,26 +222,6 @@ timezone: # https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
paginate: 5 # amount of posts to show
paginate_path: /page:num/

# Pagination with jekyll-paginate-v2
# See https://github.com/sverrirs/jekyll-paginate-v2/blob/master/README-GENERATOR.md#site-configuration
# for configuration details
pagination:
# Set enabled to true to use paginate v2
# enabled: true
debug: false
collection: 'posts'
per_page: 10
permalink: '/page/:num/'
title: ':title - page :num'
limit: 0
sort_field: 'date'
sort_reverse: true
category: 'posts'
tag: ''
locale: ''
trail:
before: 2
after: 2


# Plugins (previously gems:)
Expand Down Expand Up @@ -289,16 +258,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 @@ -319,6 +288,14 @@ defaults:
layout: single
author_profile: true
read_time: true
comments: # true
comments: true
share: true
related: true
show_date: true
toc: true
toc_sticky: true
toc_label: "목차"
toc_icon: "fa-solid fa-bars"


date_format: "%Y-%m-%d"
31 changes: 29 additions & 2 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,34 @@
# main links
main:
- title: "Quick-Start Guide"
url: https://mmistakes.github.io/minimal-mistakes/docs/quick-start-guide/
- title: "Category"
url: /categories/
- title: "Tag"
url: /tags/
- title: "By Year"
url: /year-archive/
- title: "Search"
url: /search/

docs:
- title: "대목차1"
children:
- title: "Category"
url: /categories/
- title: "Tag"
url: /tags/
- title: "대목차2"
children:
- title: "Category"
url: /categories/
- title: "Tag"
url: /tags/

counts:
- title: "카테고리"
use: true
- title: "태그"
use: true

# - title: "About"
# url: https://mmistakes.github.io/minimal-mistakes/about/
# - title: "Sample Posts"
Expand Down
23 changes: 23 additions & 0 deletions _includes/mathjax_support.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
TeX: {
equationNumbers: {
autoNumber: "AMS"
}
},
tex2jax: {
inlineMath: [ ['$', '$'] ],
displayMath: [ ['$$', '$$'] ],
processEscapes: true,
}
});
MathJax.Hub.Register.MessageHook("Math Processing Error",function (message) {
alert("Math Processing Error: "+message[1]);
});
MathJax.Hub.Register.MessageHook("TeX Jax - parse error",function (message) {
alert("Math Processing Error: "+message[1]);
});
</script>
<script type="text/javascript" async
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML">
</script>
25 changes: 2 additions & 23 deletions _includes/nav_list
Original file line number Diff line number Diff line change
@@ -1,27 +1,6 @@

<nav class="nav__list">
{% if page.sidebar.title %}<h3 class="nav__title" style="padding-left: 0;">{{ page.sidebar.title }}</h3>{% endif %}
{% if navigation[0].use %}
<input id="ac-toc" name="accordion-toc" type="checkbox" />
<label for="ac-toc">{{ site.data.ui-text[site.locale].menu_label | default: "Toggle Menu" }}</label>
<ul class="nav__items">
{% for navname in include.nav %}
{% assign navigation = site.data.navigation[navname] %}
{% for nav in navigation %}
<li>
{% if nav.url %}
<a href="{{ nav.url | relative_url }}"><span class="nav__sub-title">{{ nav.title }}</span></a>
{% else %}
<span class="nav__sub-title">{{ nav.title }}</span>
{% endif %}

{% if nav.children != null %}
<ul>
{% for child in nav.children %}
<li><a href="{{ child.url | relative_url }}"{% if child.url == page.url %} class="active"{% endif %}>{{ child.title }}</a></li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
{% endfor %}
</ul>
</nav>
5 changes: 5 additions & 0 deletions _includes/top-banner.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<p class = "notice--info">
<strong>Github 블로그 제작기</strong>
<br>
<a href="https://youtube.com/@youngtae0818?si=VwMWp8eRpi9Qqs1h">영상 보러가기</a>
</p>
3 changes: 3 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
<head>
{% include head.html %}
{% include head/custom.html %}
{% if page.use_math %}
{% include mathjax_support.html %}
{% endif %}
</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
9 changes: 9 additions & 0 deletions _layouts/posts.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,12 @@ <h2 class="archive__subtitle">{{ year.name }}</h2>
<a href="#page-title" class="back-to-top">{{ site.data.ui-text[site.locale].back_to_top | default: 'Back to Top' }} &uarr;</a>
</section>
{% endfor %}

<script src="https://utteranc.es/client.js"
repo="Dangtae/Dangtae.github.io"
issue-term="pathname"
label="comment"
theme="github-dark"
crossorigin="anonymous"
async>
</script>
1 change: 1 addition & 0 deletions _layouts/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
{% if page.last_modified_at %}<meta itemprop="dateModified" content="{{ page.last_modified_at | date_to_xmlschema }}">{% endif %}

<div class="page__inner-wrap">
<!-- {% include top-banner.html %} -->
{% unless page.header.overlay_color or page.header.overlay_image %}
<header>
{% if page.title -%}
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://colorlib.com/wp/wp-content/uploads/sites/2/404-error-template-3.png.webp)
7 changes: 7 additions & 0 deletions _pages/category-archive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Category"
layout: categories
permalink: /categories/
author_profile: true
sidebar_main: true
---
5 changes: 5 additions & 0 deletions _pages/search.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
title: Search
layout: search
permalink: /search/
---
7 changes: 7 additions & 0 deletions _pages/tag-archive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
title: "Tag"
layout: tags
permalink: /tags/
author_profile: true
sidebar_main: true
---
6 changes: 6 additions & 0 deletions _pages/year-archive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: "Posts by Year"
permalink: /year-archive/
layout: posts
author_profile: true
---
Loading

0 comments on commit b886a22

Please sign in to comment.