mirror of
				https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
				synced 2025-10-30 02:51:15 +01:00 
			
		
		
		
	Compare commits
	
		
			22 Commits
		
	
	
		
			v1.6.0
			...
			99f1a6725c
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 99f1a6725c | |||
| 898d91701a | |||
| 40b3fb4979 | |||
| 5797675dbd | |||
| 8cdfeb297d | |||
| 7a2ac26879 | |||
| 72fe18fd4d | |||
| 085cf9847f | |||
| dbc97128f3 | |||
| 5dd511963d | |||
| d24e709cd3 | |||
| 6c30836cc9 | |||
| ddd2836905 | |||
| f3a5cf6630 | |||
| 1876747063 | |||
| 96d6304f09 | |||
| e0c8b5a057 | |||
| d6ab3cda0a | |||
| e1dfe242a6 | |||
| bfac136c3e | |||
| 4a922d8657 | |||
| 94269648d6 | 
							
								
								
									
										43
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										43
									
								
								.drone.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,43 @@ | ||||
| kind: pipeline | ||||
| type: docker | ||||
| name: node12 | ||||
|  | ||||
| steps: | ||||
| - name: build | ||||
|   image: node:12-alpine | ||||
|   commands: | ||||
|   - npm --version | ||||
|   - npm install -g npm | ||||
|   - npm --version | ||||
|   - npm install | ||||
|   - npm run build | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: docker | ||||
| name: node14 | ||||
|  | ||||
| steps: | ||||
| - name: build | ||||
|   image: node:14-alpine | ||||
|   commands: | ||||
|   - npm --version | ||||
|   - npm install -g npm | ||||
|   - npm --version | ||||
|   - npm install | ||||
|   - npm run build | ||||
|  | ||||
| --- | ||||
| kind: pipeline | ||||
| type: docker | ||||
| name: node16 | ||||
|  | ||||
| steps: | ||||
| - name: build | ||||
|   image: node:16-alpine | ||||
|   commands: | ||||
|   - npm --version | ||||
|   - npm install -g npm | ||||
|   - npm --version | ||||
|   - npm install | ||||
|   - npm run build | ||||
							
								
								
									
										10
									
								
								.travis.yml
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								.travis.yml
									
									
									
									
									
								
							| @@ -1,10 +0,0 @@ | ||||
| language: node_js | ||||
| node_js: | ||||
|   - 10 | ||||
|   - 12 | ||||
|   - 13 | ||||
|   - 14 | ||||
| script: npm run build | ||||
| dist: focal | ||||
|  | ||||
| # vim: ts=2 sw=2 et | ||||
| @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. | ||||
| The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||||
| and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||||
|  | ||||
| ## Unreleased Changes | ||||
| ### Updated | ||||
| - Bootstrap v4.6.0, webpack v5.16.0, haven 0.6.2, etc | ||||
|  | ||||
| ## [[ 1.6.0 ]] - 2020-12-05 | ||||
| ### Changed | ||||
| - Migrate to dart sass from node-sass (see [LibSass is Deprecated](https://sass-lang.com/blog/libsass-is-deprecated)) | ||||
|   | ||||
| @@ -1,4 +1,4 @@ | ||||
| # Hugo Bootstrap v4 Blog [](https://travis-ci.org/alanorth/hugo-theme-bootstrap4-blog) [](https://builds.sr.ht/~alanorth/hugo-theme-bootstrap4-blog?) | ||||
| # Hugo Bootstrap v4 Blog [](https://ci.mjanja.ch/alanorth/hugo-theme-bootstrap4-blog) [](https://builds.sr.ht/~alanorth/hugo-theme-bootstrap4-blog?) | ||||
| A simple but opinionated [Hugo](https://gohugo.io) theme geared towards blog-style content. Based on the older two-column [Bootstrap blog example](https://v4-alpha.getbootstrap.com/examples/blog/) that was used for several Bootstrap versions, but has now been retired in favor of a "snarky" (their words) new example as of version [4.0.0's final release](https://blog.getbootstrap.com/2018/01/18/bootstrap-4/). | ||||
|  | ||||
|  | ||||
| @@ -18,7 +18,7 @@ See [picturingjordan.com](https://picturingjordan.com) for an example of this th | ||||
| - Allow addition of custom `<head>` code in site's `layouts/partials/head-custom.html` (see [#17](https://github.com/alanorth/hugo-theme-bootstrap4-blog/pull/17)) | ||||
| - Configurable display of summaries of content in list templates. | ||||
| - Configurable keywords for every post | ||||
| - Supports automatic generation of `<img>` srcsets for images in [page bundles](https://gohugo.io/content-management/page-bundles/) using a [new figure shortcode]https://cpbotha.net/2020/05/02/drop-in-replacement-for-hugo-figure-shortcode-with-responsive-img-srcset/) (falls back to default Hugo behavior of looking up images in the static directory) | ||||
| - Supports automatic generation of `<img>` srcsets for images in [page bundles](https://gohugo.io/content-management/page-bundles/) using a [new figure shortcode](https://cpbotha.net/2020/05/02/drop-in-replacement-for-hugo-figure-shortcode-with-responsive-img-srcset/) (falls back to default Hugo behavior of looking up images in the static directory) | ||||
|  | ||||
| ## Usage | ||||
| Clone the repository to your site's `themes` directory. Refer to [`exampleSite/config.toml`](https://github.com/alanorth/hugo-theme-bootstrap4-blog/blob/master/exampleSite/config.toml) for recommended configuration values. | ||||
|   | ||||
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										2
									
								
								assets/js/fontawesome.min.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								assets/js/fontawesome.min.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										6
									
								
								assets/js/haven.umd.min.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								assets/js/haven.umd.min.js
									
									
									
									
										vendored
									
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							
							
								
								
									
										4770
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										4770
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										17
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										17
									
								
								package.json
									
									
									
									
									
								
							| @@ -18,15 +18,14 @@ | ||||
|   "author": "Alan Orth", | ||||
|   "license": "CC-BY-3.0", | ||||
|   "devDependencies": { | ||||
|     "@chiiya/haven": "^0.6.0", | ||||
|     "@fortawesome/fontawesome-svg-core": "^1.2.32", | ||||
|     "@fortawesome/free-brands-svg-icons": "^5.15.1", | ||||
|     "@fortawesome/free-solid-svg-icons": "^5.15.1", | ||||
|     "bootstrap": "^4.5.3", | ||||
|     "@chiiya/haven": "^0.6.2", | ||||
|     "@fortawesome/fontawesome-svg-core": "^1.2.34", | ||||
|     "@fortawesome/free-brands-svg-icons": "^5.15.2", | ||||
|     "@fortawesome/free-solid-svg-icons": "^5.15.2", | ||||
|     "bootstrap": "^4.6.0", | ||||
|     "clean-css-cli": "^4.3.0", | ||||
|     "rtlcss": "^2.6.1", | ||||
|     "sass": "^1.29.0", | ||||
|     "webpack": "^5.4.0", | ||||
|     "webpack-cli": "^3.3.12" | ||||
|     "rtlcss": "^2.6.2", | ||||
|     "sass": "^1.32.4", | ||||
|     "webpack-cli": "^4.5.0" | ||||
|   } | ||||
| } | ||||
|   | ||||
							
								
								
									
										10
									
								
								source/scss/bootstrap.scss
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										10
									
								
								source/scss/bootstrap.scss
									
									
									
									
										vendored
									
									
								
							| @@ -1,14 +1,14 @@ | ||||
| /*! | ||||
|  * Bootstrap v4.5.3 (https://getbootstrap.com/) | ||||
|  * Copyright 2011-2020 The Bootstrap Authors | ||||
|  * Copyright 2011-2020 Twitter, Inc. | ||||
|  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) | ||||
|  * Bootstrap v4.6.0 (https://getbootstrap.com/) | ||||
|  * Copyright 2011-2021 The Bootstrap Authors | ||||
|  * Copyright 2011-2021 Twitter, Inc. | ||||
|  * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE) | ||||
|  */ | ||||
|  | ||||
| @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"; | ||||
|   | ||||
| @@ -3,6 +3,7 @@ license = "CC-BY-3.0" | ||||
| licenselink = "https://github.com/alanorth/hugo-theme-bootstrap4-blog/blob/master/LICENSE.txt" | ||||
| description = "A simple Hugo theme based on the Bootstrap v4 blog example." | ||||
| homepage = "https://github.com/alanorth/hugo-theme-bootstrap4-blog" | ||||
| demosite = "https://picturingjordan.com" | ||||
| tags = ["bootstrap", "blog", "font awesome"] | ||||
| features = ["responsive", "blog"] | ||||
| min_version = 0.55 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user