Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b26fc50728 | ||
|
|
8c47866cee | ||
|
|
565906028a | ||
|
|
4e1a24eef9 | ||
|
|
0f6a493e45 | ||
|
|
060bc4149a | ||
|
|
863954c90e | ||
|
|
8e9aa160e9 | ||
|
|
01ba7dd16f | ||
|
|
3d7271aaa2 | ||
|
|
2704edd649 | ||
|
|
6aca382b6d | ||
|
|
b722a2dcf3 | ||
|
|
8ecd69056b | ||
|
|
e8de80b9c7 | ||
|
|
9a03c1512f |
2
README.md
Executable file → Normal file
2
README.md
Executable file → Normal file
@@ -48,7 +48,7 @@ When using Garth as a theme means you can take advantage of the file overriding
|
||||
|
||||
To add your own styles copy the [`styles.scss`](https://github.com/daviddarnes/garth/blob/master/assets/styles.scss) into your own project with the same file path (`assets/styles.scss`). From there you can add your own styles, you can even optionally ignore the theme styles by removing the `@import "garth";` line.
|
||||
|
||||
If you're just looking to set your own colours copy the [`_colors.scss`](https://github.com/daviddarnes/garth/blob/master/_sass/_colors.scss) file into your project at the same file path (`_sass/_settings.scss`) and change variables however you wish. The settings are a mixture of custom variables and settings from [Sassline](https://medium.com/@jakegiltsoff/sassline-v2-0-e424b2881e7e) - follow the link to find out how to configure the typographic settings.
|
||||
If you're just looking to set your own colours copy the [`_colors.scss`](https://github.com/daviddarnes/garth/blob/master/_sass/_colors.scss) and main theme styles file [`garth.scss`](https://github.com/daviddarnes/garth/blob/master/_sass/garth.scss) into your project at the same file path (`_sass/`) and change variables however you wish. The settings are a mixture of custom variables and settings from [Sassline](https://medium.com/@jakegiltsoff/sassline-v2-0-e424b2881e7e) - follow the link to find out how to configure the typographic settings.
|
||||
|
||||
## Site settings
|
||||
|
||||
|
||||
1
_config.yml
Executable file → Normal file
1
_config.yml
Executable file → Normal file
@@ -60,6 +60,7 @@ defaults:
|
||||
encoding: utf-8 # Make sure the encoding is right
|
||||
title: "Garth" # Site name or title
|
||||
logo: "/assets/logo.svg" # Site logo
|
||||
# favicon: "/favicon.ico" # Uncomment to add custom favicon, or leave as is to use site logo
|
||||
description: "A stupidly simple theme for Jekyll, using the official Jekyll theme implementation" # Site description and default description
|
||||
url: "https://garth.darn.es" # Site url
|
||||
baseurl: ""
|
||||
|
||||
0
_includes/post-list.html
Executable file → Normal file
0
_includes/post-list.html
Executable file → Normal file
0
_includes/post-meta.html
Executable file → Normal file
0
_includes/post-meta.html
Executable file → Normal file
0
_includes/post-pagination.html
Executable file → Normal file
0
_includes/post-pagination.html
Executable file → Normal file
2
_includes/site-footer.html
Executable file → Normal file
2
_includes/site-footer.html
Executable file → Normal file
@@ -1,5 +1,5 @@
|
||||
<footer class="footer">
|
||||
<div class="container">
|
||||
<div class="container">
|
||||
<div class="copyright typeset">
|
||||
<small class="small">© {{ site.title }} {{ site.time | date: '%Y' }}</small>
|
||||
</div>
|
||||
|
||||
0
_includes/site-header.html
Executable file → Normal file
0
_includes/site-header.html
Executable file → Normal file
0
_includes/site-logo.html
Executable file → Normal file
0
_includes/site-logo.html
Executable file → Normal file
0
_includes/site-nav.html
Executable file → Normal file
0
_includes/site-nav.html
Executable file → Normal file
14
_layouts/default.html
Executable file → Normal file
14
_layouts/default.html
Executable file → Normal file
@@ -5,12 +5,20 @@
|
||||
{% if page.collectionpage %}
|
||||
{% assign collectiondata = site.collections | where: "label", page.collectionpage | first %}
|
||||
<title>{{ collectiondata.title }} - {{ site.title }}</title>
|
||||
{% else %}
|
||||
{% elsif page.title %}
|
||||
<title>{{ page.title }} - {{ site.title }}</title>
|
||||
{% else %}
|
||||
<title>{{ site.title }}</title>
|
||||
{% endif %}
|
||||
|
||||
<link rel="stylesheet" href="{{ "/assets/styles.css" | relative_url }}">
|
||||
|
||||
{% if site.favicon %}
|
||||
<link rel="shortcut icon" href="{{ site.favicon }}">
|
||||
{% else %}
|
||||
<link rel="shortcut icon" href="{{ site.logo }}">
|
||||
{% endif %}
|
||||
|
||||
<link rel="stylesheet" href="{{ "/assets/styles.css" | relative_url }}">
|
||||
<link rel="shortcut icon" href="{{ site.logo }}">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
0
_layouts/home.html
Executable file → Normal file
0
_layouts/home.html
Executable file → Normal file
0
_layouts/page.html
Executable file → Normal file
0
_layouts/page.html
Executable file → Normal file
0
_layouts/post.html
Executable file → Normal file
0
_layouts/post.html
Executable file → Normal file
0
_posts/2016-08-27-example-post-one.md
Executable file → Normal file
0
_posts/2016-08-27-example-post-one.md
Executable file → Normal file
0
_posts/2016-08-28-example-post-two.md
Executable file → Normal file
0
_posts/2016-08-28-example-post-two.md
Executable file → Normal file
0
_posts/2016-08-29-example-post-three.md
Executable file → Normal file
0
_posts/2016-08-29-example-post-three.md
Executable file → Normal file
0
_sass/_colors.scss
Executable file → Normal file
0
_sass/_colors.scss
Executable file → Normal file
0
_sass/_flex.scss
Executable file → Normal file
0
_sass/_flex.scss
Executable file → Normal file
0
_sass/_normalize.scss
Executable file → Normal file
0
_sass/_normalize.scss
Executable file → Normal file
0
_sass/_sassline-base.scss
Executable file → Normal file
0
_sass/_sassline-base.scss
Executable file → Normal file
0
_sass/_syntax.scss
Executable file → Normal file
0
_sass/_syntax.scss
Executable file → Normal file
0
_sass/sassline-base/_mixins.scss
Executable file → Normal file
0
_sass/sassline-base/_mixins.scss
Executable file → Normal file
0
_sass/sassline-base/_modular-scale.scss
Executable file → Normal file
0
_sass/sassline-base/_modular-scale.scss
Executable file → Normal file
0
_sass/sassline-base/_reset.scss
Executable file → Normal file
0
_sass/sassline-base/_reset.scss
Executable file → Normal file
0
_sass/sassline-base/_typography.scss
Executable file → Normal file
0
_sass/sassline-base/_typography.scss
Executable file → Normal file
0
_sass/sassline-base/_variables.scss
Executable file → Normal file
0
_sass/sassline-base/_variables.scss
Executable file → Normal file
0
assets/styles.scss
Executable file → Normal file
0
assets/styles.scss
Executable file → Normal file
2
garth-jekyll-theme.gemspec
Executable file → Normal file
2
garth-jekyll-theme.gemspec
Executable file → Normal file
@@ -2,7 +2,7 @@
|
||||
|
||||
Gem::Specification.new do |spec|
|
||||
spec.name = "garth-jekyll-theme"
|
||||
spec.version = "1.0.1"
|
||||
spec.version = "1.0.3"
|
||||
spec.authors = ["David Darnes"]
|
||||
spec.email = ["me@daviddarnes.com"]
|
||||
|
||||
|
||||
0
index.html
Executable file → Normal file
0
index.html
Executable file → Normal file
Reference in New Issue
Block a user