Skip to content

Commit 78bf2d0

Browse files
committed
initial blog scaffold: Jekyll + Minimal Mistakes, 3 posts
0 parents  commit 78bf2d0

20 files changed

Lines changed: 1473 additions & 0 deletions

.github/workflows/jekyll.yml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
name: Deploy Jekyll site to Pages
2+
3+
on:
4+
push:
5+
branches: [main]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: false
16+
17+
jobs:
18+
build:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v4
23+
24+
- name: Setup Ruby
25+
uses: ruby/setup-ruby@v1
26+
with:
27+
ruby-version: "3.2"
28+
bundler-cache: true
29+
30+
- name: Setup Pages
31+
id: pages
32+
uses: actions/configure-pages@v4
33+
34+
- name: Build with Jekyll
35+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
36+
env:
37+
JEKYLL_ENV: production
38+
39+
- name: Upload artifact
40+
uses: actions/upload-pages-artifact@v3
41+
42+
deploy:
43+
environment:
44+
name: github-pages
45+
url: ${{ steps.deployment.outputs.page_url }}
46+
runs-on: ubuntu-latest
47+
needs: build
48+
steps:
49+
- name: Deploy to GitHub Pages
50+
id: deployment
51+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
_site/
2+
.sass-cache/
3+
.jekyll-cache/
4+
.jekyll-metadata
5+
vendor/
6+
.bundle/
7+

CNAME

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blog.weids.dev

Gemfile

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
source "https://rubygems.org"
2+
3+
gem "jekyll", "~> 4.3"
4+
5+
group :jekyll_plugins do
6+
gem "jekyll-remote-theme"
7+
gem "jekyll-include-cache"
8+
gem "jekyll-paginate"
9+
gem "jekyll-sitemap"
10+
gem "jekyll-feed"
11+
gem "jekyll-gist"
12+
gem "jemoji"
13+
end
14+
15+
gem "webrick", "~> 1.8"

Gemfile.lock

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,165 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
activesupport (7.1.6)
5+
base64
6+
benchmark (>= 0.3)
7+
bigdecimal
8+
concurrent-ruby (~> 1.0, >= 1.0.2)
9+
connection_pool (>= 2.2.5)
10+
drb
11+
i18n (>= 1.6, < 2)
12+
logger (>= 1.4.2)
13+
minitest (>= 5.1)
14+
mutex_m
15+
securerandom (>= 0.3)
16+
tzinfo (~> 2.0)
17+
addressable (2.9.0)
18+
public_suffix (>= 2.0.2, < 8.0)
19+
base64 (0.3.0)
20+
benchmark (0.5.0)
21+
bigdecimal (4.1.2)
22+
colorator (1.1.0)
23+
concurrent-ruby (1.3.6)
24+
connection_pool (2.5.5)
25+
csv (3.3.5)
26+
drb (2.2.3)
27+
em-websocket (0.5.3)
28+
eventmachine (>= 0.12.9)
29+
http_parser.rb (~> 0)
30+
eventmachine (1.2.7)
31+
faraday (2.14.1)
32+
faraday-net_http (>= 2.0, < 3.5)
33+
json
34+
logger
35+
faraday-net_http (3.4.2)
36+
net-http (~> 0.5)
37+
ffi (1.17.4)
38+
ffi (1.17.4-arm64-darwin)
39+
ffi (1.17.4-x86_64-darwin)
40+
forwardable-extended (2.6.0)
41+
gemoji (4.1.0)
42+
google-protobuf (3.25.8-arm64-darwin)
43+
google-protobuf (3.25.8-x86_64-darwin)
44+
google-protobuf (3.25.8-x86_64-linux)
45+
html-pipeline (2.14.3)
46+
activesupport (>= 2)
47+
nokogiri (>= 1.4)
48+
http_parser.rb (0.8.1)
49+
i18n (1.14.8)
50+
concurrent-ruby (~> 1.0)
51+
jekyll (4.4.1)
52+
addressable (~> 2.4)
53+
base64 (~> 0.2)
54+
colorator (~> 1.0)
55+
csv (~> 3.0)
56+
em-websocket (~> 0.5)
57+
i18n (~> 1.0)
58+
jekyll-sass-converter (>= 2.0, < 4.0)
59+
jekyll-watch (~> 2.0)
60+
json (~> 2.6)
61+
kramdown (~> 2.3, >= 2.3.1)
62+
kramdown-parser-gfm (~> 1.0)
63+
liquid (~> 4.0)
64+
mercenary (~> 0.3, >= 0.3.6)
65+
pathutil (~> 0.9)
66+
rouge (>= 3.0, < 5.0)
67+
safe_yaml (~> 1.0)
68+
terminal-table (>= 1.8, < 4.0)
69+
webrick (~> 1.7)
70+
jekyll-feed (0.17.0)
71+
jekyll (>= 3.7, < 5.0)
72+
jekyll-gist (1.5.0)
73+
octokit (~> 4.2)
74+
jekyll-include-cache (0.2.1)
75+
jekyll (>= 3.7, < 5.0)
76+
jekyll-paginate (1.1.0)
77+
jekyll-remote-theme (0.4.3)
78+
addressable (~> 2.0)
79+
jekyll (>= 3.5, < 5.0)
80+
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
81+
rubyzip (>= 1.3.0, < 3.0)
82+
jekyll-sass-converter (3.0.0)
83+
sass-embedded (~> 1.54)
84+
jekyll-sitemap (1.4.0)
85+
jekyll (>= 3.7, < 5.0)
86+
jekyll-watch (2.2.1)
87+
listen (~> 3.0)
88+
jemoji (0.13.0)
89+
gemoji (>= 3, < 5)
90+
html-pipeline (~> 2.2)
91+
jekyll (>= 3.0, < 5.0)
92+
json (2.19.4)
93+
kramdown (2.5.2)
94+
rexml (>= 3.4.4)
95+
kramdown-parser-gfm (1.1.0)
96+
kramdown (~> 2.0)
97+
liquid (4.0.4)
98+
listen (3.10.0)
99+
logger
100+
rb-fsevent (~> 0.10, >= 0.10.3)
101+
rb-inotify (~> 0.9, >= 0.9.10)
102+
logger (1.7.0)
103+
mercenary (0.4.0)
104+
minitest (5.26.1)
105+
mutex_m (0.3.0)
106+
net-http (0.9.1)
107+
uri (>= 0.11.1)
108+
nokogiri (1.17.2-arm64-darwin)
109+
racc (~> 1.4)
110+
nokogiri (1.17.2-x86_64-darwin)
111+
racc (~> 1.4)
112+
nokogiri (1.17.2-x86_64-linux)
113+
racc (~> 1.4)
114+
octokit (4.25.1)
115+
faraday (>= 1, < 3)
116+
sawyer (~> 0.9)
117+
pathutil (0.16.2)
118+
forwardable-extended (~> 2.6)
119+
public_suffix (6.0.2)
120+
racc (1.8.1)
121+
rake (13.4.2)
122+
rb-fsevent (0.11.2)
123+
rb-inotify (0.11.1)
124+
ffi (~> 1.0)
125+
rexml (3.4.4)
126+
rouge (4.7.0)
127+
rubyzip (2.4.1)
128+
safe_yaml (1.0.5)
129+
sass-embedded (1.69.5)
130+
google-protobuf (~> 3.23)
131+
rake (>= 13.0.0)
132+
sass-embedded (1.69.5-arm64-darwin)
133+
google-protobuf (~> 3.23)
134+
sass-embedded (1.69.5-x86_64-darwin)
135+
google-protobuf (~> 3.23)
136+
sawyer (0.9.3)
137+
addressable (>= 2.3.5)
138+
faraday (>= 0.17.3, < 3)
139+
securerandom (0.3.2)
140+
terminal-table (3.0.2)
141+
unicode-display_width (>= 1.1.1, < 3)
142+
tzinfo (2.0.6)
143+
concurrent-ruby (~> 1.0)
144+
unicode-display_width (2.6.0)
145+
uri (1.1.1)
146+
webrick (1.9.2)
147+
148+
PLATFORMS
149+
arm64-darwin
150+
x86_64-darwin
151+
x86_64-linux
152+
153+
DEPENDENCIES
154+
jekyll (~> 4.3)
155+
jekyll-feed
156+
jekyll-gist
157+
jekyll-include-cache
158+
jekyll-paginate
159+
jekyll-remote-theme
160+
jekyll-sitemap
161+
jemoji
162+
webrick (~> 1.8)
163+
164+
BUNDLED WITH
165+
2.5.23

_config.yml

Lines changed: 101 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,101 @@
1+
## Site settings
2+
remote_theme : "mmistakes/minimal-mistakes"
3+
minimal_mistakes_skin : "default" # white body — we override the masthead to be dark
4+
5+
locale : "en-US"
6+
title : "WeidS Lab"
7+
title_separator : "-"
8+
subtitle : "Research notes from WeidS Lab"
9+
name : "WeidS Lab"
10+
description : "Notes on verifiable computing, cryptography, and systems — from WeidS Lab."
11+
url : "https://blog.weids.dev"
12+
baseurl : ""
13+
repository : "weids-dev/blog"
14+
words_per_minute : 200
15+
16+
## Reading / rendering
17+
markdown : kramdown
18+
highlighter : rouge
19+
lsi : false
20+
excerpt_separator : "\n\n"
21+
incremental : false
22+
23+
kramdown:
24+
input : GFM
25+
hard_wrap : false
26+
auto_ids : true
27+
footnote_nr : 1
28+
entity_output : as_char
29+
toc_levels : 1..6
30+
smart_quotes : lsquo,rsquo,ldquo,rdquo
31+
enable_coderay : false
32+
# Leave math as literal $...$ / $$...$$ in the output so KaTeX auto-render
33+
# (injected via _includes/head/custom.html) picks it up client-side.
34+
math_engine : null
35+
36+
## Plugins
37+
plugins:
38+
- jekyll-remote-theme
39+
- jekyll-include-cache
40+
- jekyll-paginate
41+
- jekyll-sitemap
42+
- jekyll-feed
43+
- jekyll-gist
44+
- jemoji
45+
46+
## Pagination
47+
paginate : 5
48+
paginate_path : "/page:num/"
49+
50+
## Include posts whose date is in the future (Jekyll hides them by default).
51+
## Safe to leave on — posts still sort by date.
52+
future : true
53+
54+
## Defaults — layout + read time + Disqus on + TOC sticky, author-less meta.
55+
defaults:
56+
- scope:
57+
path : ""
58+
type : posts
59+
values:
60+
layout : single
61+
classes : wide
62+
read_time : true
63+
comments : true
64+
author : "A. Wang"
65+
share : true
66+
related : false
67+
toc : true
68+
toc_sticky : true
69+
show_date : true
70+
71+
## Comments — Disqus
72+
# To enable real comments:
73+
# 1. Sign up at https://disqus.com, register this site, pick a shortname.
74+
# 2. Paste the shortname below (e.g. "weids-lab").
75+
# 3. Leave `provider: disqus`. Posts inherit `comments: true` from defaults.
76+
# While `shortname` is empty, MM silently skips rendering the Disqus widget.
77+
comments:
78+
provider : "disqus"
79+
disqus:
80+
shortname : "" # TODO: set to your Disqus site shortname
81+
82+
## Footer links (MM reads this)
83+
footer:
84+
links:
85+
- label : "GitHub"
86+
icon : "fab fa-fw fa-github"
87+
url : "https://github.com/weids-dev"
88+
- label : "Website"
89+
icon : "fas fa-fw fa-globe"
90+
url : "https://weids.dev"
91+
- label : "Email"
92+
icon : "fas fa-fw fa-envelope"
93+
url : "mailto:hello@weids.dev"
94+
95+
## Exclude from build
96+
exclude:
97+
- Gemfile
98+
- Gemfile.lock
99+
- vendor
100+
- README.md
101+
- node_modules

0 commit comments

Comments
 (0)