new theme for the no-JS club

main
Frank Homburg 3 years ago
parent 8190aff704
commit a81ca7ccb7

@ -1,8 +1,6 @@
# Hugo risotto theme license
The MIT License (MIT) The MIT License (MIT)
Copyright (c) 2021 Joe Roe Copyright (c) 2020 Jan Raasch
Permission is hereby granted, free of charge, to any person obtaining a copy of 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 this software and associated documentation files (the "Software"), to deal in

@ -1,23 +1,91 @@
<pre> # Hugo ʕ•ᴥ•ʔ Bear Blog ![Test](https://github.com/janraasch/hugo-bearblog/workflows/CI/badge.svg?branch=master&event=push) [![Pay me][paypal-svg]][paypal-dot-me] [![Sponsor me][github-sponsors-svg]][github-sponsors]
_____ .__
_/ ____\ | |__ Frank Homburg 🧸 A [Hugo](https://gohugo.io/)-theme based on [Bear Blog](https://bearblog.dev).
\ __\ | | \
| | | Y \ https://hmbrg.org > Free, no-nonsense, super-fast blogging.
|__| |___| / https://git.sr.ht/~hmbrg
\/ ## Demo
Script name: - For a current & working demo of this theme, please check out https://janraasch.github.io/hugo-bearblog/ 🎯.
Description: no-JS.club website off-site backup
Dependencies: - ## Screenshots
SourceHut: <a href="https://git.sr.ht/~hmbrg/no-js.club">website repo</a>
License: - ⬜️ [Light][light-screenshot]
Contributors: Frank Homburg
Comments: This is a "just in case" copy of the no-JS.club project website. ⬛️ [Dark][dark-screenshot]
</pre>
When the user's browser is running »dark mode«, the dark color scheme will be used automatically. The default is the light/white color scheme. Check out the [`style.html`](https://github.com/janraasch/hugo-bearblog/blob/master/layouts/partials/style.html)-file for the implementation.
# [The no-JS.club](https://no-js.club) off-site backup ## Sponsor 💟
Within this repo you'll find:
* uncompiled (Markdown) as well as Support my work on this theme via [GitHub Sponsors][github-sponsors] (recurring) or [PayPal][paypal-dot-me] (one-time).
* compiled (HTML) content files
* moreover the whole set of assets [![GitHub Stats](https://github-readme-stats.vercel.app/api/?username=janraasch)][github-sponsors]
## Installation
If you already have a Hugo site on your machine, you can simply add this theme via
```
git submodule add https://github.com/janraasch/hugo-bearblog.git themes/hugo-bearblog
```
Then, adjust the `config.toml` as detailed below.
For more information, read the official [setup guide][hugo-setup-guide] of Hugo.
## Adjust configuration / config.toml
Please check out the [config.toml](https://github.com/janraasch/hugo-bearblog/blob/master/exampleSite/config.toml) included in the [exampleSite](https://github.com/janraasch/hugo-bearblog/tree/master/exampleSite) of this theme.
## Content & structure
### Starting fresh
If you are starting fresh, simply copy over the contents of the `exampleSite`-directory included in this theme to your source directory. That should give you a good idea about how things work, and then you can go on from there to make the site your own.
### Adding / editing content
#### Index-Page
The contents of the `index`-page may be changed by editing your `content/_index.md`-file.
#### Page
You can add **a new page** via running
```
hugo new my-new-page.md
```
#### Blog-Post
You can add **a new blog-post** via running
```
hugo new blog/my-new-post.md
```
### Adding your branding / colors / css
Add a `custom_head.html`-file to your `layouts/partials`-directory. In there you may add a `<style>`-tag, *or* you may add a `<link>`-tag referencing your own `custom.css` (in case you prefer to have a separate `.css`-file). Check out the [`style.html`](https://github.com/janraasch/hugo-bearblog/blob/master/layouts/partials/style.html)-file to find out which CSS-styles are applied by default.
## Issues / Feedback / Contributing
Please use [GitHub issues](https://github.com/janraasch/hugo-bearblog/issues) and [Pull Requests](https://github.com/janraasch/hugo-bearblog/pulls).
If you do not have a GitHub-account, please hit me up via e-mail (see [janraasch.com](https://www.janraasch.com)).
## Special Thanks 🎁
A special thank you goes out to [Herman](https://herman.bearblog.dev), for creating the original [ʕ•ᴥ•ʔ Bear Blog](https://bearblog.dev/).
## License
[MIT License](http://en.wikipedia.org/wiki/MIT_License) © [Jan Raasch](https://www.janraasch.com)
[paypal-dot-me]: https://www.paypal.me/janraasch/7,00
[github-sponsors]: https://github.com/sponsors/janraasch
[paypal-svg]: https://img.shields.io/badge/onetime-donation-11dde2.svg?logo=paypal
[github-sponsors-svg]: https://img.shields.io/badge/recurring-sponsorship-ee4aaa.svg?logo=github
[hugo-setup-guide]: https://gohugo.io/getting-started/installing
[light-screenshot]: https://raw.githubusercontent.com/janraasch/hugo-bearblog/master/images/screenshot.png
[dark-screenshot]: https://raw.githubusercontent.com/janraasch/hugo-bearblog/master/images/screenshot-dark.png

@ -0,0 +1,13 @@
+++
title = "{{ replace .Name "-" " " | title }}"
date = "{{ .Date }}"
#
# description is optional
#
# description = "An optional description for SEO. If not provided, an automatically created summary will be used."
tags = [{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}"{{ printf "%s" $term }}",{{ end }}{{ end }}]
+++
This is a page about »{{ replace .Name "-" " " | title }}«.

@ -1,2 +1,22 @@
+++ +++
title = "{{ replace .Name "-" " " | title }}"
date = "{{ .Date }}"
#
# Set menu to "main" to add this page to
# the main menu on top of the page
#
menu = "main"
#
# description is optional
#
# description = "An optional description for SEO. If not provided, an automatically created summary will be used."
#
# tags are optional
#
# tags = [{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}"{{ printf "%s" $term }}",{{ end }}{{ end }}]
+++ +++
This is a page about »{{ replace .Name "-" " " | title }}«.

@ -1,72 +1,52 @@
baseURL = "https://no-js.club/" # Base URL used when generating links to your pages
languageCode = 'en' # Set to the URL for your site
title = ' The no-JS.club ' baseURL = "https://no-js.club"
disableHugoGeneratorInject = 'true'
enableGitInfo = 'true' # Basic metadata configuration for your blog.
[params] title = "The no-JS.club"
author = "Frank"
copyright = "Copyright © 2022, Frank Homburg."
languageCode = "en-US"
[params.theme] # Generate a nice robots.txt for SEO
palette = "gruvbox-dark" enableRobotsTXT = true
mode = "dark-mode"
[markup] # Generate "Bearblog"-like URLs !only!, see https://bearblog.dev/.
[markup.highlight] disableKinds = ["taxonomy"]
anchorLineNos = false ignoreErrors = ["error-disable-taxonomy"]
codeFences = true [permalinks]
guessSyntax = false blog = "/:slug/"
hl_Lines = '' tags = "/blog/:slug"
lineAnchors = ''
lineNoStart = 1
lineNos = true
lineNumbersInTable = true
noClasses = true
style = 'dracula'
tabWidth = 2
defaultMarkdownHandler = 'goldmark' [params]
[markup.asciidocExt] # The "description" of your website. This is used in the meta data of your generated html.
backend = 'html5' description = "| Showcase of JavaScript liberated websites"
extensions = []
failureLevel = 'fatal'
noHeaderOrFooter = true
preserveTOC = false
safeMode = 'unsafe'
sectionNumbers = false
trace = false
verbose = false
workingFolderCurrent = false
[markup.asciidocExt.attributes]
[markup.goldmark] # The path to your "favicon". This should be a square (at least 32px x 32px) png-file.
[markup.goldmark.extensions] # Hint: It's good practise to also put a "favicon.ico"-file into your "static"-folder.
definitionList = true favicon = "favicon.ico"
footnote = true
linkify = true
strikethrough = true
table = true
taskList = true
typographer = true
[markup.goldmark.parser] # These "images" are used for the structured data templates. This will show up, when
autoHeadingID = true # services like Twitter or Slack want to generate a preview of a link to your site.
autoHeadingIDType = 'github' # See https://gohugo.io/templates/internal#twitter-cards and
[markup.goldmark.parser.attribute] # https://gohugo.io/templates/internal#open-graph.
block = false images = ["images/share.png"]
title = true
[markup.goldmark.renderer] # Another "title" :-). This one is used as the site_name on the Hugo's internal
hardWraps = false # opengraph structured data template.
unsafe = false # See https://ogp.me/ and https://gohugo.io/templates/internal#open-graph.
xhtml = false title = "The no-JS Club | Showcase of JavaScript liberated websites"
[markup.tableOfContents] # This theme will, by default, inject a made-with-line at the bottom of the page.
endLevel = 3 # You can turn it off, but we would really appreciate if you dont :-).
ordered = false hideMadeWithLine = false
startLevel = 2
[author] # By default, this theme displays dates with a format like "02 Jan, 2006", but
name = "Frank" # you can customize it by setting the `dateFormat` param in your site's config
# file. See [Hugo's Format function docs](https://gohugo.io/functions/format/)
# for details. An example TOML config that uses [ISO
# 8601](https://en.wikipedia.org/wiki/ISO_8601) format:
dateFormat = "2006-01-02"
[menu] [menu]
[[menu.main]] [[menu.main]]

@ -4,7 +4,9 @@ date: "2022-04-26T13:03:54+02:00"
draft: false draft: false
--- ---
Below you find commonly asked question regarding the no-JS.club project and membership: # no-JS Club FAQ
<p>Below you find commonly asked question regarding the no-JS.club project and membership:</p>
{{< detail-tag "Terms and conditions" >}} {{< detail-tag "Terms and conditions" >}}
## Your website must be... ## Your website must be...
@ -20,7 +22,7 @@ Below you find commonly asked question regarding the no-JS.club project and memb
{{< detail-tag "How to join the no-JS club?" >}} {{< detail-tag "How to join the no-JS club?" >}}
## Instructions ## Instructions
If you're interested in getting your site added to the no-JS club, all you need to do is to follow this step-by-step guide: <p>If you're interested in getting your site added to the no-JS club, all you need to do is to follow this step-by-step guide:</p>
1. 🤞 Use [GTMetrix](https://gtmetrix.com) to analyse your website 🤞 1. 🤞 Use [GTMetrix](https://gtmetrix.com) to analyse your website 🤞
@ -51,6 +53,8 @@ Note: I reserve the right to not add sites based on whether I think they're suit
{{< /detail-tag >}} {{< /detail-tag >}}
{{< detail-tag "Is there any way I can show that I am a no-JS club member?" >}} {{< detail-tag "Is there any way I can show that I am a no-JS club member?" >}}
## Using the no-JS.club logos to showcase membership
If your website is **qualified and included in our list**, you are entitled to use one of the following two logos: If your website is **qualified and included in our list**, you are entitled to use one of the following two logos:
## Bright no-JS club logo ## Bright no-JS club logo
@ -87,11 +91,14 @@ Lines five and six contain the dimensions in millimeters, which can be adjusted
`height="27.790841875mm"` `height="27.790841875mm"`
{{< /detail-tag >}} {{< /detail-tag >}}
{{< detail-tag "When will I become a member?" >}} {{< detail-tag "When does the club membership begin?" >}}
## Start of club membership
Once your request is approved, the website mentioned via support ticket will become a proud member of the [no-JS.club](https://no-JS.club) and will be listed on the front page of the project website. Once your request is approved, the website mentioned via support ticket will become a proud member of the [no-JS.club](https://no-JS.club) and will be listed on the front page of the project website.
{{< /detail-tag >}} {{< /detail-tag >}}
{{< detail-tag "Will membership cost me anything?" >}} {{< detail-tag "Will membership cost me anything?" >}}
## The cost of membership
Good that you ask! [no-JS.club](https://no-js.club) **membership is absolutely free of charge**. Good that you ask! [no-JS.club](https://no-js.club) **membership is absolutely free of charge**.
We don't ask for money and don't expect anything else in return, **except the request for [membership](https://todo.sr.ht/~hmbrg/no-JS.club) via support ticket**. We don't ask for money and don't expect anything else in return, **except the request for [membership](https://todo.sr.ht/~hmbrg/no-JS.club) via support ticket**.
@ -99,5 +106,6 @@ We don't ask for money and don't expect anything else in return, **except the re
{{< detail-tag "I have further questions?!?" >}} {{< detail-tag "I have further questions?!?" >}}
## Contact information
Please direct all further questions to my eMail address: *no-JS {at} hmbrg {dot} org*. Please direct all further questions to my eMail address: *no-JS {at} hmbrg {dot} org*.
{{< /detail-tag >}} {{< /detail-tag >}}

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

@ -0,0 +1,6 @@
{{ define "title" }}404{{ end }}
{{ define "main" }}
<h1>404</h1>
<h2>ʕノ•ᴥ•ʔノ ︵ ┻━┻</h2>
{{ end }}

@ -1,32 +1,43 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="{{- site.Language.Lang -}}"> <html lang="{{ with .Site.LanguageCode }}{{ . }}{{ else }}en-US{{ end }}">
<head> <head>
{{- partial "head.html" . -}} <meta http-equiv="X-Clacks-Overhead" content="GNU Terry Pratchett" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
{{- partial "favicon.html" . -}}
<title>{{- block "title" . }}{{ with .Title }}{{ . }} | {{ end }}{{ .Site.Title }}{{- end }}</title>
{{- partial "seo_tags.html" . -}}
<meta name="referrer" content="no-referrer-when-downgrade" />
{{ with .OutputFormats.Get "rss" -}}
{{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
{{ end -}}
{{- partial "style.html" . -}}
<!-- A partial to be overwritten by the user.
Simply place a custom_head.html into
your local /layouts/partials-directory -->
{{- partial "custom_head.html" . -}}
</head> </head>
<body> <body>
<div class="page"> <header>
<header class="page__header">
{{- partial "header.html" . -}} {{- partial "header.html" . -}}
</header> </header>
<main>
<section class="page__body">
{{- block "main" . }}{{- end }} {{- block "main" . }}{{- end }}
</section> </main>
<footer>
<section class="page__aside">
<div class="aside__about">
{{- partial "about.html" . -}}
</div>
</section>
<section class="footer">
{{- partial "footer.html" . -}} {{- partial "footer.html" . -}}
</section> </footer>
</div> <!-- A partial to be overwritten by the user.
Simply place a custom_body.html into
your local /layouts/partials-directory -->
{{- partial "custom_body.html" . -}}
</body> </body>
</html> </html>

@ -1,12 +1,38 @@
{{ define "main" }} {{ define "main" }}
<h1 id="{{ .Title | urlize }}">{{ .Title | markdownify }}</h1> <content>
{{ if .Data.Singular }}
{{ .Content }} <h3 style="margin-bottom:0">Filtering for "{{ .Title }}"</h3>
<small>
<ul> <a href="{{ "/blog" | relURL }}">Remove filter</a>
</small>
{{ end }}
<ul class="blog-posts">
{{ range .Pages }} {{ range .Pages }}
{{ .Render "li" }} <li>
<span>
<i>
<time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
{{ .Date.Format (default "02 Jan, 2006" .Site.Params.dateFormat) }}
</time>
</i>
</span>
<a href="{{ .Permalink }}">{{ .Title }}</a>
</li>
{{ else }}
<li>
No posts yet
</li>
{{ end }} {{ end }}
</ul> </ul>
{{ if .Data.Singular }}
{{else}}
<small>
<div>
{{ range .Site.Taxonomies.tags }}
<a href="{{ .Page.Permalink }}">#{{ .Page.Title }}</a>&nbsp;
{{ end }}
</div>
</small>
{{ end }}
</content>
{{ end }} {{ end }}

@ -1,19 +1,20 @@
{{ define "main" }} {{ define "main" }}
<header class="content__header"> {{ if eq .Type "blog" }}{{ if not .Params.menu }}
<h1>{{ .Title | markdownify }}</h1> <h1>{{ .Title }}</h1>
</header>
<div class="content__body">
{{ .Content }}
</div>
<footer class="content__footer"></footer>
{{ end }}
{{define "aside" }}
{{ if .Params.description }}<p>{{ .Params.description }}</p>{{ end }}
{{ if or (.Params.author) (.Params.date) }}
<p> <p>
{{ if .Params.author }}By {{ .Params.author }}{{ if .Date }}, {{ end }}{{ end }} <i>
{{ if .Date }}{{ .Date.Format "2006-01-02" }}{{ end }} <time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
{{ .Date.Format (default "02 Jan, 2006" .Site.Params.dateFormat) }}
</time>
</i>
</p> </p>
{{ end }}{{ end }}
<content>
{{ .Content }}
</content>
<p>
{{ range (.GetTerms "tags") }}
<a href="{{ .Permalink }}">#{{ .LinkTitle }}</a>
{{ end }} {{ end }}
</p>
{{ end }} {{ end }}

@ -1,4 +1,3 @@
{{ define "main" }} {{ define "main" }}
{{ .Content }} {{ .Content }}
{{ end }} {{ end }}

@ -0,0 +1,3 @@
<!-- A partial to be overwritten by the user.
Simply place a custom_body.html into
your local /layouts/partials-directory -->

@ -0,0 +1,3 @@
<!-- A partial to be overwritten by the user.
Simply place a custom_head.html into
your local /layouts/partials-directory -->

@ -0,0 +1,2 @@
{{ with .Site.Params.favicon }}
<link rel="shortcut icon" href="{{ . | absURL }}" />{{ end }}

@ -1,5 +1,5 @@
{{ if ne .Site.Params.hideMadeWithLine true }}
<p class="copyright">{{ .Site.Copyright }}</p> <p class="copyright">{{ .Site.Copyright }}</p>
Copyright:&#09;© 2022 Frank Homburg
<p> <p>
License:&#09;<a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="noopener">CC BY-SA 4.0</a><br> License:&#09;<a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/deed.en" rel="noopener">CC BY-SA 4.0</a><br>
Git:&#09;&#09;<a href="https://git.sr.ht/~hmbrg/no-js.club" rel="noopener">SourceHut</a> Git:&#09;&#09;<a href="https://git.sr.ht/~hmbrg/no-js.club" rel="noopener">SourceHut</a>
@ -12,3 +12,4 @@ The <b>no-JS Club</b> was created by Frank Homburg and is the successor of <a hr
<p> <p>
Maintained with 💜 for a lighter-footed and JavaScript freer Internet. Maintained with 💜 for a lighter-footed and JavaScript freer Internet.
</p> </p>
{{ end }}

@ -1,10 +1,4 @@
<h1 class="page__logo"><a href="{{ .Site.BaseURL }}" class="page__logo-inner">{{ .Site.Title }}</a></h1> <a href="{{ "/" | relURL }}" class="title">
<nav class="page__nav main-nav"> <h2>{{ .Site.Title }}</h2>
<ul> </a>
{{ $currentPage := . }} <nav>{{- partial "nav.html" . -}}</nav>
{{ range .Site.Menus.main }}
<li class="main-nav__item"><a class="nav-main-item{{if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} active{{end}}" href="{{ .URL }}" title="{{ .Title }}">{{ .Name }}</a></li>
{{ end }}
</ul>
</nav>

@ -0,0 +1,7 @@
<a href="{{ "/" | relURL }}">Home</a>
{{ range .Site.Menus.main }}
<a href="{{ .URL }}">{{ .Name }}</a>
{{ end }}
{{ with .Site.GetPage "/blog" }}
<a href="{{ "/blog" | relURL }}">Blog</a>
{{ end }}

@ -0,0 +1,13 @@
<!-- Primary Meta Tags -->
<meta name="title" content="{{ with .Title }}{{ . }}{{ else }}{{ .Site.Title }}{{ end }}" />
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ else }}{{ with .Site.Params.description }}{{ . }}{{ end }}{{ end }}{{ end }}" />
<meta name="keywords" content="{{ if .IsPage}}{{ range $index, $tag := .Params.tags }}{{ $tag }},{{ end }}{{ else }}{{ range $plural, $terms := .Site.Taxonomies }}{{ range $term, $val := $terms }}{{ printf "%s," $term }}{{ end }}{{ end }}{{ end }}" />
<!-- Open Graph / Facebook -->
{{ template "_internal/opengraph.html" . }}
<!-- Twitter -->
{{ template "_internal/twitter_cards.html" . }}
<!-- Microdata -->
{{ template "_internal/schema.html" . }}

@ -0,0 +1,213 @@
<style>
body {
font-family: Verdana, sans-serif;
margin: auto;
padding: 20px;
max-width: 720px;
text-align: left;
background-color: #fff;
word-wrap: break-word;
overflow-wrap: break-word;
line-height: 1.5;
color: #444;
}
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
color: #222;
}
a {
color: #3273dc;
/*color: #ff5e6c;*/
}
.title {
text-decoration: none;
border: 0;
}
.title span {
font-weight: 400;
}
nav a {
margin-right: 10px;
}
textarea {
width: 100%;
font-size: 16px;
}
input {
font-size: 16px;
}
content {
line-height: 1.6;
}
table {
width: 100%;
}
img {
max-width: 100%;
}
code {
padding: 2px 5px;
background-color: #f2f2f2;
}
pre code {
color: #222;
display: block;
padding: 20px;
white-space: pre-wrap;
font-size: 14px;
}
div.highlight pre {
background-color: initial;
color: initial;
}
div.highlight code {
background-color: unset;
color: unset;
}
blockquote {
border-left: 1px solid #999;
color: #222;
padding-left: 20px;
font-style: italic;
}
footer {
padding: 0px;
text-align: left;
}
.helptext {
color: #777;
font-size: small;
}
.errorlist {
color: #eba613;
font-size: small;
}
/* blog posts */
ul.blog-posts {
list-style-type: none;
padding: unset;
}
ul.blog-posts li {
display: flex;
}
ul.blog-posts li span {
flex: 0 0 130px;
}
ul.blog-posts li a:visited {
color: #8b6fcb;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #333;
color: #ddd;
}
h1,
h2,
h3,
h4,
h5,
h6,
strong,
b {
color: #eee;
}
a {
color: #8cc2dd;
}
code {
background-color: #777;
}
pre code {
color: #ddd;
}
blockquote {
color: #ccc;
}
textarea,
input {
background-color: #252525;
color: #ddd;
}
.helptext {
color: #aaa;
}
}
/* Override this file to customise the theme's CSS for your site */
/* Format the accordion */
details {
padding: .6rem 1rem;
background: var(--accent);
border: 1px solid;
border-radius: 5px;
margin-bottom: 1rem;
}
details.red-notice {
background: var(--notice-red-bg);
border-color: var(--notice-red-border);
}
.red-notice h2 {
margin: 0;
}
summary {
cursor: pointer;
font-weight: bold;
}
details[open] {
padding-bottom: .75rem;
}
details[open] summary {
margin-bottom: .5rem;
}
details[open]>*:last-child {
margin-bottom: 0;
}
img {
max-width: 100%;
display: block;
margin: 0 auto;
}
</style>

@ -0,0 +1,2 @@
User-Agent: *
Sitemap: {{ "sitemap.xml" | absURL }}

197
package-lock.json generated

@ -0,0 +1,197 @@
{
"name": "hugo-bearblog",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"abbrev": {
"version": "1.1.1",
"resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz",
"integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==",
"dev": true
},
"balanced-match": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz",
"integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==",
"dev": true
},
"brace-expansion": {
"version": "1.1.11",
"resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz",
"integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==",
"dev": true,
"requires": {
"balanced-match": "^1.0.0",
"concat-map": "0.0.1"
}
},
"commander": {
"version": "2.20.3",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
"integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
"dev": true
},
"concat-map": {
"version": "0.0.1",
"resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz",
"integrity": "sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=",
"dev": true
},
"config-chain": {
"version": "1.1.13",
"resolved": "https://registry.npmjs.org/config-chain/-/config-chain-1.1.13.tgz",
"integrity": "sha512-qj+f8APARXHrM0hraqXYb2/bOVSV4PvJQlNZ/DVj0QrmNM2q2euizkeuVckQ57J+W0mRH6Hvi+k50M4Jul2VRQ==",
"dev": true,
"requires": {
"ini": "^1.3.4",
"proto-list": "~1.2.1"
}
},
"editorconfig": {
"version": "0.15.3",
"resolved": "https://registry.npmjs.org/editorconfig/-/editorconfig-0.15.3.tgz",
"integrity": "sha512-M9wIMFx96vq0R4F+gRpY3o2exzb8hEj/n9S8unZtHSvYjibBp/iMufSzvmOcV/laG0ZtuTVGtiJggPOSW2r93g==",
"dev": true,
"requires": {
"commander": "^2.19.0",
"lru-cache": "^4.1.5",
"semver": "^5.6.0",
"sigmund": "^1.0.1"
}
},
"fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
"integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8=",
"dev": true
},
"glob": {
"version": "7.2.0",
"resolved": "https://registry.npmjs.org/glob/-/glob-7.2.0.tgz",
"integrity": "sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q==",
"dev": true,
"requires": {
"fs.realpath": "^1.0.0",
"inflight": "^1.0.4",
"inherits": "2",
"minimatch": "^3.0.4",
"once": "^1.3.0",
"path-is-absolute": "^1.0.0"
}
},
"inflight": {
"version": "1.0.6",
"resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz",
"integrity": "sha1-Sb1jMdfQLQwJvJEKEHW6gWW1bfk=",
"dev": true,
"requires": {
"once": "^1.3.0",
"wrappy": "1"
}
},
"inherits": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
"integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==",
"dev": true
},
"ini": {
"version": "1.3.8",
"resolved": "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz",
"integrity": "sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==",
"dev": true
},
"js-beautify": {
"version": "1.14.2",
"resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.2.tgz",
"integrity": "sha512-H85kX95a53os+q1OCqtYe8AXAmgy3BvtysA/V83S3fdhznm6WlUpGi14DqSPbKFsL3dXZFXYl7YQwW9U1+76ng==",
"dev": true,
"requires": {
"config-chain": "^1.1.12",
"editorconfig": "^0.15.3",
"glob": "^7.1.3",
"nopt": "^5.0.0"
}
},
"lru-cache": {
"version": "4.1.5",
"resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-4.1.5.tgz",
"integrity": "sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==",
"dev": true,
"requires": {
"pseudomap": "^1.0.2",
"yallist": "^2.1.2"
}
},
"minimatch": {
"version": "3.1.2",
"resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz",
"integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==",
"dev": true,
"requires": {
"brace-expansion": "^1.1.7"
}
},
"nopt": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/nopt/-/nopt-5.0.0.tgz",
"integrity": "sha512-Tbj67rffqceeLpcRXrT7vKAN8CwfPeIBgM7E6iBkmKLV7bEMwpGgYLGv0jACUsECaa/vuxP0IjEont6umdMgtQ==",
"dev": true,
"requires": {
"abbrev": "1"
}
},
"once": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz",
"integrity": "sha1-WDsap3WWHUsROsF9nFC6753Xa9E=",
"dev": true,
"requires": {
"wrappy": "1"
}
},
"path-is-absolute": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz",
"integrity": "sha1-F0uSaHNVNP+8es5r9TpanhtcX18=",
"dev": true
},
"proto-list": {
"version": "1.2.4",
"resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz",
"integrity": "sha1-IS1b/hMYMGpCD2QCuOJv85ZHqEk=",
"dev": true
},
"pseudomap": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz",
"integrity": "sha1-8FKijacOYYkX7wqKw0wa5aaChrM=",
"dev": true
},
"semver": {
"version": "5.7.1",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz",
"integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==",
"dev": true
},
"sigmund": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/sigmund/-/sigmund-1.0.1.tgz",
"integrity": "sha1-P/IfGYytIXX587eBhT/ZTQ0ZtZA=",
"dev": true
},
"wrappy": {
"version": "1.0.2",
"resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
"integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
"dev": true
},
"yallist": {
"version": "2.1.2",
"resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz",
"integrity": "sha1-HBH5IY8HYImkfdUS+TxmmaaoHVI=",
"dev": true
}
}
}

@ -0,0 +1,28 @@
{
"name": "hugo-bearblog",
"private": true,
"version": "1.0.0",
"description": "🧸 A [Hugo](https://gohugo.io/)-theme based on [Bear Blog](https://bearblog.dev).",
"main": "index.js",
"devDependencies": {
"js-beautify": "^1.14.2"
},
"scripts": {
"test": "npm run beautify",
"beautify": "js-beautify layouts/**/*.html -r"
},
"repository": {
"type": "git",
"url": "git+https://github.com/janraasch/hugo-bearblog.git"
},
"author": {
"name": "Jan Raasch",
"email": "jan@janraasch.com",
"url": "https://www.janraasch.com"
},
"license": "MIT",
"bugs": {
"url": "https://github.com/janraasch/hugo-bearblog/issues"
},
"homepage": "https://github.com/janraasch/hugo-bearblog#readme"
}
Loading…
Cancel
Save