Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MarlinSchaefer committed May 4, 2021
0 parents commit a8b510f
Show file tree
Hide file tree
Showing 17 changed files with 230 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
I"�{"source"=>"/home/marlin/Documents/Programming/Website", "destination"=>"/home/marlin/Documents/Programming/Website/_site", "collections_dir"=>"", "cache_dir"=>".jekyll-cache", "plugins_dir"=>"_plugins", "layouts_dir"=>"_layouts", "data_dir"=>"_data", "includes_dir"=>"_includes", "collections"=>{"posts"=>{"output"=>true, "permalink"=>"/:categories/:year/:month/:day/:title:output_ext"}}, "safe"=>false, "include"=>[".htaccess"], "exclude"=>[".sass-cache", ".jekyll-cache", "gemfiles", "Gemfile", "Gemfile.lock", "node_modules", "vendor/bundle/", "vendor/cache/", "vendor/gems/", "vendor/ruby/"], "keep_files"=>[".git", ".svn"], "encoding"=>"utf-8", "markdown_ext"=>"markdown,mkdown,mkdn,mkd,md", "strict_front_matter"=>false, "show_drafts"=>nil, "limit_posts"=>0, "future"=>false, "unpublished"=>false, "whitelist"=>[], "plugins"=>[], "markdown"=>"kramdown", "highlighter"=>"rouge", "lsi"=>false, "excerpt_separator"=>"\n\n", "incremental"=>false, "detach"=>false, "port"=>"4000", "host"=>"127.0.0.1", "baseurl"=>nil, "show_dir_listing"=>false, "permalink"=>"date", "paginate_path"=>"/page:num", "timezone"=>nil, "quiet"=>false, "verbose"=>false, "defaults"=>[], "liquid"=>{"error_mode"=>"warn", "strict_filters"=>false, "strict_variables"=>false}, "kramdown"=>{"auto_ids"=>true, "toc_levels"=>[1, 2, 3, 4, 5, 6], "entity_output"=>"as_char", "smart_quotes"=>"lsquo,rsquo,ldquo,rdquo", "input"=>"GFM", "hard_wrap"=>false, "guess_lang"=>true, "footnote_nr"=>1, "show_warnings"=>false, "syntax_highlighter"=>"rouge", "syntax_highlighter_opts"=>{:default_lang=>"plaintext", :guess_lang=>true}, "coderay"=>{}}, "livereload"=>true, "livereload_port"=>35729, "serving"=>true, "watch"=>true, "url"=>nil}:ET
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
I"]<h1 id="about-page">About page</h1>

<p>This page tells you more about the website.</p>
:ET
14 changes: 14 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# frozen_string_literal: true

source "https://rubygems.org"

git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }

# gem "rails"

gem "jekyll"

group :jekyll_plugins do
gem "jekyll-feed"
gem "jekyll-seo-tag"
end
73 changes: 73 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
GEM
remote: https://rubygems.org/
specs:
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.8)
em-websocket (0.5.2)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
ffi (1.15.0)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (1.8.10)
concurrent-ruby (~> 1.0)
jekyll (4.2.0)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 2.0)
jekyll-feed (0.15.1)
jekyll (>= 3.7, < 5.0)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-seo-tag (2.7.1)
jekyll (>= 3.8, < 5.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (2.3.1)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.5.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.6)
rb-fsevent (0.10.4)
rb-inotify (0.10.1)
ffi (~> 1.0)
rexml (3.2.5)
rouge (3.26.0)
safe_yaml (1.0.5)
sassc (2.4.0)
ffi (~> 1.9)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (1.7.0)

PLATFORMS
x86_64-linux

DEPENDENCIES
jekyll
jekyll-feed
jekyll-seo-tag

BUNDLED WITH
2.2.16
4 changes: 4 additions & 0 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
- name: Home
link: /
- name: About
link: /about.html
Empty file added _includes/header.html
Empty file.
7 changes: 7 additions & 0 deletions _includes/navigation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<nav>
{% for item in site.data.navigation %}
<a href="{{ item.link }}" {% if page.url == item.link %}class="current nav_link"{% else %}class="nav_link"{% endif %}>
{{ item.name }}
</a>
{% endfor %}
</nav>
13 changes: 13 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>{{ page.title }}</title>
<link rel="stylesheet" href="/assets/css/styles.css">
</head>
<body>
{% include header.html %}
{% include navigation.html %}
{{ content }}
</body>
</html>
24 changes: 24 additions & 0 deletions _sass/main.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.nav_link {
-moz-appearance: button;
-ms-appearance: button;
-o-appearance: button;
-webkit-appearance: button;
text-decoration: none;
color: black;
padding: 16px 32px;
margin: 4px 2px;
display: inline-block;
text-align: center;
text-decoration: none;
transition-duration: 0.4s;
cursor: pointer;
border: 2px solid #008CBA;
border-radius: 5px;
}
.nav_link:hover {
background-color: #008CBA;
}
.current {
border: 2px solid #008CFF;
background-color: #008CFF;
}
27 changes: 27 additions & 0 deletions _site/about.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>About</title>
<link rel="stylesheet" href="/assets/css/styles.css">
</head>
<body>

<nav>

<a href="/" class="nav_link">
Home
</a>

<a href="/about.html" class="current nav_link">
About
</a>

</nav>

<h1 id="about-page">About page</h1>

<p>This page tells you more about the website.</p>

</body>
</html>
7 changes: 7 additions & 0 deletions _site/assets/css/styles.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions _site/assets/css/styles.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions _site/feed.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="4.2.0">Jekyll</generator><link href="/feed.xml" rel="self" type="application/atom+xml" /><link href="/" rel="alternate" type="text/html" /><updated>2021-05-04T20:23:58+02:00</updated><id>/feed.xml</id></feed>
25 changes: 25 additions & 0 deletions _site/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Home</title>
<link rel="stylesheet" href="/assets/css/styles.css">
</head>
<body>

<nav>

<a href="/" class="current nav_link">
Home
</a>

<a href="/about.html" class="nav_link">
About
</a>

</nav>

<h1>hello, world! 2</h1>

</body>
</html>
8 changes: 8 additions & 0 deletions about.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: default
title: About
---

# About page

This page tells you more about the website.
3 changes: 3 additions & 0 deletions assets/css/styles.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
---
---
@import "main";
5 changes: 5 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
layout: default
title: Home
---
<h1>{{"Hello, World! 2" | downcase}}</h1>

0 comments on commit a8b510f

Please sign in to comment.