diff --git a/.gitignore b/.gitignore index 06968d0..736d740 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,6 @@ -# ---> Jekyll -_site/ -.sass-cache/ -.jekyll-cache/ -.jekyll-metadata - +*.gem +.bundle +.jekyll-cache +.sass-cache +_site +Gemfile.lock diff --git a/Gemfile b/Gemfile new file mode 100644 index 0000000..bb94df8 --- /dev/null +++ b/Gemfile @@ -0,0 +1,4 @@ +# frozen_string_literal: true + +source "https://rubygems.org" +gemspec diff --git a/_includes/links.lqd.html b/_includes/links.lqd.html new file mode 100644 index 0000000..a76aeb7 --- /dev/null +++ b/_includes/links.lqd.html @@ -0,0 +1,25 @@ +{% if top %} +
+{% endif %} +

+{% if top %} +{% for i in basic_theme.header_links %} +{{ i.name }} +{% endfor %} +{% endif %} +

+

+[Root] +{% if page.previous %} +[Previous] +{% endif %} +{% unless page.catagories %} +[Up] +{% endunless %} +{% if page.next %} +pNext] +{% endif %} +

+{% if top %} +
+{% endif %} diff --git a/_layouts/default.lqd.html b/_layouts/default.lqd.html new file mode 100644 index 0000000..b9dd0da --- /dev/null +++ b/_layouts/default.lqd.html @@ -0,0 +1,24 @@ + + + +{% if page.title %} +{{ page.title }} | {{ site.title }} +{% else %} +{{ site.title }} +{% endif %} + + + +{% if basic_theme.display_title and site.title %} +

{{ site.title }}

+{% endif %} +{% include links.lqd top: true %} +{{ content }} +
+{% if basic.display_info %} +This is {{ site.url | get_domain }} running Jekyll. +{% endif %} +{% include links.lqd.html top: false %} +
+ + diff --git a/_layouts/page.lqd.html b/_layouts/page.lqd.html new file mode 100644 index 0000000..872cc37 --- /dev/null +++ b/_layouts/page.lqd.html @@ -0,0 +1,19 @@ +--- +layout: default +--- + +

{{ page.title }}

+
+{{ page.date }} by {{ page.author }} +{% else %} +By {{ page.author }} +{% endif %} +{% if page.tags %} +Tags: {{ page.tags | array_to_sentence_string: "" }} +{% endif %} +
+
+{{ content }} +
diff --git a/_layouts/post.lqd.html b/_layouts/post.lqd.html new file mode 100644 index 0000000..a3d243d --- /dev/null +++ b/_layouts/post.lqd.html @@ -0,0 +1,18 @@ +--- +layout: default +--- + +

{{ page.title }}

+
+{% if page.date %} +{{ page.date }} by {{ page.author }} +{% else %} +By {{ page.author }} +{% endif %} +{% if page.tags %} +Tags: {{ page.tags | array_to_sentence_string: "" }} +{% endif %} +
+
+{{ content }} +
diff --git a/jekyll-theme-basic.gemspec b/jekyll-theme-basic.gemspec new file mode 100644 index 0000000..2879f38 --- /dev/null +++ b/jekyll-theme-basic.gemspec @@ -0,0 +1,15 @@ +# frozen_string_literal: true + +Gem::Specification.new do |spec| + spec.name = "jekyll-theme-basic" + spec.version = "0.1.0" + spec.authors = ["Atlas48"] + spec.email = ["Atlas48@gmx.com"] + spec.summary = "An incredibly rudimentary jekyll theme. Paper-thin, nothing but what's needed." + spec.homepage = "https://git.sdf.org/Atlas48/jekyll-theme-basic" + spec.license = "LGPL-3.0-or-later" + + 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", "~> 4.2" +end diff --git a/LICENSE b/license.txt similarity index 100% rename from LICENSE rename to license.txt diff --git a/README.md b/readme.md similarity index 100% rename from README.md rename to readme.md