diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml new file mode 100644 index 0000000..b0db9b0 --- /dev/null +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/.idea/jekyll-theme-bluelib.iml b/.idea/jekyll-theme-bluelib.iml index bebe47d..87a4e1a 100644 --- a/.idea/jekyll-theme-bluelib.iml +++ b/.idea/jekyll-theme-bluelib.iml @@ -6,6 +6,8 @@ + + @@ -37,5 +39,6 @@ + \ No newline at end of file diff --git a/.idea/jsLibraryMappings.xml b/.idea/jsLibraryMappings.xml new file mode 100644 index 0000000..a19ba9b --- /dev/null +++ b/.idea/jsLibraryMappings.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Gemfile b/Gemfile index d7ffedc..6d6e532 100644 --- a/Gemfile +++ b/Gemfile @@ -2,3 +2,5 @@ source "https://rubygems.org" gemspec + +gem "webrick", "~> 1.7" diff --git a/_config.yml b/_config.yml new file mode 100644 index 0000000..ffac35d --- /dev/null +++ b/_config.yml @@ -0,0 +1,2 @@ +title: "jekyll-theme-bluelib" +bluelib: "royalblue" diff --git a/_layouts/base.html b/_layouts/base.html new file mode 100644 index 0000000..ddf626f --- /dev/null +++ b/_layouts/base.html @@ -0,0 +1,12 @@ +--- +layout: default +--- + +
+
+

+ {{ site.title }} +

+ {{ content }} +
+
diff --git a/_layouts/box.html b/_layouts/box.html new file mode 100644 index 0000000..c21429b --- /dev/null +++ b/_layouts/box.html @@ -0,0 +1,8 @@ +--- +layout: base +--- + +
+ {{ content }} +
+ diff --git a/_layouts/default.html b/_layouts/default.html index 33293fd..c87aff3 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -1 +1,11 @@ -{{ content }} + + + + + + + + {{ content }} + + + diff --git a/_layouts/page.html b/_layouts/page.html deleted file mode 100644 index 6daa71d..0000000 --- a/_layouts/page.html +++ /dev/null @@ -1,5 +0,0 @@ ---- -layout: default ---- - -{{ content }} diff --git a/_layouts/post.html b/_layouts/post.html index 6daa71d..0dab78e 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -1,5 +1,10 @@ ---- -layout: default ---- - -{{ content }} +--- +layout: box +--- + +

+ {{ page.title }} +

+{{ content }} + + diff --git a/_posts/2021-10-10-test.md b/_posts/2021-10-10-test.md new file mode 100644 index 0000000..ea57cef --- /dev/null +++ b/_posts/2021-10-10-test.md @@ -0,0 +1,17 @@ +--- +layout: post +title: "Hello world!" +--- + +This is a sample post made to display posts made using `jekyll-theme-bluelib`. + +`:)` + +
+
+ Definition +
+
+ Description! +
+
\ No newline at end of file diff --git a/jekyll-theme-bluelib.gemspec b/jekyll-theme-bluelib.gemspec index 27deedc..ad88243 100644 --- a/jekyll-theme-bluelib.gemspec +++ b/jekyll-theme-bluelib.gemspec @@ -6,9 +6,9 @@ Gem::Specification.new do |spec| spec.authors = ["Stefano Pigozzi"] spec.email = ["me@steffo.eu"] - spec.summary = "TODO: Write a short summary, because Rubygems requires one." - spec.homepage = "TODO: Put your gem's website or public repo URL here." - spec.license = "MIT" + spec.summary = "Bluelib theme for Jekyll." + spec.homepage = "https://github.com/Steffo99/jekyll-theme-bluelib" + spec.license = "AGPL-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) }