-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
141 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,59 @@ | ||
{% assign navigation = site.data.navigation[include.nav] %} | ||
|
||
{% assign categories_max = 0 %} | ||
{% for category in site.categories %} | ||
{% if category[1].size > categories_max %} | ||
{% assign categories_max = category[1].size %} | ||
{% endif %} | ||
{% endfor %} | ||
|
||
{% assign tags_max = 0 %} | ||
{% for tag in site.tags %} | ||
{% if tag[1].size > tags_max %} | ||
{% assign tags_max = tag[1].size %} | ||
{% endif %} | ||
{% endfor %} | ||
|
||
<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> | ||
<span class="nav__sub-title">{{ navigation[0].title }}</span> | ||
<li> | ||
{% for i in (1..categories_max) reversed %} | ||
{% for category in site.categories %} | ||
{% if category[1].size == i %} | ||
<ul style="padding-top: 0px; padding-bottom: 0px;"> | ||
<a href="/categories/#{{ category[0] | slugify }}"> | ||
<strong style="font-size: 16px;">{{ category[0] }}</strong> <span class="taxonomy__count" style="font-size: 14px;">{{ i }}</span> | ||
</a> | ||
</ul> | ||
{% endif %} | ||
{% endfor %} | ||
{% endfor %} | ||
</li> | ||
</ul> | ||
{% 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 %} | ||
{% if navigation[1].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"> | ||
<span class="nav__sub-title">{{ navigation[1].title }}</span> | ||
<li> | ||
{% for i in (1..tags_max) reversed %} | ||
{% for tag in site.tags %} | ||
{% if tag[1].size == i %} | ||
<ul style="padding-top: 0px; padding-bottom: 0px;"> | ||
<a href="/tags/#{{ tag[0] | slugify }}"> | ||
<strong style="font-size: 16px;">{{ tag[0] }}</strong> <span class="taxonomy__count" style="font-size: 14px;">{{ i }}</span> | ||
</a> | ||
</ul> | ||
{% endif %} | ||
</li> | ||
{% endif %} | ||
{% endfor %} | ||
{% endfor %} | ||
</li> | ||
</ul> | ||
{% endif %} | ||
</nav> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: "Posts by Year (grid view)" | ||
permalink: /year-archive-grid/ | ||
layout: posts | ||
entries_layout: grid | ||
author_profile: true | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
title: "연도별" | ||
permalink: /year-archive/ | ||
layout: posts | ||
author_profile: true | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -566,3 +566,11 @@ pre { | |
opacity: 1; | ||
} | ||
} | ||
|
||
.img-width-half { | ||
width: 50%; | ||
} | ||
|
||
.text-center { | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.