Skip to content

Commit

Permalink
Merge pull request #2 from MarcoJanse/feat-cayman-theme
Browse files Browse the repository at this point in the history
Configure Cayman theme
  • Loading branch information
MarcoJanse authored Jan 27, 2024
2 parents 3131656 + 5bb782e commit ca92cd9
Show file tree
Hide file tree
Showing 9 changed files with 128 additions and 16 deletions.
42 changes: 28 additions & 14 deletions docs/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,34 +1,44 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (7.0.6)
activesupport (7.1.3)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
addressable (2.8.5)
addressable (2.8.6)
public_suffix (>= 2.0.2, < 6.0)
base64 (0.2.0)
bigdecimal (3.1.6)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.11.1)
colorator (1.1.0)
commonmarker (0.23.10)
concurrent-ruby (1.2.2)
concurrent-ruby (1.2.3)
connection_pool (2.4.1)
dnsruby (1.70.0)
simpleidn (~> 0.2.1)
drb (2.2.0)
ruby2_keywords
em-websocket (0.5.3)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0)
ethon (0.16.0)
ffi (>= 1.15.0)
eventmachine (1.2.7)
execjs (2.8.1)
faraday (2.7.10)
faraday-net_http (>= 2.0, < 3.1)
ruby2_keywords (>= 0.0.4)
faraday-net_http (3.0.2)
ffi (1.15.5)
execjs (2.9.1)
faraday (2.9.0)
faraday-net_http (>= 2.0, < 3.2)
faraday-net_http (3.1.0)
net-http
ffi (1.16.3)
forwardable-extended (2.6.0)
gemoji (3.0.1)
github-pages (228)
Expand Down Expand Up @@ -209,16 +219,19 @@ GEM
jekyll (>= 3.5, < 5.0)
jekyll-feed (~> 0.9)
jekyll-seo-tag (~> 2.1)
minitest (5.19.0)
nokogiri (1.15.3-x86_64-linux)
minitest (5.21.2)
mutex_m (0.2.0)
net-http (0.4.1)
uri
nokogiri (1.16.0-x86_64-linux)
racc (~> 1.4)
octokit (4.25.1)
faraday (>= 1, < 3)
sawyer (~> 0.9)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.7)
racc (1.7.1)
racc (1.7.3)
rb-fsevent (0.11.2)
rb-inotify (0.10.1)
ffi (~> 1.0)
Expand All @@ -239,14 +252,15 @@ GEM
unf (~> 0.1.4)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
typhoeus (1.4.0)
typhoeus (1.4.1)
ethon (>= 0.9.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unf (0.1.4)
unf_ext
unf_ext (0.0.8.2)
unf_ext (0.0.9.1)
unicode-display_width (1.8.0)
uri (0.13.0)
webrick (1.8.1)

PLATFORMS
Expand Down
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ twitter_username: MarcoJanse
github_username: MarcoJanse

# Build settings
theme: minima
remote_theme: pages-themes/[email protected]
plugins:
- jekyll-feed
- jekyll-remote-theme
Expand Down
52 changes: 52 additions & 0 deletions docs/_layouts/default.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<meta charset="UTF-8">
<style>
nav a {
font-size: 20px; /* Increase font size */
color: #f4f7f7; /* Change color to match theme color */
float: right; /* Align to the right */
}
</style>

{% seo %}
<link rel="preconnect" href="https://fonts.gstatic.com">
<link rel="preload" href="https://fonts.googleapis.com/css?family=Open+Sans:400,700&display=swap" as="style" type="text/css" crossorigin>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="stylesheet" href="https://pages-themes.github.io/cayman/assets/css/style.css">
{% include head-custom.html %}
</head>
<body>
<a id="skip-to-content" href="#content">Skip to the content.</a>

<header class="page-header" role="banner">
<nav>
<!-- Link to the About page -->
<a href="/about">About</a>
</nav>
<h1 class="project-name">{{ page.title | default: site.title | default: site.github.repository_name }}</h1>
<h2 class="project-tagline">{{ page.description | default: site.description | default: site.github.project_tagline }}</h2>
{% if site.github.is_project_page %}
<a href="{{ site.github.repository_url }}" class="btn">View on GitHub</a>
{% endif %}
{% if site.show_downloads %}
<a href="{{ site.github.zip_url }}" class="btn">Download .zip</a>
<a href="{{ site.github.tar_url }}" class="btn">Download .tar.gz</a>
{% endif %}
</header>

<main id="content" class="main-content" role="main">
{{ content }}

<footer class="site-footer">
{% if site.github.is_project_page %}
<span class="site-footer-owner"><a href="{{ site.github.repository_url }}">{{ site.github.repository_name }}</a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>.</span>
{% endif %}
<span class="site-footer-credits">This page was generated by <a href="https://pages.github.com">GitHub Pages</a>.</span>
</footer>
</main>
</body>
</html>
17 changes: 17 additions & 0 deletions docs/_layouts/home.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
layout: default
---

<div class="home">
<h2>Recent Posts</h2>
<ul class="post-list">
{% for post in site.posts %}
<li>
<h3>
<a href="{{ post.url | relative_url }}">{{ post.title | escape }}</a>
</h3>
<p class="post-meta">{{ post.date | date_to_string }}</p>
</li>
{% endfor %}
</ul>
</div>
13 changes: 13 additions & 0 deletions docs/_layouts/page.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
layout: default
---

<div class="page">
<header>
<h1>{{ page.title | escape }}</h1>
</header>

<article>
{{ content }}
</article>
</div>
16 changes: 16 additions & 0 deletions docs/_layouts/post.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
---
layout: default
---

<article class="post">
<header>
<h1>{{ page.title | escape }}</h1>
<p class="post-meta">{{ page.date | date_to_string }}</p>
</header>

{{ content }}

{% if site.disqus_shortname %}
{% include disqus_comments.html %}
{% endif %}
</article>
2 changes: 1 addition & 1 deletion docs/about.markdown → docs/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: About
permalink: /about/
---

![About Me](/assets/images/about_marco-2021-transparent.png){:width="20%"}
![About Me](/assets/images/about_marco-simpsonized.png){:width="20%"}

## Introduction

Expand Down
File renamed without changes.

0 comments on commit ca92cd9

Please sign in to comment.