Skip to content

Commit 8271bc6

Browse files
Add New Theme Minimal
1 parent ea3c287 commit 8271bc6

File tree

5 files changed

+62
-118
lines changed

5 files changed

+62
-118
lines changed

Gemfile

Lines changed: 3 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,5 @@
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.3"
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
1+
# frozen_string_literal: true
272

28-
# Performance-booster for watching directories on Windows
29-
gem "wdm", "~> 0.1.1", :platforms => [:mingw, :x64_mingw, :mswin]
3+
source "https://rubygems.org"
304

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]
5+
gemspec

_config.yml

Lines changed: 6 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,6 @@
1-
# Site settings
2-
title: Home
3-
email: everythingopensource@gmail.com
4-
description: >-
5-
Official website to document all activities happening in the everything open source community
6-
baseurl: "everythingopensource" # the subpath of your site, e.g. /blog
7-
url: "" # the base hostname & protocol for your site, e.g. http://example.com
8-
twitter_username: jekyllrb
9-
10-
# site details
11-
overview: Empowering individuals and organizations to embrace code and no-code Open Source contributions
12-
13-
14-
# Everything Open Source Social Links
15-
twitter: "http://twitter.com/Everything_Open"
16-
github: "https://github.com/Everything-Open-Source"
17-
contact_us_email: "everythingopensource@gmail.com"
18-
19-
# Build settings
20-
theme: minima
21-
plugins:
22-
- jekyll-feed
23-
24-
# Exclude from processing.
25-
# The following items will not be processed, by default.
26-
# Any item listed under the `exclude:` key here will be automatically added to
27-
# the internal "default list".
28-
#
29-
# Excluded items can be processed by explicitly listing the directories or
30-
# their entries' file path in the `include:` list.
31-
#
32-
# exclude:
33-
# - .sass-cache/
34-
# - .jekyll-cache/
35-
# - gemfiles/
36-
# - Gemfile
37-
# - Gemfile.lock
38-
# - node_modules/
39-
# - vendor/bundle/
40-
# - vendor/cache/
41-
# - vendor/gems/
42-
# - vendor/ruby/
1+
title: Minimal theme
2+
logo: /assets/orange logo_symbol.png
3+
description: Minimal is a theme for GitHub Pages.
4+
show_downloads: true
5+
google_analytics:
6+
theme: jekyll-theme-minimal

_layouts/default.html

Lines changed: 53 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,50 +1,58 @@
1+
12
<!DOCTYPE html>
2-
<html lang="en">
3-
<title>{{ site.title }}</title>
3+
<html lang="{{ site.lang | default: "en-US" }}">
44
<head>
5-
<meta charset="utf-8" />
6-
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
7-
<meta name="description"
8-
content="Official website to document all activities happening in the everything open source community">
9-
<link
10-
href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css"
11-
rel="stylesheet"
12-
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
13-
crossorigin="anonymous"
14-
/>
15-
<!-- <link rel="shortcut icon" href="/static/img/site/icon.png" type="image/x-icon"> -->
16-
<!-- <link rel="icon" href="/static/img/site/icon.png" type="image/x-icon"> -->
17-
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
18-
<link rel="stylesheet" href="/static/css/style.css" />
19-
<link rel="preconnect" href="https://fonts.googleapis.com">
20-
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
21-
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@100..900&family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Outfit:wght@100..900&display=swap" rel="stylesheet">
5+
<meta charset="UTF-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
9+
{% seo %}
10+
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
11+
<!--[if lt IE 9]>
12+
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
13+
<![endif]-->
14+
{% include head-custom.html %}
2215
</head>
2316
<body>
24-
<header class="default-section">
25-
{% include header.html %}
26-
27-
<div class="header-text">
28-
<h1>{{ site.overview }}</h1>
29-
</div>
30-
</header>
31-
32-
<section class="container">
33-
{% include about.html %}
34-
{% include programs.html %}
35-
36-
<div class="d-flex flex-column justify-content-around align-items-center ">
37-
<div class="col-lg-10 col-12 content djc-default">{{content}}</div>
38-
</div>
39-
</section>
40-
41-
{% include footer.html %}
42-
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
43-
<script
44-
src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
45-
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM"
46-
crossorigin="anonymous"
47-
></script>
48-
<!-- <script src="/static/js/main.js"></script> -->
17+
<div class="wrapper">
18+
<header>
19+
<h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.everythingopensource.github.io
20+
}}</a></h1>
21+
22+
{% if site.logo %}
23+
<img src="{{site.logo | relative_url}}" alt="Logo" />
24+
{% endif %}
25+
26+
<p>{{ site.description | default: site.github.project_tagline }}</p>
27+
28+
{% if site.github.is_project_page %}
29+
<p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ site.github.repository_nwo }}</small></a></p>
30+
{% endif %}
31+
32+
{% if site.github.is_user_page %}
33+
<p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
34+
{% endif %}
35+
36+
{% if site.show_downloads %}
37+
<ul class="downloads">
38+
<li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
39+
<li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
40+
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
41+
</ul>
42+
{% endif %}
43+
</header>
44+
<section>
45+
46+
{{ content }}
47+
48+
</section>
49+
<footer>
50+
{% if site.github.is_project_page %}
51+
<p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
52+
{% endif %}
53+
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
54+
</footer>
55+
</div>
56+
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
4957
</body>
50-
</html>
58+
</html>

assets/img

Whitespace-only changes.

assets/orange logo_symbol.png

3.72 KB
Loading

0 commit comments

Comments
 (0)