-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
568 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,64 +1,54 @@ | ||
title: no style, please! # name of the site | ||
author: Zach Taiji # name of site's author | ||
email: [email protected] # email of site's author | ||
#url: https://riggraz.dev # root address of the site | ||
baseurl: "" | ||
|
||
permalink: /:slug.html | ||
|
||
theme: no-style-please # if you are using GitHub Pages, change it to remote_theme: riggraz/no-style-please | ||
|
||
theme_config: | ||
appearance: "auto" # can be "light", "dark" or "auto" | ||
back_home_text: ".." # customize text for homepage link in post layout | ||
date_format: "%Y-%m-%d" # customize how date is formatted | ||
show_description: false # show blog description in home page | ||
|
||
sass: | ||
style: compressed | ||
|
||
plugins: | ||
- jekyll-feed | ||
- jekyll-seo-tag | ||
|
||
# Where things are | ||
source : . | ||
#destination : ./_site | ||
collections_dir : . | ||
plugins_dir : _plugins # takes an array of strings and loads plugins in that order | ||
layouts_dir : _layouts | ||
data_dir : _data | ||
includes_dir : _includes | ||
sass: | ||
sass_dir: _sass | ||
collections: | ||
posts: | ||
output : true | ||
|
||
# Handling Reading | ||
safe : false | ||
include : [".htaccess"] | ||
exclude : ["Gemfile", "Gemfile.lock", "node_modules", "vendor/bundle/", "vendor/cache/", "vendor/gems/", "vendor/ruby/"] | ||
keep_files : [".git", ".svn"] | ||
encoding : "utf-8" | ||
markdown_ext : "markdown,mkdown,mkdn,mkd,md" | ||
strict_front_matter : false | ||
|
||
# Filtering Content | ||
show_drafts : null | ||
limit_posts : 0 | ||
future : false | ||
unpublished : false | ||
|
||
# Plugins | ||
whitelist : [] | ||
plugins : [] | ||
|
||
# Conversion | ||
markdown : kramdown | ||
highlighter : rouge | ||
lsi : false | ||
excerpt_separator : "\n\n" | ||
incremental : false | ||
|
||
# Serving | ||
detach : false | ||
port : 4000 | ||
host : 127.0.0.1 | ||
baseurl : "" # does not include hostname | ||
show_dir_listing : false | ||
|
||
# Outputting | ||
permalink : | ||
paginate_path : /page:num | ||
timezone : America/Los_angeles | ||
#paginate_path : /page:num | ||
timezone : America/Los_Angeles | ||
|
||
quiet : false | ||
verbose : false | ||
defaults : [] | ||
|
||
liquid: | ||
error_mode : warn | ||
strict_filters : false | ||
strict_variables : false | ||
|
||
# Markdown Processors | ||
kramdown: | ||
auto_ids : true | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# For documentation on this file, see: | ||
# https://github.com/riggraz/no-style-please#customize-the-menu | ||
|
||
entries: | ||
- title: info | ||
entries: | ||
- title: a (nearly) no-CSS, fast, minimalist Jekyll theme. | ||
- title: github repo | ||
url: https://github.com/riggraz/no-style-please | ||
- title: "used by <a href='https://riggraz.dev'>riggraz.dev</a> and <a href='https://github.com/riggraz/no-style-please/network/dependents'>many others</a>" | ||
|
||
- title: all posts | ||
post_list: | ||
limit: 5 | ||
show_more: true | ||
show_more_text: See archive... | ||
show_more_url: archive.html | ||
|
||
- title: posts by category | ||
post_list: | ||
category: example2 | ||
show_more: true | ||
show_more_text: See more posts... | ||
show_more_url: example2-archive.html | ||
|
||
- title: rss | ||
url: feed.xml | ||
|
||
- title: another list | ||
entries: | ||
- title: with subitems | ||
entries: | ||
- title: with subsubitems | ||
- title: example page | ||
url: about | ||
- title: PRO TIP | ||
entries: | ||
- title: to edit this menu, edit _data/menu.yml file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<a href="{{ "/" | relative_url }}">{{ site.theme_config.back_home_text }}</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
<script data-goatcounter="https://{{ site.goat_counter }}.goatcounter.com/count" | ||
async src="//gc.zgo.at/count.js"></script> | ||
|
||
<noscript> | ||
<img src="https://{{ site.goat_counter }}.goatcounter.com/count?p=/test-img"> | ||
</noscript> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1" /> | ||
|
||
<title> | ||
{%- if page.title -%} | ||
{{ page.title }} | ||
{%- else -%} | ||
{{ site.title }} | ||
{%- endif -%} | ||
</title> | ||
|
||
{%-seo title=false-%} | ||
{%-feed_meta-%} | ||
|
||
<link rel="shortcut icon" type="image/x-icon" href="{{ site.favicon | relative_url }}" /> | ||
<link rel="stylesheet" href="{{ "/assets/css/main.css" | relative_url }}" /> | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<ul> | ||
{%-for item in include.collection-%} | ||
<li> | ||
{%- if item.url -%} | ||
<a href="{{ item.url }}">{{ item.title }}</a> | ||
{%- else -%} | ||
{{ item.title }} | ||
{%- endif -%} | ||
</li> | ||
|
||
{%-if item.post_list-%} | ||
{% | ||
include post_list.html | ||
category=item.post_list.category | ||
limit=item.post_list.limit | ||
show_more=item.post_list.show_more | ||
show_more_text=item.post_list.show_more_text | ||
show_more_url=item.post_list.show_more_url | ||
-%} | ||
{%-endif-%} | ||
|
||
{%-if item.entries-%} | ||
{%-include menu_item.html collection=item.entries-%} | ||
{%-endif-%} | ||
{%-endfor-%} | ||
</ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{%-if include.category-%} | ||
{%-assign posts = site.categories[include.category]-%} | ||
{%-else-%} | ||
{%-assign posts = site.posts-%} | ||
{%-endif-%} | ||
|
||
{%-if include.limit and posts.size > include.limit-%} | ||
{%-assign limit_exceeded = true-%} | ||
{%-else-%} | ||
{%-assign limit_exceeded = false-%} | ||
{%-endif-%} | ||
|
||
{%- if posts.size > 0 -%} | ||
<ul> | ||
{%- for post in posts limit: include.limit -%} | ||
<li> | ||
<span>{{- post.date | date: site.theme_config.date_format -}}</span> | ||
<a href="{{ post.url | relative_url }}">{{ post.title | downcase }}</a> | ||
</li> | ||
{%- endfor -%} | ||
{%- if include.show_more and limit_exceeded -%} | ||
<li><a href="{{ include.show_more_url }}">{{ include.show_more_text | default: "Show more..." }}</a></li> | ||
{%- endif -%} | ||
</ul> | ||
{%- endif -%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
{%-include back_link.html-%} | ||
|
||
<h1>{{ page.title }}</h1> | ||
|
||
{%-include post_list.html category=page.which_category-%} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<!DOCTYPE html> | ||
<html lang="{{ page.lang | default: "en" }}"> | ||
{%- include head.html -%} | ||
<body a="{{ site.theme_config.appearance | default: "auto" }}"> | ||
<main class="page-content" aria-label="Content"> | ||
<div class="w"> | ||
{{ content }} | ||
</div> | ||
</main> | ||
|
||
{%-if site.goat_counter and jekyll.environment == "production"-%} | ||
{%-include goat_counter.html-%} | ||
{%-endif-%} | ||
|
||
{% if page.custom_js %} | ||
{% for js_file in page.custom_js %} | ||
<script type="text/javascript" src="{{ site.baseurl }}/assets/js/{{ js_file }}.js"></script> | ||
{% endfor %} | ||
{% endif %} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
layout: default | ||
--- | ||
<header> | ||
<h1>{{ site.title }}</h1> | ||
{%-if site.theme_config.show_description-%} | ||
<p>{{ site.description }}</p> | ||
{%-endif-%} | ||
</header> | ||
|
||
{%-include menu_item.html collection=site.data.menu.entries-%} | ||
|
||
{{ content }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
{%-include back_link.html-%} | ||
|
||
<h1>{{ page.title }}</h1> | ||
|
||
{{ content }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
--- | ||
layout: default | ||
--- | ||
|
||
{%-include back_link.html-%} | ||
|
||
<article> | ||
<p class="post-meta"> | ||
<time datetime="{{ page.date }}">{{ page.date | date: site.theme_config.date_format }}</time> | ||
</p> | ||
|
||
<h1>{{ page.title }}</h1> | ||
|
||
{{ content }} | ||
</article> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
layout: post | ||
custom_js: mouse_coords | ||
--- | ||
|
||
This post is strange. It also has some custom js. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
--- | ||
layout: post | ||
category: example | ||
--- | ||
|
||
Lorem ipsum[^1] dolor sit amet, consectetur adipiscing elit. Pellentesque vel lacinia neque. Praesent nulla quam, ullamcorper in sollicitudin ac, molestie sed justo. Cras aliquam, sapien id consectetur accumsan, augue magna faucibus ex, ut ultricies turpis tortor vel ante. In at rutrum tellus. | ||
|
||
# Sample heading 1 | ||
## Sample heading 2 | ||
### Sample heading 3 | ||
#### Sample heading 4 | ||
##### Sample heading 5 | ||
###### Sample heading 6 | ||
|
||
Mauris viverra dictum ultricies. Vestibulum quis ipsum euismod, facilisis metus sed, varius ipsum. Donec scelerisque lacus libero, eu dignissim sem venenatis at. Etiam id nisl ut lorem gravida euismod. | ||
|
||
## Lists | ||
|
||
Unordered: | ||
|
||
- Fusce non velit cursus ligula mattis convallis vel at metus[^2]. | ||
- Sed pharetra tellus massa, non elementum eros vulputate non. | ||
- Suspendisse potenti. | ||
|
||
Ordered: | ||
|
||
1. Quisque arcu felis, laoreet vel accumsan sit amet, fermentum at nunc. | ||
2. Sed massa quam, auctor in eros quis, porttitor tincidunt orci. | ||
3. Nulla convallis id sapien ornare viverra. | ||
4. Nam a est eget ligula pellentesque posuere. | ||
|
||
## Blockquote | ||
|
||
The following is a blockquote: | ||
|
||
> Suspendisse tempus dolor nec risus sodales posuere. Proin dui dui, mollis a consectetur molestie, lobortis vitae tellus. | ||
## Thematic breaks (<hr>) | ||
|
||
Mauris viverra dictum ultricies[^3]. Vestibulum quis ipsum euismod, facilisis metus sed, varius ipsum. Donec scelerisque lacus libero, eu dignissim sem venenatis at. Etiam id nisl ut lorem gravida euismod. **You can put some text inside the horizontal rule like so.** | ||
|
||
--- | ||
{: data-content="hr with text"} | ||
|
||
Mauris viverra dictum ultricies. Vestibulum quis ipsum euismod, facilisis metus sed, varius ipsum. Donec scelerisque lacus libero, eu dignissim sem venenatis at. Etiam id nisl ut lorem gravida euismod. **Or you can just have an clean horizontal rule.** | ||
|
||
--- | ||
|
||
Mauris viverra dictum ultricies. Vestibulum quis ipsum euismod, facilisis metus sed, varius ipsum. Donec scelerisque lacus libero, eu dignissim sem venenatis at. Etiam id nisl ut lorem gravida euismod. Or you can just have an clean horizontal rule. | ||
|
||
## Code | ||
|
||
Now some code: | ||
|
||
``` | ||
const ultimateTruth = 'this theme is the best!'; | ||
console.log(ultimateTruth); | ||
``` | ||
|
||
And here is some `inline code`! | ||
|
||
## Tables | ||
|
||
Now a table: | ||
|
||
| Tables | Are | Cool | | ||
| ------------- |:-------------:| -----:| | ||
| col 3 is | right-aligned | $1600 | | ||
| col 2 is | centered | $12 | | ||
| zebra stripes | are neat | $1 | | ||
|
||
## Images | ||
|
||
![theme logo](https://raw.githubusercontent.com/riggraz/no-style-please/master/logo.png){:.ioda} | ||
|
||
Logo of *no style, please!* theme[^4] | ||
|
||
--- | ||
{: data-content="footnotes"} | ||
|
||
[^1]: this is a footnote. It should highlight if you click on the corresponding superscript number. | ||
[^2]: hey there, i'm using no style please! | ||
[^3]: this is another footnote. | ||
[^4]: this is a very very long footnote to test if a very very long footnote brings some problems or not. I strongly hope that there are no problems but you know sometimes problems arise from nowhere. |
Oops, something went wrong.