Skip to content

Commit 408d62f

Browse files
authored
Initial commit
0 parents  commit 408d62f

14 files changed

+328
-0
lines changed

.github/workflows/main.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Jekyll Deploy
2+
on:
3+
push:
4+
branches: [source]
5+
jobs:
6+
build_and_deploy:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: actions/cache@v2
11+
with:
12+
path: vendor/bundle
13+
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
14+
restore-keys: |
15+
${{ runner.os }}-gems-
16+
- name: Build & Deploy to GitHub Pages
17+
uses: helaili/jekyll-action@v2
18+
with:
19+
token: ${{ secrets.GITHUB_TOKEN }}

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
_site
2+
.sass-cache
3+
.jekyll-cache
4+
.jekyll-metadata
5+
vendor

404.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
layout: page
3+
title: "404: Not Found"
4+
permalink: /404.html
5+
---
6+
7+
This page cannot be found. Try to go [home]({{ site.baseurl }}/) or
8+
[archives]({{ "/archives/" | prepend: site.baseurl }}) page.

Gemfile

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
source "https://rubygems.org"
2+
# Hello! This is where you manage which Jekyll version is used to run.
3+
# When you want to use a different version, change it below, save the
4+
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
5+
#
6+
# bundle exec jekyll serve
7+
#
8+
# This will help ensure the proper Jekyll version is running.
9+
# Happy Jekylling!
10+
gem "jekyll", "~> 4.1"
11+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
12+
gem "jekyll-whiteglass"
13+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
14+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
15+
# gem "github-pages", group: :jekyll_plugins
16+
# If you have any plugins, put them here!
17+
group :jekyll_plugins do
18+
# gem "jekyll-feed", "~> 0.12"
19+
end
20+
21+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
22+
# and associated library.
23+
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
24+
gem "tzinfo", "~> 1.2"
25+
gem "tzinfo-data"
26+
end
27+
28+
# Performance-booster for watching directories on Windows
29+
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?

README.md

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# whiteglass-template
2+
3+
[![Jekyll Deploy](https://github.com/yous/whiteglass-template/workflows/Jekyll%20Deploy/badge.svg?branch=source)](https://github.com/yous/whiteglass-template/actions?query=workflow%3A%22Jekyll+Deploy%22+branch%3Asource)
4+
5+
Template site for [whiteglass](https://github.com/yous/whiteglass) theme. Click
6+
"Use this template" button to start.
7+
8+
## Configuration
9+
10+
Change the options defined in _config.yml. Let's say the URL of your source
11+
repository is `https://github.com/johndoe/some-repo`.
12+
13+
``` yaml
14+
title: My site title
15+
author: John Doe
16+
description: This is my site description.
17+
baseurl: "/some-repo"
18+
url: "https://johndoe.github.io"
19+
```
20+
21+
For further details, see [Configuration](https://jekyllrb.com/docs/configuration/)
22+
section under Jekyll documentation.
23+
24+
## License
25+
26+
whiteglass-template is free and unencumbered software released into the public
27+
domain. For more information, please refer to <http://unlicense.org/>.

_config.yml

+95
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,95 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'bundle exec jekyll serve'. If you change this file, please restart the server process.
10+
#
11+
# If you need help with YAML syntax, here are some quick references for you:
12+
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
13+
# https://learnxinyminutes.com/docs/yaml/
14+
#
15+
# Site settings
16+
# These are used to personalize your new site. If you look in the HTML files,
17+
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
18+
# You can create any custom variable you would like, and they will be accessible
19+
# in the templates via {{ site.myvariable }}.
20+
21+
title: Your awesome title
22+
author: Your Name
23+
description: >- # this means to ignore newlines until "baseurl:"
24+
Write an awesome description for your new site here. You can edit this
25+
line in _config.yml. It will appear in your document head meta (for
26+
Google search results) and in your feed.xml site description.
27+
baseurl: "/whiteglass-template" # the subpath of your site, e.g. /blog
28+
url: "https://yous.github.io" # the base hostname & protocol for your site, e.g. http://example.com
29+
lang: en
30+
timezone: UTC
31+
32+
# Social media
33+
twitter_username:
34+
twitter_image:
35+
facebook_app_id:
36+
facebook_image:
37+
google_analytics:
38+
comments: false
39+
40+
# Build settings
41+
theme: jekyll-whiteglass
42+
plugins:
43+
- jekyll-archives
44+
- jekyll-paginate
45+
- jekyll-sitemap
46+
47+
# Exclude from processing.
48+
# The following items will not be processed, by default.
49+
# Any item listed under the `exclude:` key here will be automatically added to
50+
# the internal "default list".
51+
#
52+
# Excluded items can be processed by explicitly listing the directories or
53+
# their entries' file path in the `include:` list.
54+
#
55+
# exclude:
56+
# - .sass-cache/
57+
# - .jekyll-cache/
58+
# - gemfiles/
59+
# - Gemfile
60+
# - Gemfile.lock
61+
# - node_modules/
62+
# - vendor/bundle/
63+
# - vendor/cache/
64+
# - vendor/gems/
65+
# - vendor/ruby/
66+
exclude:
67+
- README.md
68+
69+
# Outputting
70+
permalink: /:year/:month/:day/:title/
71+
72+
# Markdown settings
73+
markdown: kramdown
74+
excerpt_separator: "<!-- more -->"
75+
kramdown:
76+
auto_ids: false
77+
enable_coderay: false
78+
entity_output: as_char
79+
footnote_nr: 1
80+
smart_quotes: lsquo,rsquo,ldquo,rdquo
81+
toc_levels: 1..6
82+
83+
# jekyll-archives
84+
jekyll-archives:
85+
enabled:
86+
- categories
87+
- tags
88+
layout: category_archives
89+
permalinks:
90+
category: /categories/:name/
91+
tag: /tags/:name/
92+
93+
# jekyll-paginate
94+
paginate_path: /posts/:num/
95+
paginate: 5

_data/i18n.yml

+70
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
en:
2+
date:
3+
format: "%b %-d, %Y" # See http://ruby-doc.org/core/Time.html#method-i-strftime for possible date formatting strings
4+
abbr_day_names: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]
5+
abbr_month_names: ["Jan", "Feb", "Mar", "Apr", "May", "Jun",
6+
"Jul", "Aug", "Sep", "Oct", "Nov", "Dez"]
7+
day_names: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]
8+
month_names: ["January", "February", "March", "April", "May", "June",
9+
"July", "August", "September", "October", "November", "December"]
10+
morelink: "Read on"
11+
page-older: "Older"
12+
page-newer: "Newer"
13+
archive: "Blog Archive"
14+
archive-category: "Archive of category '%1'"
15+
archive-tag: "Archive of tag '%1'"
16+
comments: "Comments"
17+
de:
18+
date:
19+
format: "%e. %B %Y"
20+
abbr_day_names: ["So", "Mo", "Di", "Mi", "Do", "Fr" , "Sa"]
21+
abbr_month_names: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun",
22+
"Jul", "Aug", "Sep", "Okt", "Nov", "Dez"]
23+
day_names: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"]
24+
month_names: ["Januar", "Februar", "März", "April", "Mai", "Juni",
25+
"Juli", "August", "September", "Oktober", "November", "Dezember"]
26+
morelink: "Weiterlesen"
27+
page-older: "Ältere Beiträge"
28+
page-newer: "Neuere Beiträge"
29+
archive: "Blog Archiv"
30+
archive-category: "Archiv der Kategorie '%1'"
31+
archive-tag: "Archiv des Tags '%1'"
32+
comments: "Kommentare"
33+
de-AT:
34+
date:
35+
month_names: ["Jänner", "Februar", "März", "April", "Mai", "Juni",
36+
"Juli", "August", "September", "Oktober", "November", "Dezember"]
37+
abbr_month_names: ["Jän", "Feb", "Mär", "Apr", "Mai", "Jun",
38+
"Jul", "Aug", "Sep", "Okt", "Nov", "Dez"]
39+
ko:
40+
date:
41+
format: "%Y년 %-m월 %-d일"
42+
abbr_day_names: ["일", "월", "화", "수", "목", "금", "토"]
43+
abbr_month_names: ["1월", "2월", "3월", "4월", "5월", "6월",
44+
"7월", "8월", "9월", "10월", "11월", "12월"]
45+
day_names: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일"]
46+
month_names: ["1월", "2월", "3월", "4월", "5월", "6월",
47+
"7월", "8월", "9월", "10월", "11월", "12월"]
48+
morelink: "계속 읽기"
49+
page-older: "이전"
50+
page-newer: "다음"
51+
archive: "블로그 아카이브"
52+
archive-category: "'%1' 카테고리 아카이브"
53+
archive-tag: "'%1' 태그 아카이브"
54+
comments: "댓글"
55+
fr:
56+
date:
57+
format: "%-d %B %Y"
58+
abbr_day_names: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"]
59+
abbr_month_names: ["Jan", "Fev", "Mar", "Avr", "Mai", "Jui",
60+
"Jui", "Aou", "Sep", "Oct", "Nov", "Dec"]
61+
day_names: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"]
62+
month_names: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin",
63+
"Juillet", "Aout", "Septembre", "Octobre", "Novembre", "Décembre"]
64+
morelink: "Lire plus"
65+
page-older: "Plus ancien"
66+
page-newer: "Récent"
67+
archive: "Archives"
68+
archive-category: "Archives de la catégorie '%1'"
69+
archive-tag: "Archives du tag '%1'"
70+
comments: "Commentaires"

_data/navigation.yml

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# If you want to link only specific pages in your header, add the path to the
2+
# pages in order as they should show up.
3+
main:
4+
- title: "About"
5+
url: /about/
6+
- title: "Archives"
7+
url: /archives/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: post
3+
title: "Welcome to Jekyll!"
4+
date: 2020-04-24 15:10:56 +0900
5+
categories: jekyll update
6+
---
7+
You’ll find this post in your `_posts` directory. Go ahead and edit it and re-build the site to see your changes. You can rebuild the site in many different ways, but the most common way is to run `jekyll serve`, which launches a web server and auto-regenerates your site when a file is updated.
8+
9+
Jekyll requires blog post files to be named according to the following format:
10+
11+
`YEAR-MONTH-DAY-title.MARKUP`
12+
13+
Where `YEAR` is a four-digit number, `MONTH` and `DAY` are both two-digit numbers, and `MARKUP` is the file extension representing the format used in the file. After that, include the necessary front matter. Take a look at the source for this post to get an idea about how it works.
14+
15+
Jekyll also offers powerful support for code snippets:
16+
17+
{% highlight ruby %}
18+
def print_hi(name)
19+
puts "Hi, #{name}"
20+
end
21+
print_hi('Tom')
22+
#=> prints 'Hi, Tom' to STDOUT.
23+
{% endhighlight %}
24+
25+
Check out the [Jekyll docs][jekyll-docs] for more info on how to get the most out of Jekyll. File all bugs/feature requests at [Jekyll’s GitHub repo][jekyll-gh]. If you have questions, you can ask them on [Jekyll Talk][jekyll-talk].
26+
27+
[jekyll-docs]: https://jekyllrb.com/docs/home
28+
[jekyll-gh]: https://github.com/jekyll/jekyll
29+
[jekyll-talk]: https://talk.jekyllrb.com/

about.md

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: page
3+
title: About
4+
permalink: /about/
5+
---
6+
7+
This is the whiteglass theme. You can find out more info about customizing your Jekyll theme, as well as basic Jekyll usage documentation at [jekyllrb.com](https://jekyllrb.com/)
8+
9+
You can find the source code for whiteglass at GitHub:
10+
[yous](https://github.com/yous) /
11+
[whiteglass](https://github.com/yous/whiteglass)
12+
13+
You can find the source code for Jekyll at GitHub:
14+
[jekyll][jekyll-organization] /
15+
[jekyll](https://github.com/jekyll/jekyll)
16+
17+
18+
[jekyll-organization]: https://github.com/jekyll

archives.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
layout: archive
3+
title: "Blog Archive"
4+
permalink: /archives/
5+
---

feed.xml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
layout: feed
3+
---

index.html

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
# You don't need to edit this file, it's empty on purpose.
3+
# Edit whiteglass' home layout instead if you want to make some changes.
4+
# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults
5+
layout: home
6+
---

robots.txt

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: null
3+
---
4+
User-agent: *
5+
Disallow:
6+
7+
Sitemap: {{ "/sitemap.xml" | prepend: site.baseurl | prepend: site.url }}

0 commit comments

Comments
 (0)