Skip to content

Commit bc9b4ee

Browse files
committed
Initial GitHub pages site with Jekyll
1 parent e9749c8 commit bc9b4ee

7 files changed

+175
-0
lines changed

.gitignore

+9
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,15 @@ Thumbs.db
7575
*.glo
7676
*.ist
7777

78+
# Jekyll #
79+
#########
80+
_site
81+
.sass-cache
82+
.jekyll-cache
83+
.jekyll-metadata
84+
vendor
85+
Gemfile.lock
86+
7887
# Other #
7988
#########
8089

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

+33
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.4"
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", "~> 232", 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", :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]

_config.yml

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
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: Your awesome title
22+
email: your-email@example.com
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: "" # 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: jekyll
31+
32+
# Build settings
33+
theme: minima
34+
plugins:
35+
- jekyll-feed
36+
37+
# Exclude from processing.
38+
# The following items will not be processed, by default.
39+
# Any item listed under the `exclude:` key here will be automatically added to
40+
# the internal "default list".
41+
#
42+
# Excluded items can be processed by explicitly listing the directories or
43+
# their entries' file path in the `include:` list.
44+
#
45+
# exclude:
46+
# - .sass-cache/
47+
# - .jekyll-cache/
48+
# - gemfiles/
49+
# - Gemfile
50+
# - Gemfile.lock
51+
# - node_modules/
52+
# - vendor/bundle/
53+
# - vendor/cache/
54+
# - vendor/gems/
55+
# - vendor/ruby/
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
---
2+
layout: post
3+
title: "Welcome to Jekyll!"
4+
date: 2024-09-17 15:04:41 -0400
5+
categories: jekyll update
6+
---
7+
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.
8+
9+
Jekyll requires blog post files to be named according to the following format:
10+
11+
`YEAR-MONTH-DAY-title.MARKUP`
12+
13+
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.
14+
15+
Jekyll also offers powerful support for code snippets:
16+
17+
{% highlight ruby %}
18+
def print_hi(name)
19+
puts "Hi, #{name}"
20+
end
21+
print_hi('Tom')
22+
#=> prints 'Hi, Tom' to STDOUT.
23+
{% endhighlight %}
24+
25+
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].
26+
27+
[jekyll-docs]: https://jekyllrb.com/docs/home
28+
[jekyll-gh]: https://github.com/jekyll/jekyll
29+
[jekyll-talk]: https://talk.jekyllrb.com/

about.markdown

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
layout: page
3+
title: About
4+
permalink: /about/
5+
---
6+
7+
This is the base Jekyll 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/)
8+
9+
You can find the source code for Minima at GitHub:
10+
[jekyll][jekyll-organization] /
11+
[minima](https://github.com/jekyll/minima)
12+
13+
You can find the source code for Jekyll at GitHub:
14+
[jekyll][jekyll-organization] /
15+
[jekyll](https://github.com/jekyll/jekyll)
16+
17+
18+
[jekyll-organization]: https://github.com/jekyll

index.markdown

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
# Feel free to add content and custom Front Matter to this file.
3+
# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
4+
5+
layout: home
6+
---

0 commit comments

Comments
 (0)