Browse Source

WIP

master
Tom Forbes 9 months ago
parent
commit
a6a5287b4b
No known key found for this signature in database GPG Key ID: 1AA2FDB3A6E25D95
7 changed files with 3787 additions and 0 deletions
  1. +11
    -0
      .gitignore
  2. +12
    -0
      .gitmodules
  3. +20
    -0
      LICENSE
  4. +3691
    -0
      package-lock.json
  5. +11
    -0
      package.json
  6. +21
    -0
      postcss.config.js
  7. +21
    -0
      theme.toml

+ 11
- 0
.gitignore View File

@@ -0,0 +1,11 @@
# Created by .ignore support plugin (hsz.mobi)
### Hugo template
# Generated files by hugo
/public/
/resources/_gen/

# Executable may be added to repository
hugo.exe
hugo.darwin
hugo.linux
node_modules/

+ 12
- 0
.gitmodules View File

@@ -0,0 +1,12 @@
[submodule "themes/bare/assets/css/bulma"]
path = themes/bare/assets/css/bulma
url = https://github.com/jgthms/bulma.git
[submodule "themes/bare/assets/css/ionicons"]
path = themes/bare/assets/css/ionicons
url = https://github.com/ionic-team/ionicons.git
[submodule "themes/assets/icons"]
path = themes/assets/icons
url = https://github.com/Templarian/MaterialDesign.git
[submodule "themes/bare/assets/icons"]
path = themes/bare/assets/icons
url = https://github.com/Templarian/MaterialDesign.git

+ 20
- 0
LICENSE View File

@@ -0,0 +1,20 @@
The MIT License (MIT)

Copyright (c) 2019 YOUR_NAME_HERE

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
the Software without restriction, including without limitation the rights to
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
the Software, and to permit persons to whom the Software is furnished to do so,
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

+ 3691
- 0
package-lock.json
File diff suppressed because it is too large
View File


+ 11
- 0
package.json View File

@@ -0,0 +1,11 @@
{
"name": "bare-hugo-theme",
"version": "1.0.0",
"dependencies": {
"@fullhuman/postcss-purgecss": "^1.3.0",
"autoprefixer": "^9.6.1",
"cssnano": "^4.1.10",
"postcss-cli": "^6.1.3",
"purgecss": "^1.4.0"
}
}

+ 21
- 0
postcss.config.js View File

@@ -0,0 +1,21 @@
module.exports = {
plugins: {
'@fullhuman/postcss-purgecss': {
content: ['themes/bare/layouts/**/*.html'],
whitelist: [
'highlight',
'language-bash',
'pre',
'video',
'code',
'content',
'h3',
'h4',
'ul',
'li'
]
},
autoprefixer: {},
cssnano: {preset: 'default'}
}
};

+ 21
- 0
theme.toml View File

@@ -0,0 +1,21 @@
# theme.toml template for a Hugo theme
# See https://github.com/gohugoio/hugoThemes#themetoml for an example

name = "Bare"
license = "MIT"
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
description = ""
homepage = "http://example.com/"
tags = []
features = []
min_version = "0.41"

[author]
name = ""
homepage = ""

# If porting an existing theme
[original]
name = ""
homepage = ""
repo = ""

Loading…
Cancel
Save