Skip to content

Commit ff3cbe0

Browse files
committed
rebuild
0 parents  commit ff3cbe0

38 files changed

+1817
-0
lines changed

.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.html

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
---
2+
permalink: /404.html
3+
layout: default
4+
---
5+
6+
<style type="text/css" media="screen">
7+
.container {
8+
margin: 10px auto;
9+
max-width: 600px;
10+
text-align: center;
11+
}
12+
h1 {
13+
margin: 30px 0;
14+
font-size: 4em;
15+
line-height: 1;
16+
letter-spacing: -1px;
17+
}
18+
</style>
19+
20+
<div class="container">
21+
<h1>404</h1>
22+
23+
<p><strong>Page not found :(</strong></p>
24+
<p>The requested page could not be found.</p>
25+
</div>

Gemfile

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
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.3.3"
11+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
12+
# gem "minima", "~> 2.5"
13+
gem "jekyll-whiteglass"
14+
15+
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
16+
# uncomment the line below. To upgrade, run `bundle update github-pages`.
17+
# gem "github-pages", group: :jekyll_plugins
18+
# If you have any plugins, put them here!
19+
group :jekyll_plugins do
20+
gem "jekyll-feed", "~> 0.12"
21+
end
22+
23+
# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
24+
# and associated library.
25+
platforms :mingw, :x64_mingw, :mswin, :jruby do
26+
gem "tzinfo", ">= 1", "< 3"
27+
gem "tzinfo-data"
28+
end
29+
30+
# Performance-booster for watching directories on Windows
31+
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
32+
33+
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
34+
# do not have a Java counterpart.
35+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]
36+
gem "webrick"

Gemfile.lock

+89
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.8.1)
5+
public_suffix (>= 2.0.2, < 6.0)
6+
colorator (1.1.0)
7+
concurrent-ruby (1.2.2)
8+
em-websocket (0.5.3)
9+
eventmachine (>= 0.12.9)
10+
http_parser.rb (~> 0)
11+
eventmachine (1.2.7)
12+
ffi (1.15.5)
13+
forwardable-extended (2.6.0)
14+
google-protobuf (3.25.2-x86_64-darwin)
15+
http_parser.rb (0.8.0)
16+
i18n (1.12.0)
17+
concurrent-ruby (~> 1.0)
18+
jekyll (4.3.3)
19+
addressable (~> 2.4)
20+
colorator (~> 1.0)
21+
em-websocket (~> 0.5)
22+
i18n (~> 1.0)
23+
jekyll-sass-converter (>= 2.0, < 4.0)
24+
jekyll-watch (~> 2.0)
25+
kramdown (~> 2.3, >= 2.3.1)
26+
kramdown-parser-gfm (~> 1.0)
27+
liquid (~> 4.0)
28+
mercenary (>= 0.3.6, < 0.5)
29+
pathutil (~> 0.9)
30+
rouge (>= 3.0, < 5.0)
31+
safe_yaml (~> 1.0)
32+
terminal-table (>= 1.8, < 4.0)
33+
webrick (~> 1.7)
34+
jekyll-archives (2.2.1)
35+
jekyll (>= 3.6, < 5.0)
36+
jekyll-feed (0.17.0)
37+
jekyll (>= 3.7, < 5.0)
38+
jekyll-paginate (1.1.0)
39+
jekyll-sass-converter (3.0.0)
40+
sass-embedded (~> 1.54)
41+
jekyll-sitemap (1.4.0)
42+
jekyll (>= 3.7, < 5.0)
43+
jekyll-watch (2.2.1)
44+
listen (~> 3.0)
45+
jekyll-whiteglass (1.11.3)
46+
jekyll (>= 3.3)
47+
jekyll-archives (~> 2.1)
48+
jekyll-paginate (~> 1.1)
49+
jekyll-sitemap (~> 1.0)
50+
kramdown (2.4.0)
51+
rexml
52+
kramdown-parser-gfm (1.1.0)
53+
kramdown (~> 2.0)
54+
liquid (4.0.4)
55+
listen (3.8.0)
56+
rb-fsevent (~> 0.10, >= 0.10.3)
57+
rb-inotify (~> 0.9, >= 0.9.10)
58+
mercenary (0.4.0)
59+
pathutil (0.16.2)
60+
forwardable-extended (~> 2.6)
61+
public_suffix (4.0.7)
62+
rb-fsevent (0.11.2)
63+
rb-inotify (0.10.1)
64+
ffi (~> 1.0)
65+
rexml (3.2.5)
66+
rouge (4.2.0)
67+
safe_yaml (1.0.5)
68+
sass-embedded (1.70.0-x86_64-darwin)
69+
google-protobuf (~> 3.25)
70+
terminal-table (3.0.2)
71+
unicode-display_width (>= 1.1.1, < 3)
72+
unicode-display_width (2.5.0)
73+
webrick (1.8.1)
74+
75+
PLATFORMS
76+
x86_64-darwin
77+
78+
DEPENDENCIES
79+
http_parser.rb (~> 0.6.0)
80+
jekyll (~> 4.3.3)
81+
jekyll-feed (~> 0.12)
82+
jekyll-whiteglass
83+
tzinfo (>= 1, < 3)
84+
tzinfo-data
85+
wdm (~> 0.1.1)
86+
webrick
87+
88+
BUNDLED WITH
89+
2.5.6

_config.yml

+84
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
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: Talkincode
22+
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: "/talkincode" # the subpath of your site, e.g. /blog
28+
url: "" # the base hostname & protocol for your site, e.g. http://example.com
29+
# twitter_username: jekyllrb
30+
github_username: jamiesun
31+
32+
# Build settings
33+
theme: jekyll-whiteglass
34+
plugins:
35+
- jekyll-feed
36+
- jekyll-archives
37+
- jekyll-paginate
38+
- jekyll-sitemap
39+
40+
41+
# Build settings
42+
markdown: kramdown
43+
excerpt_separator: "<!-- more -->"
44+
45+
permalink: /:year/:month/:day/:title/
46+
paginate_path: /posts/:num/
47+
paginate: 5
48+
49+
# Markdown settings
50+
kramdown:
51+
auto_ids: false
52+
enable_coderay: false
53+
entity_output: as_char
54+
footnote_nr: 1
55+
smart_quotes: lsquo,rsquo,ldquo,rdquo
56+
toc_levels: 1..6
57+
58+
jekyll-archives:
59+
enabled:
60+
- categories
61+
- tags
62+
layout: category_archives
63+
permalinks:
64+
category: /categories/:name/
65+
tag: /tags/:name/
66+
# Exclude from processing.
67+
# The following items will not be processed, by default.
68+
# Any item listed under the `exclude:` key here will be automatically added to
69+
# the internal "default list".
70+
#
71+
# Excluded items can be processed by explicitly listing the directories or
72+
# their entries' file path in the `include:` list.
73+
#
74+
# exclude:
75+
# - .sass-cache/
76+
# - .jekyll-cache/
77+
# - gemfiles/
78+
# - Gemfile
79+
# - Gemfile.lock
80+
# - node_modules/
81+
# - vendor/bundle/
82+
# - vendor/cache/
83+
# - vendor/gems/
84+
# - vendor/ruby/

_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+
main:
2+
- title: "About"
3+
url: /about/
4+
- title: "Archives"
5+
url: /archives/
6+
- title: "GitHub"
7+
url: https://github.com/talkincode

_includes/category_links.html

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{% if include.categories != empty %} •
2+
{% for category in include.categories %}
3+
{% assign no_comma = forloop.last %}
4+
{% for archive in site.archives %}
5+
{% if archive.type == "category" and archive.title == category %}
6+
<a href="{{ archive.url | relative_url }}">{{ archive.title | escape }}</a>{% unless no_comma %},{% endunless %}
7+
{% endif %}
8+
{% endfor %}
9+
{% endfor %}
10+
{% endif %}
11+
12+
{% if include.tags != empty %} •
13+
{% for tag in include.tags %}
14+
{% assign no_comma = forloop.last %}
15+
{% for archive in site.archives %}
16+
{% if archive.type == "tag" and archive.title == tag %}
17+
<a href="{{ archive.url | relative_url }}">{{ archive.title | escape }}</a>{% unless no_comma %},{% endunless %}
18+
{% endif %}
19+
{% endfor %}
20+
{% endfor %}
21+
{% endif %}
+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<hr />
2+
<h1>{% include i18n.html lang=lang value="comments" default="Comments" %}</h1>
3+
<p>Insert your custom comment provider like <a href="https://disqus.com">Disqus</a> or <a href="https://posativ.org/isso">Isso</a> here.</p>

_includes/date.html

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
{%- if include.lang and include.lang != empty -%}
2+
{%- assign plang = include.lang -%}
3+
{%- else -%}
4+
{%- assign plang = page.lang | default: site.lang | default: "en" -%}
5+
{%- endif -%}
6+
{%- assign splang = plang | truncate: 2, "" -%}
7+
{%- if plang != "en" -%}
8+
{%- assign dateformat = site.data.i18n.[plang].date.format | default: site.data.i18n.[splang].date.format | default: "%b %-d, %Y" -%}
9+
{%- comment -%} The dateformat is determined based on the language. Now replace required variables (for now we ignore time based variables (%p, %P)) {%- endcomment -%}
10+
{%- assign num_month = include.date | date: "%-m" | minus: 1 -%}
11+
{%- assign num_day = include.date | date: "%w" | plus: 0 -%}
12+
{%- assign i18n_dateformat = dateformat -%}
13+
{%- assign abbr_day_name = site.data.i18n.[plang].date.abbr_day_names[num_day] | default: site.data.i18n.[splang].date.abbr_day_names[num_day] -%}
14+
{%- if abbr_day_name -%}
15+
{%- assign i18n_dateformat = i18n_dateformat | replace: "%a", abbr_day_name -%}
16+
{%- endif -%}
17+
{%- assign day_name = site.data.i18n.[plang].date.day_names[num_day] | default: site.data.i18n.[splang].date.day_names[num_day] -%}
18+
{%- if day_name -%}
19+
{%- assign i18n_dateformat = i18n_dateformat | replace: "%A", day_name -%}
20+
{%- endif -%}
21+
{%- assign abbr_month_name = site.data.i18n.[plang].date.abbr_month_names[num_month] | default: site.data.i18n.[splang].date.abbr_month_names[num_month] -%}
22+
{%- if abbr_month_name -%}
23+
{%- assign i18n_dateformat = i18n_dateformat | replace: "%b", abbr_month_name -%}
24+
{%- endif -%}
25+
{%- assign month_name = site.data.i18n.[plang].date.month_names[num_month] | default: site.data.i18n.[splang].date.month_names[num_month] -%}
26+
{%- if month_name -%}
27+
{%- assign i18n_dateformat = i18n_dateformat | replace: "%B", month_name -%}
28+
{%- endif -%}
29+
{{ include.date | date: i18n_dateformat }}
30+
{%- else -%}
31+
{{ include.date | date: "%b %-d, %Y" }}
32+
{%- endif -%}

_includes/fonts.html

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<link rel="dns-prefetch" href="https://fonts.gstatic.com">
2+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
3+
<link href="https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,400;0,700;1,400&amp;display=swap" rel="stylesheet">

0 commit comments

Comments
 (0)