1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2025-05-10 14:36:01 +02:00

26 Commits

Author SHA1 Message Date
98f68004b4 package.json: Increment version to 1.1.5 2018-08-29 12:27:14 +03:00
b83065eb7d package.json: Bump dependency versions
I always try to mirror the dependency versions of Bootstrap itself.

See: https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2018-08-29 12:26:36 +03:00
4a846731ee Used different syntax for accessing site parameters. 2018-08-29 12:23:59 +03:00
4721b523ca Added 'header_visible' parameter to allow switching off the header. 2018-08-29 12:23:54 +03:00
702b68c5dd Merge pull request #99 from camilleroux/patch-1
Use RegularPages instead of Pages in list.html
2018-08-28 12:50:28 +03:00
233899fbfd Merge pull request #101 from coliff/patch-1
update Font Awesome links and HTTPS link to Bootstrap site
2018-08-28 12:46:41 +03:00
f52497443b update Font Awesome links and HTTPS link to Bootstrap site 2018-08-24 16:02:50 +09:00
5581929151 Use RegularPages instead of Pages in list.html 2018-08-09 15:06:28 +02:00
2981031e4f package.json: Increment version to 1.1.4 2018-07-25 16:27:53 +03:00
ca4c64298b Regenerate static assets 2018-07-25 16:27:13 +03:00
9a88f1943f Update to Bootstrap v4.1.3 2018-07-25 16:26:54 +03:00
a39781ef6b package.json: Increment version to 1.1.3 2018-07-25 16:06:08 +03:00
613e608eec Regenerate static assets 2018-07-25 16:04:44 +03:00
035ad5939f Trim more unused bits of canonical Bootstrap
Neither the theme nor Hugo's code seems to rely on these CSS classes
so I think we can remove them. This saves 3KiB more from style.css.
2018-07-25 16:02:31 +03:00
fc3181915d package.json: Increment version to 1.1.2 2018-07-12 23:23:26 +03:00
f5abc5be50 Regenerate static 2018-07-12 23:04:44 +03:00
c41b785d30 source/scss/bootstrap.scss: Copy new version number
Otherwise it is very confusing because the generated style.css has
the wrong version number.
2018-07-12 23:03:50 +03:00
1ac4daff45 package.json: Bump Bootstrap to v4.1.2
See: https://blog.getbootstrap.com/2018/07/12/bootstrap-4-1-2/
2018-07-12 23:03:12 +03:00
1783b22953 Regenerate static 2018-07-11 16:45:45 +03:00
f4489fd8f4 package.json: Bump node-sass dependency to match Bootstrap's
See: https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2018-07-11 16:45:17 +03:00
78794ea7f9 TranslationBaseName replaced for Name on archetypes template 2018-07-11 16:38:30 +03:00
e80a6238c6 Add Norwegian translations 2018-07-11 16:30:22 +03:00
c84ac4bef8 package.json: Increment version to 1.1.1 2018-05-15 10:08:21 +03:00
624e124362 Regenerate static files and SRI hashes 2018-05-15 09:58:03 +03:00
792ab342fb package.json: Update node-sass dependency
To match Bootstrap's.

See: https://github.com/twbs/bootstrap/blob/v4-dev/package.json
2018-05-15 09:54:45 +03:00
36c77a90fd package.json: Bump Bootstrap to v4.1.1
See: https://blog.getbootstrap.com/2018/04/30/bootstrap-4-1-1/
2018-05-15 09:43:35 +03:00
10 changed files with 57 additions and 14 deletions

View File

@ -53,6 +53,6 @@ There are several ways to help with the development of the theme:
- Fork [the repository](https://github.com/alanorth/hugo-theme-bootstrap4-blog) on GitHub, add features on a "feature" branch like `update-bootstrap`, and then send a [pull request](https://github.com/alanorth/hugo-theme-bootstrap4-blog/compare) with your changes
## License
This repository contains the code of [Bootstrap](http://getbootstrap.com), which is licensed under the [MIT license](https://tldrlegal.com/license/mit-license), and [Font Awesome](http://fontawesome.io/), which uses [various licenses](http://fontawesome.io/license/).
This repository contains the code of [Bootstrap](https://getbootstrap.com), which is licensed under the [MIT license](https://tldrlegal.com/license/mit-license), and [Font Awesome](https://fontawesome.com/), which uses [various licenses](https://fontawesome.com/license/).
Otherwise, the contents are [GPLv3](https://www.gnu.org/licenses/gpl-3.0.txt).

View File

@ -1,5 +1,5 @@
+++
title = "{{ replace .TranslationBaseName "-" " " | title }}"
title = "{{ replace .Name "-" " " | title }}"
date = {{ .Date }}
images = ["/2016/10/image.jpg"]
description = ""

View File

@ -1,3 +1,3 @@
style = "sha384-ZwlQQbzhEPf3PrXZ3h/XKT/4UHafQ/TYI72AL+7WOJ8D6JmpGC8JMMse6xX7cyeI"
style = "sha384-6+EGfPoOzk/n2DVJSlglKT8TV1TgIMvVcKI73IZgBswLasPBn94KommV6ilJqCXE"
cookieconsentcss = "sha384-Ul1H8jNudxII4JYT6VbQzsJj2XTAqp3zPv1YJwsTd19vCwtNBq+dgWS3DHuulhVe"
cookieconsentjs = "sha384-MUoyijeybCtm4GFBhubnlrS2TscWkBDFkwCzXMofOGhiTYxVzoSfwaCM7HtNFzwN"

View File

@ -37,6 +37,9 @@ paginate = 5
# Description/subtitle for homepage (can be Markdown)
description = "A simple Hugo theme based on the Bootstrap v4 blog example."
# Show header (default: true)
#header_visible = true
# Format dates with Go's time formatting
date_format = "Mon Jan 02, 2006"

38
i18n/no.yaml Normal file
View File

@ -0,0 +1,38 @@
- id: about
translation: "Om"
- id: home
translation: "Hjem"
- id: recentPosts
translation: "Siste innlegg"
- id: readMore
translation: "Les mer →"
- id: translations
translation: "Oversettelser"
- id: share
translation: "Del"
- id: paginatorPrevious
translation: "Forrige side"
- id: paginatorNext
translation: "Neste side"
- id: cookieMessage
translation: "Denne nettsiden bruker informasjonskapsler."
- id: cookieLink
translation: "Lær mer."
- id: cookieDismiss
translation: "Greit!"
- id: backToTop
translation: "Til toppen"
- id: links
translation: "Linker"

View File

@ -47,6 +47,7 @@
{{ end }}
{{ block "header" . }}
{{ if (ne .Site.Params.header_visible false) }}
<header class="blog-header">
<div class="container">
<h1 class="blog-title"><a href="{{ .Site.BaseURL }}" rel="home">{{ .Site.Title | safeHTML }}</a></h1>
@ -54,6 +55,7 @@
</div>
</header>
{{ end }}
{{ end }}
{{ block "body" . }}
<div class="container">

View File

@ -30,7 +30,7 @@
{{ define "main" }}
{{ $truncate := default true .Site.Params.truncate }}
{{ $paginator := .Paginate (where .Site.Pages "Section" "in" .Site.Params.mainSections) }}
{{ $paginator := .Paginate (where .Site.RegularPages "Section" "in" .Site.Params.mainSections) }}
{{ range $paginator.Pages }}
{{ if $truncate }}
{{ .Render "summary" }}

View File

@ -1,6 +1,6 @@
{
"name": "hugo-theme-bootstrap4-blog",
"version": "1.1.0",
"version": "1.1.5",
"description": "A Bootstrap v4 theme for the Hugo static site generator.",
"repository": {
"type": "git",
@ -18,10 +18,10 @@
"author": "Alan Orth",
"license": "GPL-3.0",
"devDependencies": {
"bootstrap": "4.1.0",
"clean-css-cli": "^4.1.11",
"bootstrap": "4.1.3",
"clean-css-cli": "^4.2.1",
"cookieconsent": "^3.0.4",
"font-awesome": "^4.7.0",
"node-sass": "^4.7.2"
"node-sass": "^4.9.3"
}
}

View File

@ -1,5 +1,5 @@
/*!
* Bootstrap v4.1.0 (https://getbootstrap.com/)
* Bootstrap v4.1.3 (https://getbootstrap.com/)
* Copyright 2011-2018 The Bootstrap Authors
* Copyright 2011-2018 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
@ -8,7 +8,7 @@
@import "node_modules/bootstrap/scss/functions";
@import "node_modules/bootstrap/scss/variables";
@import "node_modules/bootstrap/scss/mixins";
@import "node_modules/bootstrap/scss/root";
//@import "node_modules/bootstrap/scss/root";
@import "node_modules/bootstrap/scss/reboot";
@import "node_modules/bootstrap/scss/type";
@import "node_modules/bootstrap/scss/images";
@ -31,8 +31,8 @@
//@import "node_modules/bootstrap/scss/jumbotron";
//@import "node_modules/bootstrap/scss/alert";
//@import "node_modules/bootstrap/scss/progress";
@import "node_modules/bootstrap/scss/media";
@import "node_modules/bootstrap/scss/list-group";
//@import "node_modules/bootstrap/scss/media";
//@import "node_modules/bootstrap/scss/list-group";
//@import "node_modules/bootstrap/scss/close";
//@import "node_modules/bootstrap/scss/modal";
//@import "node_modules/bootstrap/scss/tooltip";

File diff suppressed because one or more lines are too long