Skip to content

Commit

Permalink
add bootstrap5 (#164)
Browse files Browse the repository at this point in the history
* add bootstrap5
  • Loading branch information
otwn authored Aug 29, 2023
1 parent 17c130a commit 88078bb
Show file tree
Hide file tree
Showing 25 changed files with 821 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "FranklinTemplates"
uuid = "3a985190-f512-4703-8d38-2a7944ed5916"
authors = ["Thibaut Lienart <tlienart@me.com>"]
version = "0.9.2"
version = "0.10.0"

[deps]
LiveServer = "16fef848-5104-11e9-1b77-fb7a48bbb589"
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ The grid below keeps track of their name, license, the kind of navbar they have
| `"just-the-docs"` | [Just the docs](https://github.com/pmarsceill/just-the-docs) | [MIT](https://github.com/pmarsceill/just-the-docs/blob/master/LICENSE.txt) | Side/Top | No |
| `"minimal-mistakes"` | [Minimal mistakes](https://github.com/mmistakes/minimal-mistakes) | [MIT](https://github.com/mmistakes/minimal-mistakes/blob/master/LICENSE) | Side/Top | No |
| `"celeste"` | [Celeste](https://github.com/nicoelayda/celeste) | [MIT](https://github.com/nicoelayda/celeste/blob/master/LICENSE) | Top | No |
| `"bootstrap5"` | [Bootstrap5](https://getbootstrap.com/docs/5.3/getting-started/introduction/) | [MIT](https://github.com/twbs/bootstrap/blob/main/LICENSE) | Top | No |

## Modifying or adding a template

Expand Down
4 changes: 4 additions & 0 deletions docs/index_head.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,10 @@
background: url("thumb/celeste.png");
background-size: contain;
}
#bootstrap5 {
background: url("thumb/bootstrap5.png");
background-size: contain;
}
@media (min-width: 1032px) {
body {
width: 1033px;
Expand Down
4 changes: 4 additions & 0 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,10 @@ descr = Dict{String,String}(
<span class="th-name">celeste</span>
<p>A lightweight theme that features a minimalist, content-first design. (Adapted from the Jekyll theme.)</p>
""",
"bootstrap5"=> """
<span class="th-name">bootstrap5</span>
<p>A bootstrap theme that uses Bootstrap 5, Bootstrap Icon 1.10, FontAwesome 6. (CDN base)</p>
""",
)


Expand Down
Binary file added docs/thumb/bootstrap5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/FranklinTemplates.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ const LIST_OF_TEMPLATES = (
"pure-sm",
"tufte",
"vela",
"celeste")
"celeste",
"bootstrap5")

include("utils.jl")

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/templates/bootstrap5/_assets/icon/browserconfig.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="utf-8"?>
<browserconfig>
<msapplication>
<tile>
<square150x150logo src="/mstile-150x150.png"/>
<TileColor>#da532c</TileColor>
</tile>
</msapplication>
</browserconfig>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/templates/bootstrap5/_assets/icon/favicon.ico
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
44 changes: 44 additions & 0 deletions src/templates/bootstrap5/_assets/icon/safari-pinned-tab.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions src/templates/bootstrap5/_assets/icon/site.webmanifest
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"name": "",
"short_name": "",
"icons": [
{
"src": "/android-chrome-192x192.png",
"sizes": "192x192",
"type": "image/png"
},
{
"src": "/android-chrome-512x512.png",
"sizes": "512x512",
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"display": "standalone"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

2 comments on commit 88078bb

@tlienart
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/90418

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.10.0 -m "<description of version>" 88078bb4167db9226fc6c4f41954ba0276de7cbc
git push origin v0.10.0

Please sign in to comment.