Skip to content

Commit

Permalink
✨ renewal: 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
jooncco committed Mar 5, 2024
1 parent b1be86a commit 1b2fe4c
Show file tree
Hide file tree
Showing 172 changed files with 502 additions and 1,680 deletions.
59 changes: 33 additions & 26 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@
# `jekyll serve`. If you change this file, please restart the server process.

remote_theme: "mmistakes/[email protected]"
minimal_mistakes_skin: "air" # "default", "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"
minimal_mistakes_skin: "neon" # "default", "air", "aqua", "contrast", "dark", "dirt", "neon", "mint", "plum", "sunrise"

# Site Settings
locale: "en-US"
title: "<jooncco />"
title: "jooncco"
title_separator: "|"
subtitle: "Hate your laziness"
name: "jooncco"
description: "About software engineer jooncco."
# subtitle: ""
name: "Junha"
description: "Knowledge base of full stack engineer jooncco."
url: "https://jooncco.github.io"
baseurl: "" # the subpath of your site, e.g. "/blog"
repository: "jooncco/jooncco.github.io" # GitHub username/repo-name e.g. "mmistakes/minimal-mistakes"
teaser: "/public/images/favicon/android-chrome-192x192.png" # path of fallback teaser image, e.g. "/public/images/500x300.png"
teaser: "/opengraph-image.png" # path of fallback teaser image, e.g. "/public/images/500x300.png"
logo: "/public/images/favicon/android-chrome-192x192.png" # path of logo image to display in the masthead, e.g. "/public/images/88x88.png"
masthead_title: # overrides the website title displayed in the masthead, use " " for no title
breadcrumbs: true # true, false (default)
breadcrumbs: false # true, false (default)
words_per_minute: 200
comments:
provider: "facebook" # false (default), "disqus", "discourse", "facebook", "staticman", "staticman_v2", "utterances", "custom"
Expand All @@ -47,7 +47,7 @@ atom_feed:
path: # blank (default) uses feed.xml
search: true # true, false (default)
search_full_content: true # true, false (default)
search_provider: # lunr (default), algolia, google
search_provider: lunr # lunr (default), algolia, google
algolia:
application_id: # YOUR_APPLICATION_ID
index_name: # YOUR_INDEX_NAME
Expand Down Expand Up @@ -86,27 +86,31 @@ analytics:

# Site Author
author:
name: "준꼬 🇰🇷"
name: "Junha Jeong"
avatar: "/public/images/me.jpg"
bio: ""
location: "Seoul, Republic of Korea"
# email : "[email protected]"
links:
- label: "[email protected]"
icon: "fas fa-fw fa-envelope-square"
url: "mailto:[email protected]"
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
url: "https://instagram.com/jooncco"
url: "https://jooncco.me/contact"
- label: "jooncco.me"
url: "https://jooncco.me"
- label: "linkedin"
icon: "fab fa-fw fa-linkedin"
url: "https://linkedin.com/in/jooncco"
- label: "github"
icon: "fab fa-fw fa-github"
url: "https://github.com/jooncco"
# - label: "instagram.com/jooncco"
# icon: "fab fa-fw fa-instagram"
# url: "https://instagram.com/jooncco"
# - label: "Facebook"
# icon: "fab fa-fw fa-facebook-square"
# url: "https://facebook.com/jooncco"
# - label: "Twitter"
# icon: "fab fa-fw fa-twitter-square"
# url: "https://twitter.com/"
- label: "GitHub"
icon: "fab fa-fw fa-github"
url: "https://github.com/jooncco"
# - label: "GitLab"
# icon: "fab fa-fw fa-gitlab"
# url: "https://gitlab.com/jooncco"
Expand All @@ -117,12 +121,15 @@ author:
# Site Footer
footer:
links:
- label: "Linkedin"
icon: "fab fa-fw fa-linkedin"
url: "https://linkedin.com/in/jooncco"
- label: "Instagram"
icon: "fab fa-fw fa-instagram"
url: "https://instagram.com/jooncco"
- label: "Facebook"
icon: "fab fa-fw fa-facebook-square"
url: "https://facebook.com/jooncco"
# - label: "Facebook"
# icon: "fab fa-fw fa-facebook-square"
# url: "https://facebook.com/jooncco"
# - label: "Twitter"
# icon: "fab fa-fw fa-twitter-square"
# url: "https://twitter.com/"
Expand Down Expand Up @@ -224,12 +231,12 @@ whitelist:
# - <base_path>/tags/my-awesome-tag/index.html ~> path: /tags/
# - <base_path>/categories/my-awesome-category/index.html ~> path: /categories/
# - <base_path>/my-awesome-category/index.html ~> path: /
category_archive:
type: liquid
path: /posts
tag_archive:
type: liquid
path: /problem_solving
# category_archive:
# type: liquid
# path: /posts
# tag_archive:
# type: liquid
# path: /problem_solving
# https://github.com/jekyll/jekyll-archives
# jekyll-archives:
# enabled:
Expand Down
16 changes: 8 additions & 8 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# main links
main:
- title: "Profile"
url: /profile
- title: "Posts"
url: /posts
- title: "Problem Solving"
url: /problem_solving
# - title: "Music"
# url: /music
- title: "All"
url: /all
- title: "Web"
url: /web
- title: "Competitive Programming"
url: /competitive-programming
- title: "etc"
url: /etc
2 changes: 1 addition & 1 deletion _includes/author-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
{% if author.links %}
{% for link in author.links %}
{% if link.label and link.url %}
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i><span class="label">{{ link.label }}</span></a></li>
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-fw fa-globe' }}" aria-hidden="true"></i><span class="label">{{ link.label }}</span></a></li>
{% endif %}
{% endfor %}
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{% if site.footer.links %}
{% for link in site.footer.links %}
{% if link.label and link.url %}
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-link' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
<li><a href="{{ link.url }}" rel="nofollow noopener noreferrer"><i class="{{ link.icon | default: 'fas fa-fw fa-globe' }}" aria-hidden="true"></i> {{ link.label }}</a></li>
{% endif %}
{% endfor %}
{% endif %}
Expand Down
46 changes: 46 additions & 0 deletions _layouts/tags-with-category-filter.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
---
layout: archive
---

{{ content }}

<!-- Filter posts by category -->
{% assign posts = site.posts | where: "category", page.category_filter %}

<!-- All tags from the filtered -->
{% assign tags = posts | map: 'tags' | join: ',' | split: ',' | uniq | compress | sort %}

<!-- Array of tag with posts -->
<!-- [ [TAG_NAME_1, [POSTS...]], [TAG_NAME_2, [POSTS...]] ] -->
{% assign tagObjects = "" | split: "" %}
{% for tag in tags %}
{% assign postsWithTag = posts | where: "tags", tag %}
{% assign tagObject = "" | split: "" %}
{% assign tagObject = tagObject | push: tag %}
{% assign tagObject = tagObject | push: postsWithTag %}
{% assign tagObjects = tagObjects | push: tagObject %}
{% endfor %}

<!-- Render Tags -->
<ul class="taxonomy__index">
{% for tagObject in tagObjects %}
<li>
<a href="#{{ tagObject[0] | slugify }}">
<strong>{{ tagObject[0] }}</strong> <span class="taxonomy__count">{{ tagObject[1] | size }}</span>
</a>
</li>
{% endfor %}
</ul>

<!-- Render Entries -->
{% assign entries_layout = page.entries_layout | default: 'list' %}
{% for tagObject in tagObjects %}
<section id="{{ tagObject[0] | slugify }}" class="taxonomy__section">
<h2 class="archive__subtitle">{{ tagObject[0] }}</h2>
<div class="entries-{{ entries_layout }}">
{% for post in tagObject[1] %}
{% include archive-single.html type=entries_layout %}
{% endfor %}
</div>
</section>
{% endfor %}
20 changes: 11 additions & 9 deletions _layouts/tags.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,33 @@

{{ content }}

{% assign tags_max = 0 %}
<!-- Tag names in ascending order -->
{% assign tagNames = "" | split: "" %}
{% for tag in site.tags %}
{% if tag[1].size > tags_max %}
{% assign tags_max = tag[1].size %}
{% endif %}
{% assign tagNames = tagNames | push: tag[0] %}
{% endfor %}
{% assign tagNames = tagNames | sort %}

<!-- Render Tags -->
<ul class="taxonomy__index">
{% for i in (1..tags_max) reversed %}
{% for tagName in tagNames %}
{% for tag in site.tags %}
{% if tag[1].size == i %}
{% if tag[0] == tagName %}
<li>
<a href="#{{ tag[0] | slugify }}">
<strong>{{ tag[0] }}</strong> <span class="taxonomy__count">{{ i }}</span>
<strong>{{ tag[0] }}</strong> <span class="taxonomy__count">{{ tag[1] | size }}</span>
</a>
</li>
{% endif %}
{% endfor %}
{% endfor %}
</ul>

<!-- Render Entries -->
{% assign entries_layout = page.entries_layout | default: 'list' %}
{% for i in (1..tags_max) reversed %}
{% for tagName in tagNames %}
{% for tag in site.tags %}
{% if tag[1].size == i %}
{% if tag[0] == tagName %}
<section id="{{ tag[0] | slugify | downcase }}" class="taxonomy__section">
<h2 class="archive__subtitle">{{ tag[0] }}</h2>
<div class="entries-{{ entries_layout }}">
Expand Down
2 changes: 1 addition & 1 deletion _pages/404.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ sitemap: false
permalink: /404.html
---

Sorry, but the page you were trying to view does not exist.
The page you were trying to view does not exist.
6 changes: 6 additions & 0 deletions _pages/all.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: All Posts
layout: tags
permalink: /all
classes: wide
---
8 changes: 8 additions & 0 deletions _pages/competitive-programming.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: "Competitive Programming"
layout: tags-with-category-filter
category_filter: competitive-programming
permalink: /competitive-programming
entries_layout: grid
classes: wide
---
8 changes: 8 additions & 0 deletions _pages/etc.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
title: "etc"
layout: tags-with-category-filter
category_filter: etc
permalink: /etc
entries_layout: grid
classes: wide
---
9 changes: 0 additions & 9 deletions _pages/posts.md

This file was deleted.

9 changes: 0 additions & 9 deletions _pages/problem-solving.md

This file was deleted.

Loading

0 comments on commit 1b2fe4c

Please sign in to comment.