Skip to content

Commit af85539

Browse files
authored
Add custom theme for GitHub Pages (#144)
1 parent 2e1ce04 commit af85539

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+681
-2
lines changed

.github/dependabot.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: bundler
4+
directory: /
5+
schedule:
6+
interval: "monthly"
7+
8+
# Maintain dependencies for GitHub Actions
9+
- package-ecosystem: "github-actions"
10+
directory: "/"
11+
schedule:
12+
interval: "monthly"

.github/workflows/jekyll.yml

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# This workflow uses actions that are not certified by GitHub.
2+
# They are provided by a third-party and are governed by
3+
# separate terms of service, privacy policy, and support
4+
# documentation.
5+
6+
# Sample workflow for building and deploying a Jekyll site to GitHub Pages
7+
name: Deploy Jekyll site to Pages
8+
9+
on:
10+
# Runs on pushes targeting the default branch
11+
push:
12+
branches: ["main"]
13+
14+
# Allows you to run this workflow manually from the Actions tab
15+
workflow_dispatch:
16+
17+
# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
18+
permissions:
19+
contents: read
20+
pages: write
21+
id-token: write
22+
23+
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
24+
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
25+
concurrency:
26+
group: "pages"
27+
cancel-in-progress: false
28+
29+
jobs:
30+
# Build job
31+
build:
32+
runs-on: ubuntu-latest
33+
steps:
34+
- name: Checkout
35+
uses: actions/checkout@v4
36+
- name: Setup Ruby
37+
uses: ruby/setup-ruby@401c19e14f474b54450cd3905bb8b86e2c8509cf # v1.204.0
38+
with:
39+
ruby-version: '3.1' # Not needed with a .ruby-version file
40+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
41+
cache-version: 0 # Increment this number if you need to re-download cached gems
42+
- name: Setup Pages
43+
id: pages
44+
uses: actions/configure-pages@v5
45+
- name: Build with Jekyll
46+
# Outputs to the './_site' directory by default
47+
run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}"
48+
env:
49+
JEKYLL_ENV: production
50+
- name: Upload artifact
51+
# Automatically uploads an artifact from the './_site' directory by default
52+
uses: actions/upload-pages-artifact@v3
53+
54+
# Deployment job
55+
deploy:
56+
environment:
57+
name: github-pages
58+
url: ${{ steps.deployment.outputs.page_url }}
59+
runs-on: ubuntu-latest
60+
needs: build
61+
steps:
62+
- name: Deploy to GitHub Pages
63+
id: deployment
64+
uses: actions/deploy-pages@v4

404.html

+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
layout: default
3+
title: Page not found :(
4+
---
5+
6+
<h1>404</h1>
7+
8+
<p>Page not found.</p>
9+
10+
<p>Please go to <a href="https://badges-and-achievements.github.io/">homepage</a>.</p>

Gemfile

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
source "https://rubygems.org"
2+
gem 'github-pages', group: :jekyll_plugins
3+
gem 'jekyll-include-cache', group: :jekyll_plugins
4+
gem 'html-proofer'
5+
gem "webrick", "~> 1.7"

Gemfile.lock

+289
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,289 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
activesupport (7.1.5.1)
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.8.7)
18+
public_suffix (>= 2.0.2, < 7.0)
19+
base64 (0.2.0)
20+
benchmark (0.4.0)
21+
bigdecimal (3.1.9)
22+
coffee-script (2.4.1)
23+
coffee-script-source
24+
execjs
25+
coffee-script-source (1.12.2)
26+
colorator (1.1.0)
27+
commonmarker (0.23.11)
28+
concurrent-ruby (1.3.5)
29+
connection_pool (2.5.0)
30+
dnsruby (1.72.3)
31+
base64 (~> 0.2.0)
32+
simpleidn (~> 0.2.1)
33+
drb (2.2.1)
34+
em-websocket (0.5.3)
35+
eventmachine (>= 0.12.9)
36+
http_parser.rb (~> 0)
37+
ethon (0.16.0)
38+
ffi (>= 1.15.0)
39+
eventmachine (1.2.7)
40+
execjs (2.10.0)
41+
faraday (2.8.1)
42+
base64
43+
faraday-net_http (>= 2.0, < 3.1)
44+
ruby2_keywords (>= 0.0.4)
45+
faraday-net_http (3.0.2)
46+
ffi (1.17.1)
47+
forwardable-extended (2.6.0)
48+
gemoji (4.1.0)
49+
github-pages (231)
50+
github-pages-health-check (= 1.18.2)
51+
jekyll (= 3.9.5)
52+
jekyll-avatar (= 0.8.0)
53+
jekyll-coffeescript (= 1.2.2)
54+
jekyll-commonmark-ghpages (= 0.4.0)
55+
jekyll-default-layout (= 0.1.5)
56+
jekyll-feed (= 0.17.0)
57+
jekyll-gist (= 1.5.0)
58+
jekyll-github-metadata (= 2.16.1)
59+
jekyll-include-cache (= 0.2.1)
60+
jekyll-mentions (= 1.6.0)
61+
jekyll-optional-front-matter (= 0.3.2)
62+
jekyll-paginate (= 1.1.0)
63+
jekyll-readme-index (= 0.3.0)
64+
jekyll-redirect-from (= 0.16.0)
65+
jekyll-relative-links (= 0.6.1)
66+
jekyll-remote-theme (= 0.4.3)
67+
jekyll-sass-converter (= 1.5.2)
68+
jekyll-seo-tag (= 2.8.0)
69+
jekyll-sitemap (= 1.4.0)
70+
jekyll-swiss (= 1.0.0)
71+
jekyll-theme-architect (= 0.2.0)
72+
jekyll-theme-cayman (= 0.2.0)
73+
jekyll-theme-dinky (= 0.2.0)
74+
jekyll-theme-hacker (= 0.2.0)
75+
jekyll-theme-leap-day (= 0.2.0)
76+
jekyll-theme-merlot (= 0.2.0)
77+
jekyll-theme-midnight (= 0.2.0)
78+
jekyll-theme-minimal (= 0.2.0)
79+
jekyll-theme-modernist (= 0.2.0)
80+
jekyll-theme-primer (= 0.6.0)
81+
jekyll-theme-slate (= 0.2.0)
82+
jekyll-theme-tactile (= 0.2.0)
83+
jekyll-theme-time-machine (= 0.2.0)
84+
jekyll-titles-from-headings (= 0.5.3)
85+
jemoji (= 0.13.0)
86+
kramdown (= 2.4.0)
87+
kramdown-parser-gfm (= 1.1.0)
88+
liquid (= 4.0.4)
89+
mercenary (~> 0.3)
90+
minima (= 2.5.1)
91+
nokogiri (>= 1.13.6, < 2.0)
92+
rouge (= 3.30.0)
93+
terminal-table (~> 1.4)
94+
github-pages-health-check (1.18.2)
95+
addressable (~> 2.3)
96+
dnsruby (~> 1.60)
97+
octokit (>= 4, < 8)
98+
public_suffix (>= 3.0, < 6.0)
99+
typhoeus (~> 1.3)
100+
html-pipeline (2.14.3)
101+
activesupport (>= 2)
102+
nokogiri (>= 1.4)
103+
html-proofer (4.4.3)
104+
addressable (~> 2.3)
105+
mercenary (~> 0.3)
106+
nokogiri (~> 1.13)
107+
parallel (~> 1.10)
108+
rainbow (~> 3.0)
109+
typhoeus (~> 1.3)
110+
yell (~> 2.0)
111+
zeitwerk (~> 2.5)
112+
http_parser.rb (0.8.0)
113+
i18n (1.14.7)
114+
concurrent-ruby (~> 1.0)
115+
jekyll (3.9.5)
116+
addressable (~> 2.4)
117+
colorator (~> 1.0)
118+
em-websocket (~> 0.5)
119+
i18n (>= 0.7, < 2)
120+
jekyll-sass-converter (~> 1.0)
121+
jekyll-watch (~> 2.0)
122+
kramdown (>= 1.17, < 3)
123+
liquid (~> 4.0)
124+
mercenary (~> 0.3.3)
125+
pathutil (~> 0.9)
126+
rouge (>= 1.7, < 4)
127+
safe_yaml (~> 1.0)
128+
jekyll-avatar (0.8.0)
129+
jekyll (>= 3.0, < 5.0)
130+
jekyll-coffeescript (1.2.2)
131+
coffee-script (~> 2.2)
132+
coffee-script-source (~> 1.12)
133+
jekyll-commonmark (1.4.0)
134+
commonmarker (~> 0.22)
135+
jekyll-commonmark-ghpages (0.4.0)
136+
commonmarker (~> 0.23.7)
137+
jekyll (~> 3.9.0)
138+
jekyll-commonmark (~> 1.4.0)
139+
rouge (>= 2.0, < 5.0)
140+
jekyll-default-layout (0.1.5)
141+
jekyll (>= 3.0, < 5.0)
142+
jekyll-feed (0.17.0)
143+
jekyll (>= 3.7, < 5.0)
144+
jekyll-gist (1.5.0)
145+
octokit (~> 4.2)
146+
jekyll-github-metadata (2.16.1)
147+
jekyll (>= 3.4, < 5.0)
148+
octokit (>= 4, < 7, != 4.4.0)
149+
jekyll-include-cache (0.2.1)
150+
jekyll (>= 3.7, < 5.0)
151+
jekyll-mentions (1.6.0)
152+
html-pipeline (~> 2.3)
153+
jekyll (>= 3.7, < 5.0)
154+
jekyll-optional-front-matter (0.3.2)
155+
jekyll (>= 3.0, < 5.0)
156+
jekyll-paginate (1.1.0)
157+
jekyll-readme-index (0.3.0)
158+
jekyll (>= 3.0, < 5.0)
159+
jekyll-redirect-from (0.16.0)
160+
jekyll (>= 3.3, < 5.0)
161+
jekyll-relative-links (0.6.1)
162+
jekyll (>= 3.3, < 5.0)
163+
jekyll-remote-theme (0.4.3)
164+
addressable (~> 2.0)
165+
jekyll (>= 3.5, < 5.0)
166+
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
167+
rubyzip (>= 1.3.0, < 3.0)
168+
jekyll-sass-converter (1.5.2)
169+
sass (~> 3.4)
170+
jekyll-seo-tag (2.8.0)
171+
jekyll (>= 3.8, < 5.0)
172+
jekyll-sitemap (1.4.0)
173+
jekyll (>= 3.7, < 5.0)
174+
jekyll-swiss (1.0.0)
175+
jekyll-theme-architect (0.2.0)
176+
jekyll (> 3.5, < 5.0)
177+
jekyll-seo-tag (~> 2.0)
178+
jekyll-theme-cayman (0.2.0)
179+
jekyll (> 3.5, < 5.0)
180+
jekyll-seo-tag (~> 2.0)
181+
jekyll-theme-dinky (0.2.0)
182+
jekyll (> 3.5, < 5.0)
183+
jekyll-seo-tag (~> 2.0)
184+
jekyll-theme-hacker (0.2.0)
185+
jekyll (> 3.5, < 5.0)
186+
jekyll-seo-tag (~> 2.0)
187+
jekyll-theme-leap-day (0.2.0)
188+
jekyll (> 3.5, < 5.0)
189+
jekyll-seo-tag (~> 2.0)
190+
jekyll-theme-merlot (0.2.0)
191+
jekyll (> 3.5, < 5.0)
192+
jekyll-seo-tag (~> 2.0)
193+
jekyll-theme-midnight (0.2.0)
194+
jekyll (> 3.5, < 5.0)
195+
jekyll-seo-tag (~> 2.0)
196+
jekyll-theme-minimal (0.2.0)
197+
jekyll (> 3.5, < 5.0)
198+
jekyll-seo-tag (~> 2.0)
199+
jekyll-theme-modernist (0.2.0)
200+
jekyll (> 3.5, < 5.0)
201+
jekyll-seo-tag (~> 2.0)
202+
jekyll-theme-primer (0.6.0)
203+
jekyll (> 3.5, < 5.0)
204+
jekyll-github-metadata (~> 2.9)
205+
jekyll-seo-tag (~> 2.0)
206+
jekyll-theme-slate (0.2.0)
207+
jekyll (> 3.5, < 5.0)
208+
jekyll-seo-tag (~> 2.0)
209+
jekyll-theme-tactile (0.2.0)
210+
jekyll (> 3.5, < 5.0)
211+
jekyll-seo-tag (~> 2.0)
212+
jekyll-theme-time-machine (0.2.0)
213+
jekyll (> 3.5, < 5.0)
214+
jekyll-seo-tag (~> 2.0)
215+
jekyll-titles-from-headings (0.5.3)
216+
jekyll (>= 3.3, < 5.0)
217+
jekyll-watch (2.2.1)
218+
listen (~> 3.0)
219+
jemoji (0.13.0)
220+
gemoji (>= 3, < 5)
221+
html-pipeline (~> 2.2)
222+
jekyll (>= 3.0, < 5.0)
223+
kramdown (2.4.0)
224+
rexml
225+
kramdown-parser-gfm (1.1.0)
226+
kramdown (~> 2.0)
227+
liquid (4.0.4)
228+
listen (3.9.0)
229+
rb-fsevent (~> 0.10, >= 0.10.3)
230+
rb-inotify (~> 0.9, >= 0.9.10)
231+
logger (1.6.5)
232+
mercenary (0.3.6)
233+
minima (2.5.1)
234+
jekyll (>= 3.5, < 5.0)
235+
jekyll-feed (~> 0.9)
236+
jekyll-seo-tag (~> 2.1)
237+
minitest (5.25.4)
238+
mutex_m (0.3.0)
239+
nokogiri (1.15.7-x86_64-linux)
240+
racc (~> 1.4)
241+
octokit (4.25.1)
242+
faraday (>= 1, < 3)
243+
sawyer (~> 0.9)
244+
parallel (1.26.3)
245+
pathutil (0.16.2)
246+
forwardable-extended (~> 2.6)
247+
public_suffix (5.1.1)
248+
racc (1.8.1)
249+
rainbow (3.1.1)
250+
rb-fsevent (0.11.2)
251+
rb-inotify (0.11.1)
252+
ffi (~> 1.0)
253+
rexml (3.4.0)
254+
rouge (3.30.0)
255+
ruby2_keywords (0.0.5)
256+
rubyzip (2.4.1)
257+
safe_yaml (1.0.5)
258+
sass (3.7.4)
259+
sass-listen (~> 4.0.0)
260+
sass-listen (4.0.0)
261+
rb-fsevent (~> 0.9, >= 0.9.4)
262+
rb-inotify (~> 0.9, >= 0.9.7)
263+
sawyer (0.9.2)
264+
addressable (>= 2.3.5)
265+
faraday (>= 0.17.3, < 3)
266+
securerandom (0.3.2)
267+
simpleidn (0.2.3)
268+
terminal-table (1.8.0)
269+
unicode-display_width (~> 1.1, >= 1.1.1)
270+
typhoeus (1.4.1)
271+
ethon (>= 0.9.0)
272+
tzinfo (2.0.6)
273+
concurrent-ruby (~> 1.0)
274+
unicode-display_width (1.8.0)
275+
webrick (1.9.1)
276+
yell (2.2.2)
277+
zeitwerk (2.6.18)
278+
279+
PLATFORMS
280+
x86_64-linux-musl
281+
282+
DEPENDENCIES
283+
github-pages
284+
html-proofer
285+
jekyll-include-cache
286+
webrick (~> 1.7)
287+
288+
BUNDLED WITH
289+
2.2.24

README.md

-2
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ Read this in other languages:
2727

2828
_Don't have the language you need? Just create an [issue](https://github.com/gomzyakov/achievements/issues/new/choose)._
2929

30-
_Interested in contributing? Check out the [issues](https://github.com/gomzyakov/achievements/issues)._
31-
3230
<br>
3331

3432
| Badge | Name | How to get |

0 commit comments

Comments
 (0)