Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
tanvincible authored Jan 10, 2025
2 parents a90cd2a + d27f888 commit 429219b
Show file tree
Hide file tree
Showing 10 changed files with 152 additions and 14 deletions.
5 changes: 5 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,10 @@
source "https://rubygems.org"

gem "kramdown-parser-gfm"
gem "webrick"
gem "csv"
gem "bigdecimal"
gem "base64"
gem "logger"

gemspec
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# no style, please!

[![Gem Version](https://badge.fury.io/rb/no-style-please.svg)](https://badge.fury.io/rb/no-style-please)

<img src="https://raw.githubusercontent.com/riggraz/no-style-please/master/logo.png" width="64" align="left" />A (nearly) no-CSS, fast, minimalist [Jekyll](https://jekyllrb.com/) theme.
Inspired by [elly's site](http://tilde.town/~elly/), expressly created for [my personal blog](https://riggraz.dev/).

Expand Down
5 changes: 3 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,17 @@ permalink: /:slug.html
favicon: "logo.png" # name+extension of favicon (which must be put on the root folder)
# goat_counter: "yoursitename" # put your GoatCounter name if you want to use GoatCounter analytics

theme: no-style-please # if you are using GitHub Pages, change it to remote_theme: riggraz/no-style-please
remote_theme: riggraz/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
lowercase_titles: true # show titles in lowercase in lists

sass:
style: :compressed
style: compressed

plugins:
- jekyll-feed
Expand Down
6 changes: 5 additions & 1 deletion _includes/post_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,15 @@
{%- for post in posts limit: include.limit -%}
<li>
<span>{{- post.date | date: site.theme_config.date_format -}}</span>
{% if site.theme_config.lowercase_titles == true %}
<a href="{{ post.url | relative_url }}">{{ post.title | downcase }}</a>
{% else %}
<a href="{{ post.url | relative_url }}">{{ post.title }}</a>
{% endif %}
</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 -%}
{%- endif -%}
3 changes: 2 additions & 1 deletion _posts/2020-07-09-post-example-with-hr.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
---
layout: post
slug: hr example
title: A Title with Mixed Cases and an HR
---

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. Nullam vestibulum metus eu purus malesuada, volutpat mattis leo facilisis. Sed consectetur, nisl et semper laoreet, velit augue congue nunc, eget eleifend odio erat eu sapien. Phasellus dictum efficitur dapibus. Morbi porta lacinia tincidunt. Nam aliquet est mi, nec lacinia ipsum elementum sed. Nam feugiat ipsum tortor, et pretium purus sollicitudin et.
Expand All @@ -25,4 +26,4 @@ Feel free to reach out at my email to leave feedback and talk about the article.

[^1]: Okay here I should put something about "ipsum".
[^2]: same goes for this.
[^3]: I studied latin in high school but im not able to translate *anything*! By the way this is a longer footnote and i think it is still pretty cool, even prettier than shortier ones even though it does not say anything useful but whatever.
[^3]: I studied latin in high school but im not able to translate *anything*! By the way this is a longer footnote and i think it is still pretty cool, even prettier than shortier ones even though it does not say anything useful but whatever.
5 changes: 3 additions & 2 deletions _sass/no-style-please.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

&.ioda { filter: invert(0); }
}
.emoji { filter: invert(1); }
}

body[a="dark"] { @include dark-appearance; }
Expand All @@ -21,7 +22,7 @@ body[a="dark"] { @include dark-appearance; }
// see: https://stackoverflow.com/a/61265706
html, body { background: white; }

html { height: 100%; }
html { height: 100%; scroll-behavior: smooth; }

body {
color: black;
Expand Down Expand Up @@ -91,4 +92,4 @@ img {
max-width: 100%;
display: block;
margin: 0 auto;
}
}
125 changes: 125 additions & 0 deletions assets/css/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions assets/css/main.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions assets/css/main.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
---
---

@import "no-style-please";
@use "no-style-please" as *;
9 changes: 5 additions & 4 deletions no-style-please.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "no-style-please"
spec.version = "0.4.7"
spec.version = "0.4.9"
spec.authors = ["Riccardo Graziosi"]
spec.email = ["[email protected]"]

Expand All @@ -12,9 +12,10 @@ Gem::Specification.new do |spec|

spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_layouts|_includes|_sass|LICENSE|README|_config\.yml)!i) }

spec.add_runtime_dependency "jekyll", "~> 3.9.0"
spec.add_runtime_dependency "jekyll-feed", "~> 0.15.1"
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.7.1"
spec.add_runtime_dependency "jekyll", "~> 3.10.0"
spec.add_runtime_dependency "jekyll-feed", "~> 0.17.0"
spec.add_runtime_dependency "jekyll-seo-tag", "~> 2.8.0"
spec.add_runtime_dependency "jektex", "~> 0.1.1"

spec.required_ruby_version = '>= 3.4'
end

0 comments on commit 429219b

Please sign in to comment.