Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardodevries committed Nov 18, 2024
0 parents commit 1d89fcf
Show file tree
Hide file tree
Showing 10 changed files with 392 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# editorconfig.org

root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.html]
insert_final_newline = false
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Files generated by Jekyll
_site/
.sass-cache/
.jekyll-cache/
.jekyll-metadata

# Files generated by Bundler
.bundle/
vendor/
Gemfile.lock

# Gems
*.gem
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ricardodevries.io
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# The MIT License (MIT)

Copyright (c) 2024 Ricardo de Vries

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## ricardodevries.io

My personal notes.
9 changes: 9 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
title: ricardodevries.io
author: Ricardo de Vries

permalink: /notes/:title
markdown: kramdown

plugins:
- jekyll-feed
- jekyll-gist
31 changes: 31 additions & 0 deletions _layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="{{ page.lang | default: site.lang | default: " en" }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
{%- seo -%}
<link rel="stylesheet" href="{{ "/assets/css/style.css" | absolute_url }}">
{%- feed_meta -%}
<link
href="data:image/x-icon;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQEAYAAABPYyMiAAAABmJLR0T///////8JWPfcAAAACXBIWXMAAABIAAAASABGyWs+AAAAF0lEQVRIx2NgGAWjYBSMglEwCkbBSAcACBAAAeaR9cIAAAAASUVORK5CYII="
rel="icon" type="image/x-icon" />
</head>
<body>

<div id="page">
<header role="banner">
<a class="title" href="{{ "/" | absolute_url }}">{{ site.title | escape }}</a>
</header>

<div id="content">
{{ content }}
</div>

<footer role="contentinfo">
<p>&copy; Copyright {{ 'now' | date: "%Y" }} {{ site.author | escape }}. All rights reserved.</p>
</footer>
</div>

</body>
</html>
29 changes: 29 additions & 0 deletions _layouts/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
layout: default
---

<aside role="complementary">
<p>
{{ site.author | escape }} is a seasoned IT professional based in Amsterdam.
Follow him on
<a href="https://linkedin.com/in/ricardodev" target="_blank">LinkedIn</a>
or via
<a href="{{ 'feed.xml' | absolute_url }}">feed</a>.
</p>
</aside>

<section class="notes">
{% assign posts_by_year = site.posts | group_by_exp: "post", "post.date | date: '%Y'" %}
{% for year_group in posts_by_year %}
<h1 class="notes_year">{{ year_group.name }}</h1>

<ul class="notes_list">
{% for post in year_group.items %}
<li class="notes_item">
<h3><a href="{{ post.url | absolute_url }}">{{ post.title }}</a></h3>
<p>{{ post.date | date: "%B %d" }}</p>
</li>
{% endfor %}
</ul>
{% endfor %}
</section>
25 changes: 25 additions & 0 deletions _layouts/post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
---
layout: default
---

<aside role="complementary">
<p>
{{ site.author | escape }} is a seasoned IT professional based in Amsterdam.
Follow him on
<a href="https://linkedin.com/in/ricardodev" target="_blank">LinkedIn</a>
or via
<a href="{{ 'feed.xml' | absolute_url }}">feed</a>.
</p>
</aside>

<section role="main">
<article>
<h1>{{ page.title | escape }}</h1>

<footer>
<span class="date">{{ page.date | date: "%B %-d, %Y" }}</span>
</footer>

{{ content }}
</article>
</section>
Loading

0 comments on commit 1d89fcf

Please sign in to comment.