Skip to content

Commit 55bacf0

Browse files
authored
Merge pull request #1 from ConJayTech/theme
Add Minimal Theme
2 parents 71ad025 + 7267e66 commit 55bacf0

32 files changed

+2020
-22
lines changed

_config.yml

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
remote_theme: pages-themes/[email protected]
2+
plugins:
3+
- jekyll-remote-theme

_layouts/default.html

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
<!DOCTYPE html>
2+
<html lang="{{ site.lang | default: "en-US" }}">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
8+
{% seo %}
9+
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
10+
<!--[if lt IE 9]>
11+
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
12+
<![endif]-->
13+
{% include head-custom.html %}
14+
</head>
15+
<body>
16+
<div class="wrapper">
17+
<header>
18+
<h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
19+
20+
{% if site.logo %}
21+
<img src="../assets/img/ProfilePic.jpg" alt="Logo" />
22+
{% endif %}
23+
24+
<p>{{ site.description | default: site.github.project_tagline }}</p>
25+
26+
{% if site.github.is_project_page %}
27+
<p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub <small>{{ site.github.repository_nwo }}</small></a></p>
28+
{% endif %}
29+
30+
{% if site.github.is_user_page %}
31+
<p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
32+
{% endif %}
33+
34+
{% if site.github.is_user_page %}
35+
<p class="view"><a href="https://www.linkedin.com/in/conor-teichroeb/">LinkedIn</a></p>
36+
{% endif %}
37+
38+
{% if site.github.is_user_page %}
39+
<p class="view">[email protected]</a></p>
40+
{% endif %}
41+
42+
{% if site.show_downloads %}
43+
<ul class="downloads">
44+
<li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
45+
<li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
46+
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
47+
</ul>
48+
{% endif %}
49+
</header>
50+
<section>
51+
52+
{{ content }}
53+
54+
</section>
55+
<footer>
56+
{% if site.github.is_project_page %}
57+
<p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
58+
{% endif %}
59+
<p><small>Hosted on GitHub Pages &mdash; Theme by <a href="https://github.com/orderedlist">orderedlist</a></small></p>
60+
</footer>
61+
</div>
62+
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
63+
</body>
64+
</html>

_layouts/post.html

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
layout: default
3+
---
4+
5+
<small>{{ page.date | date: "%-d %B %Y" }}</small>
6+
<h1>{{ page.title }}</h1>
7+
8+
<p class="view">by {{ page.author | default: site.author }}</p>
9+
10+
{{content}}
11+
12+
{% if page.tags %}
13+
<small>tags: <em>{{ page.tags | join: "</em> - <em>" }}</em></small>
14+
{% endif %}

_sass/fonts.scss

+55
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
@font-face {
2+
font-family: 'Noto Sans';
3+
font-weight: 400;
4+
font-style: normal;
5+
src: url('../fonts/Noto-Sans-regular/Noto-Sans-regular.eot');
6+
src: url('../fonts/Noto-Sans-regular/Noto-Sans-regular.eot?#iefix') format('embedded-opentype'),
7+
local('Noto Sans'),
8+
local('Noto-Sans-regular'),
9+
url('../fonts/Noto-Sans-regular/Noto-Sans-regular.woff2') format('woff2'),
10+
url('../fonts/Noto-Sans-regular/Noto-Sans-regular.woff') format('woff'),
11+
url('../fonts/Noto-Sans-regular/Noto-Sans-regular.ttf') format('truetype'),
12+
url('../fonts/Noto-Sans-regular/Noto-Sans-regular.svg#NotoSans') format('svg');
13+
}
14+
15+
@font-face {
16+
font-family: 'Noto Sans';
17+
font-weight: 700;
18+
font-style: normal;
19+
src: url('../fonts/Noto-Sans-700/Noto-Sans-700.eot');
20+
src: url('../fonts/Noto-Sans-700/Noto-Sans-700.eot?#iefix') format('embedded-opentype'),
21+
local('Noto Sans Bold'),
22+
local('Noto-Sans-700'),
23+
url('../fonts/Noto-Sans-700/Noto-Sans-700.woff2') format('woff2'),
24+
url('../fonts/Noto-Sans-700/Noto-Sans-700.woff') format('woff'),
25+
url('../fonts/Noto-Sans-700/Noto-Sans-700.ttf') format('truetype'),
26+
url('../fonts/Noto-Sans-700/Noto-Sans-700.svg#NotoSans') format('svg');
27+
}
28+
29+
@font-face {
30+
font-family: 'Noto Sans';
31+
font-weight: 400;
32+
font-style: italic;
33+
src: url('../fonts/Noto-Sans-italic/Noto-Sans-italic.eot');
34+
src: url('../fonts/Noto-Sans-italic/Noto-Sans-italic.eot?#iefix') format('embedded-opentype'),
35+
local('Noto Sans Italic'),
36+
local('Noto-Sans-italic'),
37+
url('../fonts/Noto-Sans-italic/Noto-Sans-italic.woff2') format('woff2'),
38+
url('../fonts/Noto-Sans-italic/Noto-Sans-italic.woff') format('woff'),
39+
url('../fonts/Noto-Sans-italic/Noto-Sans-italic.ttf') format('truetype'),
40+
url('../fonts/Noto-Sans-italic/Noto-Sans-italic.svg#NotoSans') format('svg');
41+
}
42+
43+
@font-face {
44+
font-family: 'Noto Sans';
45+
font-weight: 700;
46+
font-style: italic;
47+
src: url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot');
48+
src: url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.eot?#iefix') format('embedded-opentype'),
49+
local('Noto Sans Bold Italic'),
50+
local('Noto-Sans-700italic'),
51+
url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff2') format('woff2'),
52+
url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.woff') format('woff'),
53+
url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.ttf') format('truetype'),
54+
url('../fonts/Noto-Sans-700italic/Noto-Sans-700italic.svg#NotoSans') format('svg');
55+
}

0 commit comments

Comments
 (0)