1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 19:44:21 +00:00

Configure the theme

This commit is contained in:
Steffo 2021-10-10 20:32:41 +02:00
parent dad0989bbe
commit 46bda50f40
Signed by: steffo
GPG key ID: 6965406171929D01
12 changed files with 80 additions and 14 deletions

View file

@ -0,0 +1,6 @@
<component name="InspectionProjectProfileManager">
<profile version="1.0">
<option name="myName" value="Project Default" />
<inspection_tool class="Rubocop" enabled="false" level="WARNING" enabled_by_default="false" />
</profile>
</component>

View file

@ -6,6 +6,8 @@
<sourceFolder url="file://$MODULE_DIR$/features" isTestSource="true" /> <sourceFolder url="file://$MODULE_DIR$/features" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" /> <sourceFolder url="file://$MODULE_DIR$/spec" isTestSource="true" />
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" /> <sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/_site" />
<excludeFolder url="file://$MODULE_DIR$/.jekyll-cache" />
</content> </content>
<orderEntry type="inheritedJdk" /> <orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" /> <orderEntry type="sourceFolder" forTests="false" />
@ -37,5 +39,6 @@
<orderEntry type="library" scope="PROVIDED" name="sassc (v2.4.0, ruby-3.0.2-p107) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="sassc (v2.4.0, ruby-3.0.2-p107) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="terminal-table (v2.0.0, ruby-3.0.2-p107) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="terminal-table (v2.0.0, ruby-3.0.2-p107) [gem]" level="application" />
<orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v1.8.0, ruby-3.0.2-p107) [gem]" level="application" /> <orderEntry type="library" scope="PROVIDED" name="unicode-display_width (v1.8.0, ruby-3.0.2-p107) [gem]" level="application" />
<orderEntry type="library" name="royalblue.root" level="application" />
</component> </component>
</module> </module>

View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="JavaScriptLibraryMappings">
<file url="file://$PROJECT_DIR$" libraries="{royalblue.root}" />
</component>
</project>

View file

@ -2,3 +2,5 @@
source "https://rubygems.org" source "https://rubygems.org"
gemspec gemspec
gem "webrick", "~> 1.7"

2
_config.yml Normal file
View file

@ -0,0 +1,2 @@
title: "jekyll-theme-bluelib"
bluelib: "royalblue"

12
_layouts/base.html Normal file
View file

@ -0,0 +1,12 @@
---
layout: default
---
<div class="layout-threecol">
<div class="layout-threecol-center">
<h1>
{{ site.title }}
</h1>
{{ content }}
</div>
</div>

8
_layouts/box.html Normal file
View file

@ -0,0 +1,8 @@
---
layout: base
---
<section class="panel panel-box">
{{ content }}
</section>

View file

@ -1 +1,11 @@
{{ content }} <html>
<head>
<link rel="stylesheet" href="https://gh.steffo.eu/bluelib/src/targets/skeleton.root.css" type="text/css">
<link rel="stylesheet" href="https://gh.steffo.eu/bluelib/src/targets/{{site.bluelib}}.root.css" type="text/css">
<link rel="stylesheet" href="https://gh.steffo.eu/bluelib/src/targets/{{page.bluelib}}.root.css" type="text/css">
</head>
<body>
{{ content }}
</body>
</html>

View file

@ -1,5 +0,0 @@
---
layout: default
---
{{ content }}

View file

@ -1,5 +1,10 @@
--- ---
layout: default layout: box
--- ---
<h2>
{{ page.title }}
</h2>
{{ content }} {{ content }}

17
_posts/2021-10-10-test.md Normal file
View file

@ -0,0 +1,17 @@
---
layout: post
title: "Hello world!"
---
This is a sample post made to display posts made using `jekyll-theme-bluelib`.
`:)`
<dl>
<dt>
Definition
</dt>
<dd>
Description!
</dd>
</dl>

View file

@ -6,9 +6,9 @@ Gem::Specification.new do |spec|
spec.authors = ["Stefano Pigozzi"] spec.authors = ["Stefano Pigozzi"]
spec.email = ["me@steffo.eu"] spec.email = ["me@steffo.eu"]
spec.summary = "TODO: Write a short summary, because Rubygems requires one." spec.summary = "Bluelib theme for Jekyll."
spec.homepage = "TODO: Put your gem's website or public repo URL here." spec.homepage = "https://github.com/Steffo99/jekyll-theme-bluelib"
spec.license = "MIT" 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) } spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r!^(assets|_layouts|_includes|_sass|LICENSE|README|_config\.yml)!i) }