hydn 0.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +21 -0
  3. data/README.md +208 -0
  4. data/_config.yml +87 -0
  5. data/_includes/aboutme.html +27 -0
  6. data/_includes/comment.html +19 -0
  7. data/_includes/editior.html +35 -0
  8. data/_includes/footer.html +12 -0
  9. data/_includes/header.html +15 -0
  10. data/_includes/navigation.html +14 -0
  11. data/_includes/post-author-list.html +13 -0
  12. data/_includes/postlist-item.html +17 -0
  13. data/_includes/profile.html +0 -0
  14. data/_includes/search.html +16 -0
  15. data/_layouts/all-categories.html +25 -0
  16. data/_layouts/all-posts.html +38 -0
  17. data/_layouts/all-series.html +27 -0
  18. data/_layouts/all-tags.html +22 -0
  19. data/_layouts/author-page.html +55 -0
  20. data/_layouts/category-page.html +19 -0
  21. data/_layouts/default.html +45 -0
  22. data/_layouts/home.html +34 -0
  23. data/_layouts/page.html +5 -0
  24. data/_layouts/post.html +60 -0
  25. data/_layouts/search.html +37 -0
  26. data/_layouts/series-page.html +25 -0
  27. data/_sass/hydn/about_layout.scss +66 -0
  28. data/_sass/hydn/code.scss +194 -0
  29. data/_sass/hydn/footer.scss +33 -0
  30. data/_sass/hydn/header.scss +104 -0
  31. data/_sass/hydn/layout.scss +29 -0
  32. data/_sass/hydn/main.scss +48 -0
  33. data/_sass/hydn/nav.scss +0 -0
  34. data/_sass/hydn/postlist-item.scss +9 -0
  35. data/_sass/hydn/tagpost.scss +7 -0
  36. data/_sass/hydn/typo.scss +209 -0
  37. data/_sass/hydn/variables.scss +89 -0
  38. data/assets/css/style.scss +4 -0
  39. data/assets/img/hydn/about.webp +0 -0
  40. data/assets/img/hydn/about_aboutme.png +0 -0
  41. data/assets/img/hydn/about_all.png +0 -0
  42. data/assets/img/hydn/about_category.png +0 -0
  43. data/assets/img/hydn/about_disqus.jpg +0 -0
  44. data/assets/img/hydn/about_disqus_screen.jpg +0 -0
  45. data/assets/img/hydn/about_editior.png +0 -0
  46. data/assets/img/hydn/about_editior_2.png +0 -0
  47. data/assets/img/hydn/about_help.png +0 -0
  48. data/assets/img/hydn/about_help_icon.png +0 -0
  49. data/assets/img/hydn/about_home.png +0 -0
  50. data/assets/img/hydn/about_hydn_logo.png +0 -0
  51. data/assets/img/hydn/about_menu.png +0 -0
  52. data/assets/img/hydn/about_readme.png +0 -0
  53. data/assets/img/hydn/about_search.png +0 -0
  54. data/assets/img/hydn/about_search_console.png +0 -0
  55. data/assets/img/hydn/about_search_console.screen_01.png +0 -0
  56. data/assets/img/hydn/about_search_console.screen_02.png +0 -0
  57. data/assets/img/hydn/about_search_screen.png +0 -0
  58. data/assets/img/hydn/about_series.png +0 -0
  59. data/assets/img/hydn/about_series_screen.png +0 -0
  60. data/assets/img/hydn/about_tag.png +0 -0
  61. data/assets/img/hydn/about_top_image.png +0 -0
  62. data/assets/img/hydn/about_whoami.jpg +0 -0
  63. data/assets/img/hydn/author_text.png +0 -0
  64. data/assets/img/hydn/default-profile.png +0 -0
  65. data/assets/img/hydn/forest.jpg +0 -0
  66. data/assets/img/hydn/lake.jpg +0 -0
  67. data/assets/img/hydn/menu_white_24dp.svg +1 -0
  68. data/assets/img/hydn/scarlet.jpg +0 -0
  69. data/assets/img/hydn/search.png +0 -0
  70. data/assets/img/hydn/snow.jpg +0 -0
  71. data/assets/img/hydn/title.webp +0 -0
  72. data/assets/img/hydn/work.jpg +0 -0
  73. data/assets/tipuesearch/css/normalize.css +461 -0
  74. data/assets/tipuesearch/css/tipuesearch.css +251 -0
  75. data/assets/tipuesearch/search.png +0 -0
  76. data/assets/tipuesearch/tipuesearch.min.js +178 -0
  77. data/assets/tipuesearch/tipuesearch_content.js +83 -0
  78. data/assets/tipuesearch/tipuesearch_set.js +80 -0
  79. metadata +192 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA256:
3
+ metadata.gz: 1f221a11ca1adbfc56b068fd676d825546f32d5618200905928147be85d0aa98
4
+ data.tar.gz: 2bb1105bfcbac9149de7fb51f3a14102476752e4ee6c1a833fa1564f85dbbac9
5
+ SHA512:
6
+ metadata.gz: d90d9bef0573a325b1dbdcf5a4ddac5d74220262fdc05a03b06585a1a8d99a2a73aef217e7594f5fb5077cb026e844480254f549539b8417ec9ccd6708cc3f37
7
+ data.tar.gz: 929a0515389fa98e86a9a2558e62889d435d450bb9d369f6b420bcc2cd17f79864cf056c244597439a7dceb099cf57afeb2ee32a60c277a8fab20a15afe4d523
data/LICENSE.txt ADDED
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2021 CYAN4S
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
data/README.md ADDED
@@ -0,0 +1,208 @@
1
+ # hydn
2
+
3
+ ![Hydn Jekyll Theme](./assets/img/hydn/title.webp)
4
+
5
+ ## IMPORTANT: USE AT YOUR OWN RISK
6
+
7
+ **This project is still under development, and core features are subject to change without prior notice.**
8
+
9
+ ## Installation
10
+
11
+ Add this line to your Jekyll site's `Gemfile`:
12
+
13
+ ```ruby
14
+ gem "hydn"
15
+ ```
16
+
17
+ And add this line to your Jekyll site's `_config.yml`:
18
+
19
+ ```yaml
20
+ theme: hydn
21
+ ```
22
+
23
+ And then execute:
24
+
25
+ ```bash
26
+ $ bundle
27
+ ```
28
+
29
+ Or install it yourself as:
30
+
31
+ ```bash
32
+ $ gem install hydn
33
+ ```
34
+
35
+ ## Contents
36
+
37
+ Hydn basically offers a lot of useful features for blogging including basic Jekyll blog features.
38
+
39
+ ### Layouts
40
+
41
+ Refers to files within the `_layouts` directory, that define the markup for your theme.
42
+
43
+ - `default.html` — The base layout that lays the foundation for subsequent layouts. The derived layouts inject their contents into this file at the line that says `{{ content }}` and are linked to this file via
44
+ - `page.html` — The layout for your documents that contain FrontMatter, but are not posts
45
+ - `post.html` — The layout for your posts.
46
+
47
+ #### Main Heading and Content-injection
48
+
49
+ The _home_ layout will inject all content from your `index.md` / `index.html`. **before** the **`Posts`** heading. This will allow you to include non-posts related content to be published on the landing page under a dedicated heading. *We recommended that you title this section with a Heading2 (`##`)*.
50
+
51
+ Usually the `site.title` itself would suffice as the implicit 'main-title' for a landing-page. But, if your landing-page would like a heading to be explicitly displayed, then simply define a `title` variable in the document's front matter and it will be rendered with an `<h1>` tag.
52
+
53
+ ##### Post Listing
54
+
55
+ It will be included when your site contains one or more valid posts or drafts.
56
+
57
+ ### Includes
58
+
59
+ Refers to snippets of code within the `_includes` directory that can be inserted in multiple layouts (and another include-file as well) within the same theme-gem.
60
+
61
+ - `comments.html` &mdash; Code to markup disqus comment box.
62
+ - `footer.html` &mdash; Defines the site's footer section.
63
+ - `header.html` &mdash; Defines the site's main header section. By default, pages with a defined `title` attribute will have links displayed here.
64
+ - `navigation.html` &mdash; Defines the site's navigation(menu) bar. It will be automatically add more menu when you have more linked category.
65
+ - `postlist-item.html` &mdash; Defines the post's item when the posts are listed.
66
+ - `search.html` &mdash; Code to search box using tipuesearch.
67
+
68
+ ### Sass
69
+
70
+ Refers to `.scss` files within the `_sass` directory that define the theme's styles.
71
+
72
+ - `hydn/about_layout.scss` &mdash; Sass partial that defines the blog's About Page style for layout.
73
+ - `hydn/code.scss` &mdash; Sass partial that defines syntax highliting styles for code in your post.
74
+ - `hydn/header.scss` &mdash; Sass partial for resets and defines styles for header
75
+ - `hydn/layout.scss` &mdash; Sass partial for resets and defines each layout's styles for various HTML element
76
+ - `hydn/main.scss` &mdash; Sass partial for resets and defines main styles for various HTML element
77
+ - `hydn/tagpost.scss` &mdash; Sass partial for resets and defines styles for tagpost's element
78
+ - `hydn/typo.scss` &mdash; Sass partial for resets and defines post styles when you get the post.
79
+
80
+ ### Assets
81
+
82
+ Refers to various asset files within the `assets` directory.
83
+
84
+ - `assets/css/style.scss` &mdash; Imports sass files from within the `_sass` directory and gets processed into the theme's
85
+ stylesheet: `assets/css/styles.css`.
86
+ - `assets/img` &mdash; Image files for our theme.
87
+ - `assets/tipuesearch` &mdash; For compose search box in our theme.
88
+
89
+ ### Plugins
90
+
91
+ -[`jekyll-seo-tag`](https://github.com/jekyll/jekyll-seo-tag) plugin is preinstalled to make sure your website gets the most useful meta tags. See [usage](https://github.com/jekyll/jekyll-seo-tag#usage) to know how to set it up.
92
+
93
+ -[`jekyll-gist`](https://github.com/jekyll/jekyll-gist) plugin is preinstalled to add gist. See [usage](https://github.com/jekyll/jekyll-gist#usage) to know how to set it up.
94
+
95
+ -[`jekyll-paginate`](https://github.com/jekyll/jekyll-paginate) plugin is preinstalled to show your posts more useful.
96
+
97
+ ## Usage
98
+
99
+ Have the following line in your config file:
100
+
101
+ ```yaml
102
+ theme: hydn
103
+ ```
104
+
105
+ ### Customizing templates
106
+
107
+ To override the default structure and style of hydn, simply create the concerned directory at the root of your site, copy the file you wish to customize to that directory, and then edit the file.
108
+
109
+ The site's default CSS has now moved to a new place within the gem itself, [`assets/css/style.scss`](assets/css/style.scss).
110
+
111
+ In hydn, if you only need to customize the colors of the theme, please follow the method below.
112
+
113
+ If you only want to change the colors of the blog, then you open `_sass/hydn/header.scss` , `_sass/hydn/footer.scss`. And then change the variable at the top.
114
+
115
+ And if you customize other things, you can open `_sass` and make new scss file. And add a line of the code at the `_sass/hydn/main.scss` file below.
116
+
117
+ ```sass
118
+ @import "../new_file_name.scss";
119
+ ```
120
+
121
+ Therefore, your `assets/css/style.scss` should contain the following at hydn:
122
+
123
+ ```sass
124
+ ---
125
+ ---
126
+
127
+ @import "hydn/main";
128
+ ```
129
+
130
+ ### Enabling comments (via Disqus)
131
+
132
+ Optionally, if you have a Disqus account, you can tell Jekyll to use it to show a comments section below each post.
133
+
134
+ To enable it, add the following lines to your Jekyll site:
135
+
136
+ ```yaml
137
+ disqus: True
138
+ disqus_shortname: "hydn"
139
+ ```
140
+
141
+ You can find out more about Disqus' shortnames [here](https://help.disqus.com/installation/whats-a-shortname).
142
+
143
+ Comments are enabled by default and will only appear in production, i.e., `JEKYLL_ENV=production`
144
+
145
+ If you don't want to display comments for a particular post you can disable them by deleting`{% include comment.html %}` to that post.html's bottom.
146
+
147
+ ### Enabling Searchbox (via tipuesearch)
148
+
149
+ Optionally, you can search your post via search box.
150
+
151
+ To enable it, add the following lines to your Jekyll site:
152
+
153
+ ```yaml
154
+ tipue_search:
155
+ include:
156
+ pages: false
157
+ collections: []
158
+ exclude:
159
+ files: [search.html, index.html, tagpost.html]
160
+ categories: []
161
+ tags: []
162
+ ```
163
+
164
+ In this code, `pages: false` means that you don't want to search genera html pages for focusig post's search.
165
+ And via `exclude`, you can choose file, categories and tags that you don't want to show when you search.
166
+
167
+ ### Post Author
168
+
169
+ From `hydn`, `page.author` is expected to be a mapping of attributes from _authors directory.
170
+
171
+ If you want to add more registered author, you can add `authorname.html` files in _author directory.
172
+
173
+ If you add author, you can get author's personal introduce page. Otherwise, you can just display author's name in your post.
174
+
175
+ Here is example.
176
+
177
+ ```yaml
178
+ authors: [ann, Song Kim]
179
+ ```
180
+
181
+ In this code, ann is the registered author, but Song Kim is not. So when you make is post, only ann has her own introduce page.
182
+
183
+ ### Enabling Google Analytics
184
+
185
+ You can get how to enabling google analytics in blog's about page.
186
+
187
+ ## Contributing
188
+
189
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
190
+
191
+ ## Development
192
+
193
+ To set up your environment to develop this theme, run `bundle install`.
194
+
195
+ Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
196
+
197
+ When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
198
+ To add a custom directory to your theme-gem, please edit the regexp in `hydn.gemspec` accordingly.
199
+
200
+ ## License
201
+
202
+ The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
203
+
204
+ ## Contribution
205
+
206
+ Our goal is to make Hydn usable in common situations. This project still needs a lot of improvements (including this `README.md`). Any kind of contribution is big welcome!
207
+
208
+ Making roadmap is still in progress.
data/_config.yml ADDED
@@ -0,0 +1,87 @@
1
+ title: Hydn
2
+ email: example@example.com
3
+ description: >-
4
+ Write an awesome description for your new site here.
5
+ You can edit this line in _config.yml.
6
+ It will appear in your document head meta (for Google search results)
7
+ and in your feed.xml site description.
8
+
9
+ baseurl: /hydn
10
+ url: https://www.cyan4s.com
11
+ # avatar: *.jpg
12
+
13
+ #twitter_username:
14
+ #github_username:
15
+ #facebook_username:
16
+ #instagram_username:
17
+
18
+ logo:
19
+ lang: ko_KR
20
+
21
+ # Disqus
22
+ disqus: True
23
+ disqus_shortname: "hydn"
24
+ # disqus는 온라인 댓글 시스템. 댓글 기능을 사용하기 위해 disqus를 이용할 것인지 여부와 만약 사용하면
25
+ # disqus shortname을 입력 ( disqus username이 아님 )
26
+
27
+ tipue_search:
28
+ include:
29
+ pages: false
30
+ collections: []
31
+ exclude:
32
+ files: [search.html, index.html, tagpost.html]
33
+ categories: []
34
+ tags: []
35
+
36
+ navigation: True
37
+ # Navigation bar link를 보여줄건지 여부
38
+
39
+ subscribers: True
40
+ # subscriber 기능을 사용할건지의 여부
41
+
42
+ defaults:
43
+ - scope:
44
+ path: ""
45
+ type: "posts"
46
+ values:
47
+ layout: "post"
48
+ author: "Anonymous"
49
+ - scope:
50
+ path: ""
51
+ type: "category-pages"
52
+ values:
53
+ layout: "category-page"
54
+ permalink: /category/:title
55
+ - scope:
56
+ path: ""
57
+ type: "authors"
58
+ values:
59
+ layout: "author-page"
60
+ permalink: /author/:title
61
+ image: assets/img/default-profile.png
62
+ - scope:
63
+ path: ""
64
+ type: "series"
65
+ values:
66
+ layout: "series-page"
67
+ permalink: /series/:title
68
+
69
+ plugins:
70
+ - jekyll-seo-tag
71
+
72
+ sass:
73
+ style: compressed
74
+
75
+ collections:
76
+ authors:
77
+ output: true
78
+ category-pages:
79
+ output: true
80
+ permalink: /:collection/:name
81
+ series:
82
+ output: true
83
+
84
+ paginate: 2
85
+ paginate_path: "/all/:num/"
86
+
87
+ date_format: "%Y/%m/%d"
@@ -0,0 +1,27 @@
1
+ <br/>
2
+ <h3> <b> Self-introduction guide</b> </h3>
3
+
4
+ <p>
5
+ 1. Introduce yourself. It can be difficult to write because there are so many things to say about yourself.
6
+ It is not easy to simply and clearly write down all the experiences you have won, the talents you have, and the skills you have.
7
+ Whatever type of writing you plan to write and whatever your purpose may be, imagine introducing yourself to a stranger.
8
+ </p>
9
+
10
+ <p>
11
+ 2. Let's start by identifying talents and interests. If you don't know where to start, make a list.
12
+ </p>
13
+
14
+ <p>
15
+ 3. Let's narrow down the topic. Choose a specific topic, explain it in detail, and use it to introduce yourself.
16
+ </p>
17
+
18
+ <p>
19
+ 4. Use good details.
20
+ Add stories that readers will find interesting when narrowing down to a specific topic.
21
+ Remember that you're portraying yourself, and add details that make it positive.
22
+ </p>
23
+
24
+ <p>
25
+ 5. Be humble. Even if you have achieved a lot and have a lot of talent, you should always be humble.
26
+ I do not write articles that boast of myself. List achievements and successes, but in humble language.
27
+ </p>
@@ -0,0 +1,19 @@
1
+ <div id="disqus_thread"></div>
2
+ <script>
3
+ /**
4
+ * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
5
+ * LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables */
6
+
7
+ var disqus_config = function () {
8
+ this.page.url = `{{ page.url | absolute_url }}`; // Replace PAGE_URL with your page's canonical URL variable
9
+ this.page.identifier = `{{ page.url | absolute_url }}`; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
10
+ };
11
+
12
+ (function() { // DON'T EDIT BELOW THIS LINE
13
+ var d = document, s = d.createElement('script');
14
+ s.src = 'https://hydn-blog-1.disqus.com/embed.js';
15
+ s.setAttribute('data-timestamp', +new Date());
16
+ (d.head || d.body).appendChild(s);
17
+ })();
18
+ </script>
19
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
@@ -0,0 +1,35 @@
1
+ <div>
2
+ <div class = "information">
3
+ <h4> - 이름 : </h4>
4
+ <p style = "font-size: larger"> &nbsp; {{ page.name }} </p>
5
+ </div>
6
+ <div class = "information">
7
+ <h4> - 닉네임 : </h4>
8
+ <p style = "font-size: larger"> &nbsp; {{ page.short_name }} </p>
9
+ </div>
10
+ <div class = "information">
11
+ <h4> - 지위 : </h4>
12
+ <p style = "font-size: larger"> &nbsp; {{ page.position }} </p>
13
+ </div>
14
+ <div class = "information">
15
+ <h4> - 이메일 : </h4>
16
+ <p style = "font-size: larger"> &nbsp; {{ page.email }} </p>
17
+ </div>
18
+ <div class = "information">
19
+ <h4> - 소속 : </h4>
20
+ <p style = "font-size: larger"> &nbsp; {{ page.belong }} </p>
21
+ </div>
22
+ <div class = "information">
23
+ <h4> - ID : </h4>
24
+ <p style = "font-size: larger"> &nbsp; {{ page.ID }} </p>
25
+ </div>
26
+ <div class = "information">
27
+ <h4> - 가입일 : </h4>
28
+ <p style = "font-size: larger"> &nbsp; {{ page.date }} </p>
29
+ </div>
30
+ <div class = "information">
31
+ <h4> - 소셜 : </h4>
32
+ <p style = "font-size: larger"> &nbsp; {{ page.social }} </p>
33
+ </div>
34
+ </div>
35
+
@@ -0,0 +1,12 @@
1
+ <footer>
2
+ <section>
3
+ <div class="flex-container">
4
+ <div>
5
+ <p>{{ site.email }}</p>
6
+ </div>
7
+ <div>
8
+ <p>{{ site.description }}</p>
9
+ </div>
10
+ </div>
11
+ </section>
12
+ </footer>
@@ -0,0 +1,15 @@
1
+ <header>
2
+ <section>
3
+ <a href="{{ '/' | relative_url }}" class="title">{{ site.title }}</a>
4
+ <input
5
+ type="checkbox"
6
+ id="dropdown-nav-in-header"
7
+ unchecked
8
+ />
9
+ <label
10
+ id="checkbox-nav-in-header"
11
+ for="dropdown-nav-in-header"
12
+ ><img src="{{ 'assets/img/hydn/menu_white_24dp.svg' | relative_url }}" alt="Header dropdown icon"></label>
13
+ {% include navigation.html id="nav-in-header" %}
14
+ </section>
15
+ </header>
@@ -0,0 +1,14 @@
1
+ <nav class="{{ include.class }}" id="{{ include.id }}" {{ include.attr }}>
2
+ <ul>
3
+ <li><a href="{{ '/' | relative_url }}">HOME</a></li>
4
+ <li><a href="{{ '/about' | relative_url }}">ABOUT</a></li>
5
+ <li><a href="{{ '/all' | relative_url }}">POSTS</a></li>
6
+ <li><a href="{{ '/tags' | relative_url }}">TAGS</a></li>
7
+ <li><a href="{{ '/categories' | relative_url }}">CATEGORIES</a></li>
8
+ <li><a href="{{ '/series' | relative_url }}">SERIES</a></li>
9
+
10
+ {% for category in site.category-pages %}
11
+ <li><a href="{{ category.url }}">{{ category.title | upcase }}</a></li>
12
+ {% endfor %}
13
+ </ul>
14
+ </nav>
@@ -0,0 +1,13 @@
1
+ {% assign one_author_array = "" | split: "" | push: include.target.author %}
2
+
3
+ {% assign authors = include.target.authors | default: one_author_array %}
4
+ {% assign post_author_list = "" | split: "" %}
5
+
6
+ {% for author in authors %}
7
+ {% assign author_data = site.authors | where: "short_name", author | first %}
8
+ {% capture inner %}{% if author_data %}<a href="{{ author_data.url }}">{{ author_data.name }}</a>{% else %}{{ author }}{% endif %}{% endcapture %}
9
+ {% assign post_author_list = post_author_list | push: inner %}
10
+ {% endfor %}
11
+
12
+ {% assign one_author_array = nil %}
13
+ {% assign authors = nil %}
@@ -0,0 +1,17 @@
1
+ <li class="postlist {{ include.class }}">
2
+ <h3 class="postlist-title">
3
+ <a href="{{ post.url | relative_url }}">{{ post.title }}</a>
4
+ </h3>
5
+
6
+ <p class="postlist-excerpt">
7
+ <a href="{{ post.url | relative_url }}">{{ post.excerpt | strip_html }}</a>
8
+ </p>
9
+
10
+ <p class="postlist-meta meta">
11
+ {{ post.date | date: site.date_format }} ·
12
+
13
+ {% include post-author-list.html target=post %}
14
+ {{ post_author_list | join: ", "}}
15
+
16
+ </p>
17
+ </li>
File without changes
@@ -0,0 +1,16 @@
1
+ <form action="{{ '/search' | relative_url }}">
2
+ <div class="tipue_search_left">
3
+ <img src="{{ '/assets/tipuesearch/search.png' | relative_url }}" class="tipue_search_icon" />
4
+ </div>
5
+ <div class="tipue_search_right">
6
+ <input
7
+ type="text"
8
+ name="q"
9
+ id="tipue_search_input"
10
+ pattern=".{1,}"
11
+ title="At least 1 characters"
12
+ required
13
+ />
14
+ </div>
15
+ <div style="clear: both"></div>
16
+ </form>
@@ -0,0 +1,25 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <section class="typo-margin">
6
+ <h1>모든 카테고리</h1>
7
+
8
+ {% for category in site.categories %}
9
+
10
+ {% assign category-page = site.category-pages | where: "title", category[0] | first %}
11
+
12
+ {% if category-page %}
13
+ <h2><a href="{{ category-page.url }}">{{ category[0] | upcase }}</a></h2>
14
+ {% else %}
15
+ <h2>{{ category[0] | upcase }}</h2>
16
+ {% endif %}
17
+
18
+ <ul>
19
+ {% for post in category[1] %}
20
+ {% include postlist-item.html %}
21
+ {% endfor %}
22
+ </ul>
23
+
24
+ {% endfor %}
25
+ </section>
@@ -0,0 +1,38 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <section>
6
+ {% for post in paginator.posts %}
7
+ <div class="post-style">
8
+ {% include postlist-item.html %}
9
+ </div>
10
+ {% endfor %}
11
+ {% if paginator.total_pages > 1 %}
12
+ <div class="pagination" style="text-align: center;">
13
+ {% if paginator.previous_page %}
14
+ <a href="{{ paginator.previous_page_path | relative_url }}">&laquo; Prev</a>
15
+ {% else %}
16
+ <span>&laquo; Prev</span>
17
+ {% endif %}
18
+ {% for page in (1..paginator.total_pages) %}
19
+ {% if page == paginator.page %}
20
+ <em>{{ page }}</em>
21
+ {% elsif page == 1 %}
22
+ <a href="{{ site.paginate_path | relative_url | replace: '/:num', '' }}">
23
+ {{ page }}
24
+ </a>
25
+ {% else %}
26
+ <a href="{{ site.paginate_path | relative_url | replace: ':num', page }}">
27
+ {{ page }}
28
+ </a>
29
+ {% endif %}
30
+ {% endfor %}
31
+ {% if paginator.next_page %}
32
+ <a href="{{ paginator.next_page_path | relative_url }}">Next &raquo;</a>
33
+ {% else %}
34
+ <span>Next &raquo;</span>
35
+ {% endif %}
36
+ </div>
37
+ {% endif %}
38
+ </section>
@@ -0,0 +1,27 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <section class="typo-margin">
6
+ <h1>모든 시리즈</h1>
7
+
8
+ {% for series in site.series %}
9
+
10
+ {% assign series-page = site.series | where: "short_name", series.short_name | first %}
11
+
12
+ {% if series-page %}
13
+ <h2><a href="{{ series-page.url }}">{{ series.title }}</a></h2>
14
+ {% else %}
15
+ <h2>{{ series.title }}</h2>
16
+ {% endif %}
17
+
18
+ <ul>
19
+ {% for post in site.posts %}
20
+ {% if post.series contains series.short_name or post.series == series.short_name %}
21
+ {% include postlist-item.html %}
22
+ {% endif %}
23
+ {% endfor %}
24
+ </ul>
25
+
26
+ {% endfor %}
27
+ </section>
@@ -0,0 +1,22 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% assign tags = site.tags | sort %}
6
+
7
+ <section class="typo-margin">
8
+ <h1>모든 태그</h1>
9
+
10
+ {% for tag in tags %}
11
+
12
+ <h2>#{{ tag[0] }}</h2>
13
+ <ul>
14
+ {% for post in tag[1] %}
15
+ {% include postlist-item.html %}
16
+ {% endfor %}
17
+ </ul>
18
+ </div>
19
+
20
+ {% endfor %}
21
+
22
+ </section>