generated from yous/whiteglass-template
-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit d136170
Showing
15 changed files
with
372 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
directory: "/" | ||
schedule: | ||
interval: "weekly" |
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,57 @@ | ||
name: Deploy Jekyll site to Pages | ||
|
||
on: | ||
# Runs on pushes targeting the default branch | ||
push: | ||
branches: [source] | ||
|
||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages | ||
permissions: | ||
pages: write | ||
id-token: write | ||
|
||
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. | ||
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. | ||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
jobs: | ||
# Build job | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Setup Ruby | ||
uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: '3.3' # Not needed with a .ruby-version file | ||
bundler-cache: true # runs 'bundle install' and caches installed gems automatically | ||
cache-version: 0 # Increment this number if you need to re-download cached gems | ||
- name: Setup Pages | ||
id: pages | ||
uses: actions/configure-pages@v5 | ||
- name: Build with Jekyll | ||
# Outputs to the './_site' directory by default | ||
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" | ||
env: | ||
JEKYLL_ENV: production | ||
- name: Upload artifact | ||
# Automatically uploads an artifact from the './_site' directory by default | ||
uses: actions/upload-pages-artifact@v3 | ||
|
||
# Deployment job | ||
deploy: | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@v4 |
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,5 @@ | ||
_site | ||
.sass-cache | ||
.jekyll-cache | ||
.jekyll-metadata | ||
vendor |
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,8 @@ | ||
--- | ||
layout: page | ||
title: "404: Not Found" | ||
permalink: /404.html | ||
--- | ||
|
||
This page cannot be found. Try to go [home]({{ site.baseurl }}/) or | ||
[archives]({{ "/archives/" | prepend: site.baseurl }}) page. |
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,29 @@ | ||
source "https://rubygems.org" | ||
# Hello! This is where you manage which Jekyll version is used to run. | ||
# When you want to use a different version, change it below, save the | ||
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so: | ||
# | ||
# bundle exec jekyll serve | ||
# | ||
# This will help ensure the proper Jekyll version is running. | ||
# Happy Jekylling! | ||
gem "jekyll", "~> 4.1" | ||
# This is the default theme for new Jekyll sites. You may change this to anything you like. | ||
gem "jekyll-whiteglass" | ||
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and | ||
# uncomment the line below. To upgrade, run `bundle update github-pages`. | ||
# gem "github-pages", group: :jekyll_plugins | ||
# If you have any plugins, put them here! | ||
group :jekyll_plugins do | ||
# gem "jekyll-feed", "~> 0.12" | ||
end | ||
|
||
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem | ||
# and associated library. | ||
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do | ||
gem "tzinfo", "~> 1.2" | ||
gem "tzinfo-data" | ||
end | ||
|
||
# Performance-booster for watching directories on Windows | ||
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform? |
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,27 @@ | ||
# whiteglass-template | ||
|
||
[![Deploy Jekyll site to Pages](https://github.com/yous/whiteglass-template/actions/workflows/main.yml/badge.svg?branch=source)](https://github.com/yous/whiteglass-template/actions/workflows/main.yml) | ||
|
||
Template site for [whiteglass](https://github.com/yous/whiteglass) theme. Click | ||
"Use this template" button to start. | ||
|
||
## Configuration | ||
|
||
Change the options defined in _config.yml. Let's say the URL of your source | ||
repository is `https://github.com/johndoe/some-repo`. | ||
|
||
``` yaml | ||
title: My site title | ||
author: John Doe | ||
description: This is my site description. | ||
baseurl: "/some-repo" | ||
url: "https://johndoe.github.io" | ||
``` | ||
For further details, see [Configuration](https://jekyllrb.com/docs/configuration/) | ||
section under Jekyll documentation. | ||
## License | ||
whiteglass-template is free and unencumbered software released into the public | ||
domain. For more information, please refer to <http://unlicense.org/>. |
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,95 @@ | ||
# Welcome to Jekyll! | ||
# | ||
# This config file is meant for settings that affect your whole blog, values | ||
# which you are expected to set up once and rarely edit after that. If you find | ||
# yourself editing this file very often, consider using Jekyll's data files | ||
# feature for the data you need to update frequently. | ||
# | ||
# For technical reasons, this file is *NOT* reloaded automatically when you use | ||
# 'bundle exec jekyll serve'. If you change this file, please restart the server process. | ||
# | ||
# If you need help with YAML syntax, here are some quick references for you: | ||
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml | ||
# https://learnxinyminutes.com/docs/yaml/ | ||
# | ||
# Site settings | ||
# These are used to personalize your new site. If you look in the HTML files, | ||
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on. | ||
# You can create any custom variable you would like, and they will be accessible | ||
# in the templates via {{ site.myvariable }}. | ||
|
||
title: Your awesome title | ||
author: Your Name | ||
description: >- # this means to ignore newlines until "baseurl:" | ||
Write an awesome description for your new site here. You can edit this | ||
line in _config.yml. It will appear in your document head meta (for | ||
Google search results) and in your feed.xml site description. | ||
baseurl: "/whiteglass-template" # the subpath of your site, e.g. /blog | ||
url: "https://yous.github.io" # the base hostname & protocol for your site, e.g. http://example.com | ||
lang: en | ||
timezone: UTC | ||
|
||
# Social media | ||
twitter_username: | ||
twitter_image: | ||
facebook_app_id: | ||
facebook_image: | ||
google_analytics: | ||
comments: false | ||
|
||
# Build settings | ||
theme: jekyll-whiteglass | ||
plugins: | ||
- jekyll-archives | ||
- jekyll-paginate | ||
- jekyll-sitemap | ||
|
||
# Exclude from processing. | ||
# The following items will not be processed, by default. | ||
# Any item listed under the `exclude:` key here will be automatically added to | ||
# the internal "default list". | ||
# | ||
# Excluded items can be processed by explicitly listing the directories or | ||
# their entries' file path in the `include:` list. | ||
# | ||
# exclude: | ||
# - .sass-cache/ | ||
# - .jekyll-cache/ | ||
# - gemfiles/ | ||
# - Gemfile | ||
# - Gemfile.lock | ||
# - node_modules/ | ||
# - vendor/bundle/ | ||
# - vendor/cache/ | ||
# - vendor/gems/ | ||
# - vendor/ruby/ | ||
exclude: | ||
- README.md | ||
|
||
# Outputting | ||
permalink: /:year/:month/:day/:title/ | ||
|
||
# Markdown settings | ||
markdown: kramdown | ||
excerpt_separator: "<!-- more -->" | ||
kramdown: | ||
auto_ids: false | ||
enable_coderay: false | ||
entity_output: as_char | ||
footnote_nr: 1 | ||
smart_quotes: lsquo,rsquo,ldquo,rdquo | ||
toc_levels: 1..6 | ||
|
||
# jekyll-archives | ||
jekyll-archives: | ||
enabled: | ||
- categories | ||
- tags | ||
layout: category_archives | ||
permalinks: | ||
category: /categories/:name/ | ||
tag: /tags/:name/ | ||
|
||
# jekyll-paginate | ||
paginate_path: /posts/:num/ | ||
paginate: 5 |
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,70 @@ | ||
en: | ||
date: | ||
format: "%b %-d, %Y" # See http://ruby-doc.org/core/Time.html#method-i-strftime for possible date formatting strings | ||
abbr_day_names: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"] | ||
abbr_month_names: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", | ||
"Jul", "Aug", "Sep", "Oct", "Nov", "Dez"] | ||
day_names: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] | ||
month_names: ["January", "February", "March", "April", "May", "June", | ||
"July", "August", "September", "October", "November", "December"] | ||
morelink: "Read on" | ||
page-older: "Older" | ||
page-newer: "Newer" | ||
archive: "Blog Archive" | ||
archive-category: "Archive of category '%1'" | ||
archive-tag: "Archive of tag '%1'" | ||
comments: "Comments" | ||
de: | ||
date: | ||
format: "%e. %B %Y" | ||
abbr_day_names: ["So", "Mo", "Di", "Mi", "Do", "Fr" , "Sa"] | ||
abbr_month_names: ["Jan", "Feb", "Mär", "Apr", "Mai", "Jun", | ||
"Jul", "Aug", "Sep", "Okt", "Nov", "Dez"] | ||
day_names: ["Sonntag", "Montag", "Dienstag", "Mittwoch", "Donnerstag", "Freitag", "Samstag"] | ||
month_names: ["Januar", "Februar", "März", "April", "Mai", "Juni", | ||
"Juli", "August", "September", "Oktober", "November", "Dezember"] | ||
morelink: "Weiterlesen" | ||
page-older: "Ältere Beiträge" | ||
page-newer: "Neuere Beiträge" | ||
archive: "Blog Archiv" | ||
archive-category: "Archiv der Kategorie '%1'" | ||
archive-tag: "Archiv des Tags '%1'" | ||
comments: "Kommentare" | ||
de-AT: | ||
date: | ||
month_names: ["Jänner", "Februar", "März", "April", "Mai", "Juni", | ||
"Juli", "August", "September", "Oktober", "November", "Dezember"] | ||
abbr_month_names: ["Jän", "Feb", "Mär", "Apr", "Mai", "Jun", | ||
"Jul", "Aug", "Sep", "Okt", "Nov", "Dez"] | ||
ko: | ||
date: | ||
format: "%Y년 %-m월 %-d일" | ||
abbr_day_names: ["일", "월", "화", "수", "목", "금", "토"] | ||
abbr_month_names: ["1월", "2월", "3월", "4월", "5월", "6월", | ||
"7월", "8월", "9월", "10월", "11월", "12월"] | ||
day_names: ["일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일"] | ||
month_names: ["1월", "2월", "3월", "4월", "5월", "6월", | ||
"7월", "8월", "9월", "10월", "11월", "12월"] | ||
morelink: "계속 읽기" | ||
page-older: "이전" | ||
page-newer: "다음" | ||
archive: "블로그 아카이브" | ||
archive-category: "'%1' 카테고리 아카이브" | ||
archive-tag: "'%1' 태그 아카이브" | ||
comments: "댓글" | ||
fr: | ||
date: | ||
format: "%-d %B %Y" | ||
abbr_day_names: ["Dim", "Lun", "Mar", "Mer", "Jeu", "Ven", "Sam"] | ||
abbr_month_names: ["Jan", "Fev", "Mar", "Avr", "Mai", "Jui", | ||
"Jui", "Aou", "Sep", "Oct", "Nov", "Dec"] | ||
day_names: ["Dimanche", "Lundi", "Mardi", "Mercredi", "Jeudi", "Vendredi", "Samedi"] | ||
month_names: ["Janvier", "Février", "Mars", "Avril", "Mai", "Juin", | ||
"Juillet", "Aout", "Septembre", "Octobre", "Novembre", "Décembre"] | ||
morelink: "Lire plus" | ||
page-older: "Plus ancien" | ||
page-newer: "Récent" | ||
archive: "Archives" | ||
archive-category: "Archives de la catégorie '%1'" | ||
archive-tag: "Archives du tag '%1'" | ||
comments: "Commentaires" |
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 @@ | ||
# If you want to link only specific pages in your header, add the path to the | ||
# pages in order as they should show up. | ||
main: | ||
- title: "About" | ||
url: /about/ | ||
- title: "Archives" | ||
url: /archives/ |
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,29 @@ | ||
--- | ||
layout: post | ||
title: "Welcome to Jekyll!" | ||
date: 2020-04-24 15:10:56 +0900 | ||
categories: jekyll update | ||
--- | ||
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. | ||
|
||
Jekyll requires blog post files to be named according to the following format: | ||
|
||
`YEAR-MONTH-DAY-title.MARKUP` | ||
|
||
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. | ||
|
||
Jekyll also offers powerful support for code snippets: | ||
|
||
{% highlight ruby %} | ||
def print_hi(name) | ||
puts "Hi, #{name}" | ||
end | ||
print_hi('Tom') | ||
#=> prints 'Hi, Tom' to STDOUT. | ||
{% endhighlight %} | ||
|
||
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]. | ||
|
||
[jekyll-docs]: https://jekyllrb.com/docs/home | ||
[jekyll-gh]: https://github.com/jekyll/jekyll | ||
[jekyll-talk]: https://talk.jekyllrb.com/ |
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,18 @@ | ||
--- | ||
layout: page | ||
title: About | ||
permalink: /about/ | ||
--- | ||
|
||
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/) | ||
|
||
You can find the source code for whiteglass at GitHub: | ||
[yous](https://github.com/yous) / | ||
[whiteglass](https://github.com/yous/whiteglass) | ||
|
||
You can find the source code for Jekyll at GitHub: | ||
[jekyll][jekyll-organization] / | ||
[jekyll](https://github.com/jekyll/jekyll) | ||
|
||
|
||
[jekyll-organization]: https://github.com/jekyll |
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,5 @@ | ||
--- | ||
layout: archive | ||
title: "Blog Archive" | ||
permalink: /archives/ | ||
--- |
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,3 @@ | ||
--- | ||
layout: feed | ||
--- |
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 @@ | ||
--- | ||
# You don't need to edit this file, it's empty on purpose. | ||
# Edit whiteglass' home layout instead if you want to make some changes. | ||
# See: https://jekyllrb.com/docs/themes/#overriding-theme-defaults | ||
layout: home | ||
--- |
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 @@ | ||
--- | ||
layout: null | ||
--- | ||
User-agent: * | ||
Disallow: | ||
|
||
Sitemap: {{ "/sitemap.xml" | prepend: site.baseurl | prepend: site.url }} |