Browse Source

Update with fork

master
Kenneth Dodrill 1 month ago
parent
commit
981b3adc6f
9 changed files with 493 additions and 515 deletions
  1. +0
    -2
      .gitignore
  2. +1
    -1
      README.md
  3. +5
    -1
      assets/css/site.sass
  4. BIN
      assets/images/avatar.jpg
  5. +1
    -2
      layouts/partials/footer.html
  6. +6
    -2
      layouts/partials/header.html
  7. +468
    -496
      package-lock.json
  8. +4
    -4
      package.json
  9. +8
    -7
      theme.toml

+ 0
- 2
.gitignore View File

@@ -9,5 +9,3 @@ hugo.darwin
hugo.linux
node_modules/
.idea/
exampleSite/resources/
exampleSite/public/

+ 1
- 1
README.md View File

@@ -1,3 +1,3 @@
# Bare Modified

This theme is a version of [Orf's Bare theme](https://github.com/orf/bare-hugo-theme), except with trackers removed.
This theme is a version of [Orf's Bare theme](https://github.com/orf/bare-hugo-theme), except with analytics removed.

+ 5
- 1
assets/css/site.sass View File

@@ -26,4 +26,8 @@

.is-medium
pre
font-size: $size-normal
font-size: $size-normal
.no-margin
margin-left: 0
margin-right: 0

BIN
assets/images/avatar.jpg View File

Before After
Width: 606  |  Height: 588  |  Size: 200KB

+ 1
- 2
layouts/partials/footer.html View File

@@ -13,7 +13,7 @@
<p>
{{ if (not $.Site.Params.disableAttribution) }}
<a href="https://github.com/orf/bare-hugo-theme" target="_blank">Bare Hugo theme.</a>
<a href="https://gitea.kennydodrill.net/kmdodrill/hugo-bare-theme-modified" target="_blank">Bare Hugo Modified theme.</a>
{{ end }}
{{ if $.Site.Params.repoLink }}
Blog source code <a href="{{ $.Site.Params.repoLink }}" target="_blank">available on Github</a>.
@@ -22,4 +22,3 @@
</div>
</footer>


+ 6
- 2
layouts/partials/header.html View File

@@ -2,7 +2,7 @@
<div class="navbar-brand">
<a class="navbar-item" href="{{ $.Site.Home.Permalink }}">
<figure class="image">
<img alt="" class="is-rounded" src='{{ (resources.Get "images/avatar.jpg").Permalink }}'>
<img alt="" class="is-rounded" src="https://www.gravatar.com/avatar/{{ md5 $.Site.Params.email }}?s=128&d=identicon">
</figure>
</a>
<a class="navbar-item" href="{{ $.Site.Home.Permalink }}">
@@ -27,7 +27,11 @@
{{ range $.Site.Params.social }}
<a class="navbar-item" href="{{ .url }}" rel="noopener" target="_blank">
<span class="icon">
<img alt="{{ .icon }}" src='{{ (resources.Get (printf "icons/svg/%s.svg" .icon)).Permalink }}'>
{{ with (resources.Get (printf "icons/svg/%s.svg" .icon))}}
<img alt="{{ . }}" src='{{ .Permalink }}'>
{{ else }}
{{errorf "Icon %v does not exist in the template directory. View that directory for all icons you can use" (printf "icons/svg/%s.svg" .icon)}}
{{end}}
</span>
</a>
{{ end }}


+ 468
- 496
package-lock.json
File diff suppressed because it is too large
View File


+ 4
- 4
package.json View File

@@ -1,9 +1,9 @@
{
"dependencies": {
"@fullhuman/postcss-purgecss": "^1.3.0",
"autoprefixer": "^9.6.1",
"@fullhuman/postcss-purgecss": "^2.1.0",
"autoprefixer": "^9.7.4",
"cssnano": "^4.1.10",
"postcss-cli": "^7.1.1",
"purgecss": "^1.4.0"
"postcss-cli": "^7.1.0",
"purgecss": "^2.1.0"
}
}

+ 8
- 7
theme.toml View File

@@ -1,11 +1,12 @@
name = "Bare"
name = "Bare Modified"
license = "MIT"
licenselink = "https://github.com/orf/bare-hugo-theme/blob/master/LICENSE"
description = "A speed-focused, minimalist Hugo blog theme based on Bulma.io"
homepage = "https://github.com/orf/bare-hugo-theme"
tags = ["blog", "responsive", "minimal", "clean", "simple", "google-analytics", "light", "fast", "flexbox", "bulma"]
licenselink = "https://gitea.kennydodrill.net/kmdodrill/hugo-bare-theme-modified/src/branch/master/LICENSE"
description = "A speed-focused, minimalist Hugo blog theme based on Bulma.io, stripped of analytics"
homepage = "https://gitea.kennydodrill.net/kmdodrill/hugo-bare-theme-modified"
tags = ["blog", "responsive", "minimal", "clean", "simple", "light", "fast", "flexbox", "bulma"]
features = []
min_version = "0.58.3"

[author]
name = "Tom Forbes"
homepage = "https://tomforb.es"
name = "Kenneth Dodrill"
homepage = "https://kennydodrill.net"

Loading…
Cancel
Save