Skip to content

Commit 1004bde

Browse files
authored
Merge pull request #1 from svbnet/new-retro
New retro
2 parents e48a32a + 916abe9 commit 1004bde

Some content is hidden

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

41 files changed

+1355
-217
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
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

Lines changed: 25 additions & 0 deletions
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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
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.2"
11+
# This is the default theme for new Jekyll sites. You may change this to anything you like.
12+
gem "minima", "~> 2.5"
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+
platforms :mingw, :x64_mingw, :mswin, :jruby do
24+
gem "tzinfo", ">= 1", "< 3"
25+
gem "tzinfo-data"
26+
end
27+
28+
# Performance-booster for watching directories on Windows
29+
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
30+
31+
# Lock `http_parser.rb` gem to `v0.6.x` on JRuby builds since newer versions of the gem
32+
# do not have a Java counterpart.
33+
gem "http_parser.rb", "~> 0.6.0", :platforms => [:jruby]

Gemfile.lock

Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
addressable (2.8.7)
5+
public_suffix (>= 2.0.2, < 7.0)
6+
bigdecimal (3.1.8)
7+
colorator (1.1.0)
8+
concurrent-ruby (1.3.4)
9+
em-websocket (0.5.3)
10+
eventmachine (>= 0.12.9)
11+
http_parser.rb (~> 0)
12+
eventmachine (1.2.7)
13+
ffi (1.17.0-x86_64-linux-gnu)
14+
forwardable-extended (2.6.0)
15+
google-protobuf (4.28.3-x86_64-linux)
16+
bigdecimal
17+
rake (>= 13)
18+
http_parser.rb (0.8.0)
19+
i18n (1.14.6)
20+
concurrent-ruby (~> 1.0)
21+
jekyll (4.3.4)
22+
addressable (~> 2.4)
23+
colorator (~> 1.0)
24+
em-websocket (~> 0.5)
25+
i18n (~> 1.0)
26+
jekyll-sass-converter (>= 2.0, < 4.0)
27+
jekyll-watch (~> 2.0)
28+
kramdown (~> 2.3, >= 2.3.1)
29+
kramdown-parser-gfm (~> 1.0)
30+
liquid (~> 4.0)
31+
mercenary (>= 0.3.6, < 0.5)
32+
pathutil (~> 0.9)
33+
rouge (>= 3.0, < 5.0)
34+
safe_yaml (~> 1.0)
35+
terminal-table (>= 1.8, < 4.0)
36+
webrick (~> 1.7)
37+
jekyll-feed (0.17.0)
38+
jekyll (>= 3.7, < 5.0)
39+
jekyll-sass-converter (3.0.0)
40+
sass-embedded (~> 1.54)
41+
jekyll-seo-tag (2.8.0)
42+
jekyll (>= 3.8, < 5.0)
43+
jekyll-watch (2.2.1)
44+
listen (~> 3.0)
45+
kramdown (2.4.0)
46+
rexml
47+
kramdown-parser-gfm (1.1.0)
48+
kramdown (~> 2.0)
49+
liquid (4.0.4)
50+
listen (3.9.0)
51+
rb-fsevent (~> 0.10, >= 0.10.3)
52+
rb-inotify (~> 0.9, >= 0.9.10)
53+
mercenary (0.4.0)
54+
minima (2.5.2)
55+
jekyll (>= 3.5, < 5.0)
56+
jekyll-feed (~> 0.9)
57+
jekyll-seo-tag (~> 2.1)
58+
pathutil (0.16.2)
59+
forwardable-extended (~> 2.6)
60+
public_suffix (6.0.1)
61+
rake (13.2.1)
62+
rb-fsevent (0.11.2)
63+
rb-inotify (0.11.1)
64+
ffi (~> 1.0)
65+
rexml (3.3.9)
66+
rouge (4.4.0)
67+
safe_yaml (1.0.5)
68+
sass-embedded (1.80.5-x86_64-linux-gnu)
69+
google-protobuf (~> 4.28)
70+
terminal-table (3.0.2)
71+
unicode-display_width (>= 1.1.1, < 3)
72+
unicode-display_width (2.6.0)
73+
webrick (1.9.0)
74+
75+
PLATFORMS
76+
x86_64-linux
77+
78+
DEPENDENCIES
79+
http_parser.rb (~> 0.6.0)
80+
jekyll (~> 4.3.2)
81+
jekyll-feed (~> 0.12)
82+
minima (~> 2.5)
83+
tzinfo (>= 1, < 3)
84+
tzinfo-data
85+
wdm (~> 0.1.1)
86+
87+
BUNDLED WITH
88+
2.4.13

_config.yml

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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: svbnet
22+
email: joe@svbnet.co
23+
description: >- # this means to ignore newlines until "baseurl:"
24+
a work in progress
25+
baseurl: "" # the subpath of your site, e.g. /blog
26+
url: "https://svbnet.co" # the base hostname & protocol for your site, e.g. http://example.com
27+
permalink: /posts/:year/:month/:day/:title
28+
29+
# Build settings
30+
theme: minima
31+
plugins:
32+
- jekyll-feed
33+
34+
# Exclude from processing.
35+
# The following items will not be processed, by default.
36+
# Any item listed under the `exclude:` key here will be automatically added to
37+
# the internal "default list".
38+
#
39+
# Excluded items can be processed by explicitly listing the directories or
40+
# their entries' file path in the `include:` list.
41+
#
42+
# exclude:
43+
# - .sass-cache/
44+
# - .jekyll-cache/
45+
# - gemfiles/
46+
# - Gemfile
47+
# - Gemfile.lock
48+
# - node_modules/
49+
# - vendor/bundle/
50+
# - vendor/cache/
51+
# - vendor/gems/
52+
# - vendor/ruby/

_includes/footer.html

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<footer class="site-footer h-card">
2+
<data class="u-url" href="{{ "/" | relative_url }}"></data>
3+
<div class="footer-col-wrapper">
4+
<div class="footer-col">
5+
<p class="feed-subscribe">
6+
<a href="{{ site.feed.path | default: 'feed.xml' | absolute_url }}">
7+
<svg class="svg-icon orange">
8+
<use xlink:href="{{ 'assets/minima-social-icons.svg#rss' | relative_url }}"></use>
9+
</svg><span>Subscribe</span>
10+
</a>
11+
</p>
12+
{{ site.email }}
13+
{%- if site.author %}
14+
<ul class="contact-list">
15+
{% if site.author.name -%}
16+
<li class="p-name">{{ site.author.name | escape }}</li>
17+
{% endif -%}
18+
{% if site.author.email -%}
19+
<li><a class="u-email" href="mailto:{{ site.author.email }}">{{ site.author.email }}</a></li>
20+
{%- endif %}
21+
</ul>
22+
{%- endif %}
23+
</div>
24+
<div class="footer-col">
25+
<p>{{ site.description | escape }}</p>
26+
</div>
27+
</div>
28+
</footer>

_includes/head.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
<link rel="shortcut icon" type="image/png" href="{{ "/assets/images/site/favicon.png" | relative_url }}">
6+
{%- seo -%}
7+
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
8+
{%- feed_meta -%}
9+
</head>

_includes/header.html

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<header class="aside-header">
2+
{%- assign default_paths = site.pages | map: "path" -%}
3+
{%- assign page_paths = site.header_pages | default: default_paths -%}
4+
{%- assign titles_size = site.pages | map: 'title' | join: '' | size -%}
5+
<h1>
6+
<a class="site-title" rel="author" href="{{ "/" | relative_url }}">
7+
<img alt="polar bears" title="{{ site.title | escape }}" src="/assets/images/site/bears_krupa.jpg">
8+
svbnet
9+
</a>
10+
</h1>
11+
12+
{%- if titles_size > 0 -%}
13+
<nav class="site-nav">
14+
<a class="page-link bevelled" href="{{ "/" | relative_url }}"><img src="/assets/images/theme/home.gif">Home</a>
15+
{%- for path in page_paths -%}
16+
{%- assign my_page = site.pages | where: "path", path | first -%}
17+
{%- assign bull_file = my_page.bullet | default: 'bullet' -%}
18+
{%- if my_page.title -%}
19+
<a class="page-link bevelled" href="{{ my_page.url | relative_url }}"><img src="/assets/images/theme/{{ bull_file }}.gif">{{ my_page.title | escape }}</a>
20+
{%- endif -%}
21+
{%- endfor -%}
22+
<hr class="chain">
23+
<a class="page-link bevelled" target="_blank" href="https://github.com/svbnet">
24+
<img src="/assets/images/site/github.svg" alt="GitHub logo">
25+
GitHub
26+
</a>
27+
<a class="page-link bevelled" target="_blank" href="https://www.youtube.com/@svbnet">
28+
<img src="/assets/images/site/yt.svg" alt="YouTube logo">
29+
YouTube
30+
</a>
31+
<a class="page-link bevelled" target="_blank" href="https://bsky.app/profile/svbnet.co">
32+
<img src="/assets/images/site/bsky.svg" alt="Bluesky logo">
33+
Bluesky
34+
</a>
35+
</nav>
36+
{%- endif -%}
37+
</header>

_layouts/base.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
<!DOCTYPE html>
2+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
3+
4+
{%- include head.html -%}
5+
6+
<body>
7+
8+
{%- include header.html -%}
9+
10+
<main class="page-content" aria-label="Content">
11+
<div class="wrapper inner-content">
12+
{{ content }}
13+
</div>
14+
<div class="wrapper content-footer">
15+
</div>
16+
</main>
17+
18+
{%- include footer.html -%}
19+
20+
</body>
21+
22+
</html>

_layouts/home.html

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
layout: base
3+
---
4+
5+
<div class="home">
6+
{%- if page.title -%}
7+
<h1 class="page-heading">{{ page.title }}</h1>
8+
{%- endif -%}
9+
10+
{{ content }}
11+
12+
<hr class="blue-line">
13+
14+
{% if site.paginate %}
15+
{% assign posts = paginator.posts %}
16+
{% else %}
17+
{% assign posts = site.posts %}
18+
{% endif %}
19+
20+
21+
{%- if posts.size > 0 -%}
22+
{%- if page.list_title -%}
23+
<h2 class="post-list-heading">{{ page.list_title }}</h2>
24+
{%- endif -%}
25+
<ul class="post-list">
26+
{%- assign date_format = site.minima.date_format | default: "%b %-d, %Y" -%}
27+
{%- for post in posts -%}
28+
<li>
29+
<time class="post-meta" datetime="{{ post.date }}">{{ post.date | date: date_format }}</time>
30+
<h3>
31+
<a class="post-link" href="{{ post.url | relative_url }}">
32+
{{ post.title | escape }}
33+
</a>
34+
</h3>
35+
<span class="post-excerpt">{{ post.excerpt }}</span>
36+
</li>
37+
{%- endfor -%}
38+
</ul>
39+
40+
{% if site.paginate %}
41+
<div class="pager">
42+
<ul class="pagination">
43+
{%- if paginator.previous_page %}
44+
<li><a href="{{ paginator.previous_page_path | relative_url }}" class="previous-page">{{ paginator.previous_page }}</a></li>
45+
{%- else %}
46+
<li><div class="pager-edge"></div></li>
47+
{%- endif %}
48+
<li><div class="current-page">{{ paginator.page }}</div></li>
49+
{%- if paginator.next_page %}
50+
<li><a href="{{ paginator.next_page_path | relative_url }}" class="next-page">{{ paginator.next_page }}</a></li>
51+
{%- else %}
52+
<li><div class="pager-edge"></div></li>
53+
{%- endif %}
54+
</ul>
55+
</div>
56+
{%- endif %}
57+
58+
{%- endif -%}
59+
60+
</div>

0 commit comments

Comments
 (0)