mirror of
https://github.com/Steffo99/bluelib.git
synced 2024-12-22 11:34:21 +00:00
✨ Allow custom CSS files
This commit is contained in:
parent
075832007d
commit
0788de2324
4 changed files with 12 additions and 5 deletions
|
@ -11,6 +11,7 @@
|
||||||
</content>
|
</content>
|
||||||
<orderEntry type="inheritedJdk" />
|
<orderEntry type="inheritedJdk" />
|
||||||
<orderEntry type="sourceFolder" forTests="false" />
|
<orderEntry type="sourceFolder" forTests="false" />
|
||||||
|
<orderEntry type="library" name="royalblue.root" level="application" />
|
||||||
<orderEntry type="library" scope="PROVIDED" name="addressable (v2.8.0, ruby-3.0.2-p107) [gem]" level="application" />
|
<orderEntry type="library" scope="PROVIDED" name="addressable (v2.8.0, ruby-3.0.2-p107) [gem]" level="application" />
|
||||||
<orderEntry type="library" scope="PROVIDED" name="bundler (v2.2.29, ruby-3.0.2-p107) [gem]" level="application" />
|
<orderEntry type="library" scope="PROVIDED" name="bundler (v2.2.29, ruby-3.0.2-p107) [gem]" level="application" />
|
||||||
<orderEntry type="library" scope="PROVIDED" name="colorator (v1.1.0, ruby-3.0.2-p107) [gem]" level="application" />
|
<orderEntry type="library" scope="PROVIDED" name="colorator (v1.1.0, ruby-3.0.2-p107) [gem]" level="application" />
|
||||||
|
@ -39,6 +40,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" />
|
<orderEntry type="library" scope="PROVIDED" name="webrick (v1.7.0, ruby-3.0.2-p107) [gem]" level="application" />
|
||||||
</component>
|
</component>
|
||||||
</module>
|
</module>
|
|
@ -48,6 +48,7 @@ In particular, it `<link>`s in the following order:
|
||||||
1. The `skeleton.root.css` from the latest version of bluelib
|
1. The `skeleton.root.css` from the latest version of bluelib
|
||||||
2. The bluelib `root` target defined in the `bluelib` variable of `_config.yml` (`site.bluelib`)
|
2. The bluelib `root` target defined in the `bluelib` variable of `_config.yml` (`site.bluelib`)
|
||||||
3. The bluelib `root` target defined in the `bluelib` variable of the Front Matter of the page (`page.bluelib`)
|
3. The bluelib `root` target defined in the `bluelib` variable of the Front Matter of the page (`page.bluelib`)
|
||||||
|
4. The CSS files specified in the `extra_css` array of `_config.yml` (`site.extra_css`)
|
||||||
|
|
||||||
### `base`
|
### `base`
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,13 @@
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<link rel="stylesheet" href="https://gh.steffo.eu/bluelib/src/targets/skeleton.root.css" type="text/css">
|
<meta charset="UTF-8"/>
|
||||||
<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/skeleton.root.css" type="text/css"/>
|
||||||
<link rel="stylesheet" href="https://gh.steffo.eu/bluelib/src/targets/{{page.bluelib}}.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"/>
|
||||||
|
{% for css in site.extra_css %}
|
||||||
|
<link rel="stylesheet" href="{{ css }}"/>
|
||||||
|
{% endfor %}
|
||||||
|
<title>{{ page.title }}</title>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
{{ content }}
|
{{ content }}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
Gem::Specification.new do |spec|
|
Gem::Specification.new do |spec|
|
||||||
spec.name = "jekyll-theme-bluelib"
|
spec.name = "jekyll-theme-bluelib"
|
||||||
spec.version = "0.1.0"
|
spec.version = "0.1.1"
|
||||||
spec.authors = ["Stefano Pigozzi"]
|
spec.authors = ["Stefano Pigozzi"]
|
||||||
spec.email = ["me@steffo.eu"]
|
spec.email = ["me@steffo.eu"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue