diff options
-rw-r--r-- | .github/dependabot.yml | 14 | ||||
-rw-r--r-- | .github/stale.yml | 17 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 2 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | .jsbeautifyrc | 27 | ||||
-rw-r--r-- | archetypes/blog.md | 13 | ||||
-rw-r--r-- | archetypes/default.md | 22 | ||||
-rw-r--r-- | assets/style.css | 219 | ||||
-rw-r--r-- | layouts/_default/baseof.html | 5 | ||||
-rw-r--r-- | layouts/_default/list.html | 28 | ||||
-rw-r--r-- | layouts/_default/single.html | 6 | ||||
-rw-r--r-- | layouts/i18n/en.toml | 26 | ||||
-rw-r--r-- | layouts/i18n/pt.toml | 26 | ||||
-rw-r--r-- | layouts/partials/footer.html | 6 | ||||
-rw-r--r-- | layouts/partials/header.html | 2 | ||||
-rw-r--r-- | layouts/partials/nav.html | 20 | ||||
-rw-r--r-- | layouts/partials/style.html | 4 | ||||
-rw-r--r-- | layouts/robots.txt | 3 | ||||
-rw-r--r-- | layouts/shortcodes/rawhtml.html | 2 | ||||
-rw-r--r-- | package-lock.json | 183 | ||||
-rw-r--r-- | package.json | 28 |
21 files changed, 321 insertions, 333 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml deleted file mode 100644 index 60a68af..0000000 --- a/.github/dependabot.yml +++ /dev/null @@ -1,14 +0,0 @@ -# see https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates -version: 2 -updates: - # Maintain dependencies for GitHub Actions - - package-ecosystem: "github-actions" - directory: "/" - schedule: - interval: "daily" - - # Maintain dependencies for npm - - package-ecosystem: "npm" - directory: "/" - schedule: - interval: "daily" diff --git a/.github/stale.yml b/.github/stale.yml deleted file mode 100644 index dc90e5a..0000000 --- a/.github/stale.yml +++ /dev/null @@ -1,17 +0,0 @@ -# Number of days of inactivity before an issue becomes stale -daysUntilStale: 60 -# Number of days of inactivity before a stale issue is closed -daysUntilClose: 7 -# Issues with these labels will never be considered stale -exemptLabels: - - pinned - - security -# Label to use when marking an issue as stale -staleLabel: wontfix -# Comment to post when marking an issue as stale. Set to `false` to disable -markComment: > - This issue has been automatically marked as stale because it has not had - recent activity. It will be closed if no further activity occurs. Thank you - for your contributions. -# Comment to post when closing a stale issue. Set to `false` to disable -closeComment: false diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index bba7684..76eae43 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: hugo-version: latest - name: Build local ./exampleSite - run: hugo --minify --gc --destination ../public --source ./exampleSite --themesDir ../.. --baseURL https://janraasch.github.io/hugo-bearblog/ + run: hugo --gc --destination ../public --source ./exampleSite --themesDir ../.. --baseURL https://clente.github.io/hugo-bearcub/ - name: Deploy to GitHub Pages if: github.event_name == 'push' diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 3c3629e..0000000 --- a/.gitignore +++ /dev/null @@ -1 +0,0 @@ -node_modules diff --git a/.jsbeautifyrc b/.jsbeautifyrc deleted file mode 100644 index 4e39ba0..0000000 --- a/.jsbeautifyrc +++ /dev/null @@ -1,27 +0,0 @@ -{ - "indent_size": 2, - "indent_char": " ", - "indent_with_tabs": false, - "editorconfig": false, - "eol": "\n", - "end_with_newline": true, - "indent_level": 0, - "preserve_newlines": true, - "max_preserve_newlines": 10, - "space_in_paren": false, - "space_in_empty_paren": false, - "jslint_happy": false, - "space_after_anon_function": false, - "space_after_named_function": false, - "brace_style": "collapse", - "unindent_chained_methods": false, - "break_chained_methods": false, - "keep_array_indentation": false, - "unescape_strings": false, - "wrap_line_length": 0, - "e4x": false, - "comma_first": false, - "operator_position": "before-newline", - "indent_empty_lines": false, - "templating": ["auto"] -} diff --git a/archetypes/blog.md b/archetypes/blog.md deleted file mode 100644 index e4594c6..0000000 --- a/archetypes/blog.md +++ /dev/null @@ -1,13 +0,0 @@ -+++ -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 }}«. diff --git a/archetypes/default.md b/archetypes/default.md deleted file mode 100644 index e8406b3..0000000 --- a/archetypes/default.md +++ /dev/null @@ -1,22 +0,0 @@ -+++ -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 }}«. diff --git a/assets/style.css b/assets/style.css new file mode 100644 index 0000000..a1e8614 --- /dev/null +++ b/assets/style.css @@ -0,0 +1,219 @@ +/* Bear */ + +body { + font-family: Verdana, sans-serif; + margin: auto; + padding: 20px; + max-width: 720px; + text-align: left; + background-color: #1d1f27; + word-wrap: break-word; + overflow-wrap: break-word; + line-height: 1.5; + color: #c9d1d9; +} + +h1, +h2, +h3, +h4, +h5, +h6, +strong, +b { + color: #eee; +} + +a { + color: #8cc2dd; +} + +.title { + text-decoration: none; + border: 0; +} + +.title span { + font-weight: 400; +} + +nav a { + margin-right: 10px; +} + +textarea { + background-color: #252525; + color: #ddd; + width: 100%; + font-size: 16px; +} + +input { + background-color: #252525; + color: #ddd; + font-size: 16px; +} + +content { + line-height: 1.6; +} + +table { + width: 100%; +} + +img { + max-width: 100%; +} + +code { + padding: 2px 5px; +} + +pre code { + display: block; + padding: 20px; + white-space: pre-wrap; + font-size: 14px; + overflow-x: auto; +} + +blockquote { + border-left: 1px solid #999; + color: #ccc; + padding-left: 20px; + font-style: italic; +} + +footer { + padding: 25px; + text-align: center; +} + +.helptext { + color: #aaa; + 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; + line-height: 2.1; +} + +ul.blog-posts li span { + flex: 0 0 130px; +} + +ul.blog-posts li a:visited { + color: #8b6fcb; +} + +a.blog-tags { + line-height: 2; +} + +.disabled { + color: currentColor; + cursor: not-allowed; + opacity: 0.5; +} + +/* Chroma */ + +/* Background */ .bg { color: #f8f8f2; background-color: #282a36; } +/* PreWrapper */ .chroma { color: #f8f8f2; background-color: #282a36; } +/* Other .chroma .x { } */ +/* Error .chroma .err { } */ +/* CodeLine .chroma .cl { } */ +/* LineLink */ .chroma .lnlinks { outline: none; text-decoration: none; color: inherit } +/* LineTableTD */ .chroma .lntd { vertical-align: top; padding: 0; margin: 0; border: 0; } +/* LineTable */ .chroma .lntable { border-spacing: 0; padding: 0; margin: 0; border: 0; } +/* LineHighlight */ .chroma .hl { background-color: #ffffcc } +/* LineNumbersTable */ .chroma .lnt { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #929292 } +/* LineNumbers */ .chroma .ln { white-space: pre; user-select: none; margin-right: 0.4em; padding: 0 0.4em 0 0.4em;color: #929292 } +/* Line */ .chroma .line { display: flex; } +/* Keyword */ .chroma .k { color: #ff79c6 } +/* KeywordConstant */ .chroma .kc { color: #ff79c6 } +/* KeywordDeclaration */ .chroma .kd { color: #8be9fd; font-style: italic } +/* KeywordNamespace */ .chroma .kn { color: #ff79c6 } +/* KeywordPseudo */ .chroma .kp { color: #ff79c6 } +/* KeywordReserved */ .chroma .kr { color: #ff79c6 } +/* KeywordType */ .chroma .kt { color: #8be9fd } +/* Name .chroma .n { } */ +/* NameAttribute */ .chroma .na { color: #50fa7b } +/* NameBuiltin */ .chroma .nb { color: #8be9fd; font-style: italic } +/* NameBuiltinPseudo .chroma .bp { } */ +/* NameClass */ .chroma .nc { color: #50fa7b } +/* NameConstant .chroma .no { } */ +/* NameDecorator .chroma .nd { } */ +/* NameEntity .chroma .ni { } */ +/* NameException .chroma .ne { } */ +/* NameFunction */ .chroma .nf { color: #50fa7b } +/* NameFunctionMagic .chroma .fm { } */ +/* NameLabel */ .chroma .nl { color: #8be9fd; font-style: italic } +/* NameNamespace .chroma .nn { } */ +/* NameOther .chroma .nx { } */ +/* NameProperty .chroma .py { } */ +/* NameTag */ .chroma .nt { color: #ff79c6 } +/* NameVariable */ .chroma .nv { color: #8be9fd; font-style: italic } +/* NameVariableClass */ .chroma .vc { color: #8be9fd; font-style: italic } +/* NameVariableGlobal */ .chroma .vg { color: #8be9fd; font-style: italic } +/* NameVariableInstance */ .chroma .vi { color: #8be9fd; font-style: italic } +/* NameVariableMagic .chroma .vm { } */ +/* Literal .chroma .l { } */ +/* LiteralDate .chroma .ld { } */ +/* LiteralString */ .chroma .s { color: #f1fa8c } +/* LiteralStringAffix */ .chroma .sa { color: #f1fa8c } +/* LiteralStringBacktick */ .chroma .sb { color: #f1fa8c } +/* LiteralStringChar */ .chroma .sc { color: #f1fa8c } +/* LiteralStringDelimiter */ .chroma .dl { color: #f1fa8c } +/* LiteralStringDoc */ .chroma .sd { color: #f1fa8c } +/* LiteralStringDouble */ .chroma .s2 { color: #f1fa8c } +/* LiteralStringEscape */ .chroma .se { color: #f1fa8c } +/* LiteralStringHeredoc */ .chroma .sh { color: #f1fa8c } +/* LiteralStringInterpol */ .chroma .si { color: #f1fa8c } +/* LiteralStringOther */ .chroma .sx { color: #f1fa8c } +/* LiteralStringRegex */ .chroma .sr { color: #f1fa8c } +/* LiteralStringSingle */ .chroma .s1 { color: #f1fa8c } +/* LiteralStringSymbol */ .chroma .ss { color: #f1fa8c } +/* LiteralNumber */ .chroma .m { color: #bd93f9 } +/* LiteralNumberBin */ .chroma .mb { color: #bd93f9 } +/* LiteralNumberFloat */ .chroma .mf { color: #bd93f9 } +/* LiteralNumberHex */ .chroma .mh { color: #bd93f9 } +/* LiteralNumberInteger */ .chroma .mi { color: #bd93f9 } +/* LiteralNumberIntegerLong */ .chroma .il { color: #bd93f9 } +/* LiteralNumberOct */ .chroma .mo { color: #bd93f9 } +/* Operator */ .chroma .o { color: #ff79c6 } +/* OperatorWord */ .chroma .ow { color: #ff79c6 } +/* Punctuation .chroma .p { } */ +/* Comment */ .chroma .c { color: #7c90d0 } +/* CommentHashbang */ .chroma .ch { color: #7c90d0 } +/* CommentMultiline */ .chroma .cm { color: #7c90d0 } +/* CommentSingle */ .chroma .c1 { color: #7c90d0 } +/* CommentSpecial */ .chroma .cs { color: #7c90d0 } +/* CommentPreproc */ .chroma .cp { color: #ff79c6 } +/* CommentPreprocFile */ .chroma .cpf { color: #ff79c6 } +/* Generic .chroma .g { } */ +/* GenericDeleted */ .chroma .gd { color: #ff5555 } +/* GenericEmph */ .chroma .ge { text-decoration: underline } +/* GenericError .chroma .gr { } */ +/* GenericHeading */ .chroma .gh { font-weight: bold } +/* GenericInserted */ .chroma .gi { color: #50fa7b; font-weight: bold } +/* GenericOutput */ .chroma .go { color: #44475a } +/* GenericPrompt .chroma .gp { } */ +/* GenericStrong .chroma .gs { } */ +/* GenericSubheading */ .chroma .gu { font-weight: bold } +/* GenericTraceback .chroma .gt { } */ +/* GenericUnderline */ .chroma .gl { text-decoration: underline } +/* TextWhitespace .chroma .w { } */ diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 6bce2dc..1f30b5d 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -11,12 +11,13 @@ {{- partial "seo_tags.html" . -}} <meta name="referrer" content="no-referrer-when-downgrade" /> + {{ $css := resources.Get "style.css" | minify }} + <link href="{{ $css.RelPermalink }}" rel="stylesheet"> + {{ 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 --> diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 8b8c14b..6c4f7d0 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,10 +1,10 @@ {{ define "main" }} <content> {{ if .Data.Singular }} - <h3 style="margin-bottom:0">Filtering for "{{ .Title }}"</h3> - <small> - <a href="{{ "/blog" | relURL }}">Remove filter</a> - </small> + <h3 style="margin-bottom:0">{{ i18n "filter" }} "{{ .Title }}"</h3> + <small> + <a href="{{ i18n "posts" }}">{{ i18n "remove" }}</a> + </small> {{ end }} <ul class="blog-posts"> {{ range .Pages }} @@ -16,7 +16,11 @@ </time> </i> </span> - <a href="{{ .Permalink }}">{{ .Title }}</a> + {{ if .Params.link }} + <a href="{{ .Params.link }}">{{ .Title }}</a> + {{ else }} + <a href="{{ .Permalink }}">{{ .Title }}</a> + {{ end }} </li> {{ else }} <li> @@ -26,13 +30,11 @@ </ul> {{ if .Data.Singular }} {{else}} - <small> - <div> - {{ range .Site.Taxonomies.tags }} - <a href="{{ .Page.Permalink }}">#{{ .Page.Title }}</a> - {{ end }} - </div> - </small> - {{ end }} + <div> + {{ range .Site.Taxonomies.tags }} + <a class="blog-tags" href="{{ .Page.Permalink }}">#{{ .Page.Title }}</a> + {{ end }} + </div> + {{ end }} </content> {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 7d57351..40d0b03 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,5 +1,5 @@ {{ define "main" }} -{{ if eq .Type "blog" }}{{ if not .Params.menu }} +{{ if not .Params.menu }} <h1>{{ .Title }}</h1> <p> <i> @@ -8,13 +8,13 @@ </time> </i> </p> -{{ end }}{{ end }} +{{ end }} <content> {{ .Content }} </content> <p> {{ range (.GetTerms "tags") }} - <a href="{{ .Permalink }}">#{{ .LinkTitle }}</a> + <a class="blog-tags" href="{{ .Permalink }}">#{{ .LinkTitle }}</a> {{ end }} </p> {{ end }} diff --git a/layouts/i18n/en.toml b/layouts/i18n/en.toml new file mode 100644 index 0000000..708eb64 --- /dev/null +++ b/layouts/i18n/en.toml @@ -0,0 +1,26 @@ +[home] + other = '/en' + +[posts] + other = '/en/posts' + +[other-lang] + other = "Português 🇧🇷" + +[other-home] + other = "/" + +[reply] + other = 'Reply to ' + +[filter] + other = 'Filtering for' + +[remove] + other = 'Remove filter' + +[stone] + other = 'Made of stone' + +[stone-link] + other = '/en/posts/stone-websites'
\ No newline at end of file diff --git a/layouts/i18n/pt.toml b/layouts/i18n/pt.toml new file mode 100644 index 0000000..d2f2548 --- /dev/null +++ b/layouts/i18n/pt.toml @@ -0,0 +1,26 @@ +[home] + other = '/' + +[posts] + other = '/posts' + +[other-lang] + other = "English 🇺🇸" + +[other-home] + other = "/en" + +[reply] + other = 'Resposta a ' + +[filter] + other = 'Filtrando para' + +[remove] + other = 'Remover filtro' + +[stone] + other = 'Feito de pedra' + +[stone-link] + other = '/posts/sites-de-pedra'
\ No newline at end of file diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 8eca955..83a3214 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -1 +1,5 @@ -{{ if ne .Site.Params.hideMadeWithLine true }}Made with <a href="https://github.com/janraasch/hugo-bearblog/">Hugo ʕ•ᴥ•ʔ Bear</a>{{ end }} +{{ if ne .Site.Params.hideMadeWithLine true }} + <small> + {{ .Site.Copyright }} | <a href="{{ i18n "stone-link" }}">{{ i18n "stone" }}</a> + </small> +{{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index e47df70..ba8e9ec 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -1,4 +1,4 @@ -<a href="{{ "/" | relURL }}" class="title"> +<a href="{{ i18n "home" | relURL }}" class="title"> <h2>{{ .Site.Title }}</h2> </a> <nav>{{- partial "nav.html" . -}}</nav> diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html index def9b6e..951e433 100644 --- a/layouts/partials/nav.html +++ b/layouts/partials/nav.html @@ -1,7 +1,15 @@ -<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> +<a href={{ i18n "home" | relURL }}>Home</a> +<a href={{ i18n "posts" }}>Blog</a> +<a href="mailto:c@lente.dev?subject={{ i18n "reply" }}'{{ .Page.Title | default .Site.Title }}'">Email</a> +<a href="/index.xml">RSS</a> + +{{ $pageLang := .Page.Lang }} +{{ if .IsTranslated }} + {{ range .Translations }} + {{ if ne $pageLang .Lang }} + <a href="{{ .Permalink }}">{{ i18n "other-lang" }}</a> + {{ end }} + {{ end }} +{{ else }} + <a class="disabled" href="">{{ i18n "other-lang" }}</a> {{ end }} diff --git a/layouts/partials/style.html b/layouts/partials/style.html index 122a641..6ac5bc7 100644 --- a/layouts/partials/style.html +++ b/layouts/partials/style.html @@ -126,6 +126,10 @@ color: #8b6fcb; } + h3.blog-filter { + margin-bottom: 0; + } + @media (prefers-color-scheme: dark) { body { background-color: #333; diff --git a/layouts/robots.txt b/layouts/robots.txt index 0326f5c..4f4ca44 100644 --- a/layouts/robots.txt +++ b/layouts/robots.txt @@ -1,2 +1,3 @@ -User-Agent: * +User-agent: * +Allow: / Sitemap: {{ "sitemap.xml" | absURL }} diff --git a/layouts/shortcodes/rawhtml.html b/layouts/shortcodes/rawhtml.html new file mode 100644 index 0000000..520ec17 --- /dev/null +++ b/layouts/shortcodes/rawhtml.html @@ -0,0 +1,2 @@ +<!-- raw html --> +{{.Inner}}
\ No newline at end of file diff --git a/package-lock.json b/package-lock.json deleted file mode 100644 index 6b81090..0000000 --- a/package-lock.json +++ /dev/null @@ -1,183 +0,0 @@ -{ - "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": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "requires": { - "balanced-match": "^1.0.0" - } - }, - "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 - }, - "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": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true - }, - "glob": { - "version": "8.0.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-8.0.3.tgz", - "integrity": "sha512-ull455NHSHI/Y1FqGaaYFaLGkNMMJbavMrEGFXG/PGrg6y7sutWHUHrz6gy6WEBH6akM1M414dWKCNs+IhKdiQ==", - "dev": true, - "requires": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^5.0.1", - "once": "^1.3.0" - } - }, - "inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "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.6", - "resolved": "https://registry.npmjs.org/js-beautify/-/js-beautify-1.14.6.tgz", - "integrity": "sha512-GfofQY5zDp+cuHc+gsEXKPpNw2KbPddreEo35O6jT6i0RVK6LhsoYBhq5TvK4/n74wnA0QbK8gGd+jUZwTMKJw==", - "dev": true, - "requires": { - "config-chain": "^1.1.13", - "editorconfig": "^0.15.3", - "glob": "^8.0.3", - "nopt": "^6.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": "5.1.0", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.0.tgz", - "integrity": "sha512-9TPBGGak4nHfGZsPBohm9AWg6NoT7QTCehS3BIJABslyZbzxfV78QM2Y6+i741OPZIafFAaiiEMh5OyIrJPgtg==", - "dev": true, - "requires": { - "brace-expansion": "^2.0.1" - } - }, - "nopt": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/nopt/-/nopt-6.0.0.tgz", - "integrity": "sha512-ZwLpbTgdhuZUnZzjd7nb1ZV+4DoiC6/sfiVKok72ym/4Tlf+DFdlHYmT2JPmcNNWV6Pi3SDf1kT+A4r9RTuT9g==", - "dev": true, - "requires": { - "abbrev": "^1.0.0" - } - }, - "once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "requires": { - "wrappy": "1" - } - }, - "proto-list": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/proto-list/-/proto-list-1.2.4.tgz", - "integrity": "sha512-vtK/94akxsTMhe0/cbfpR+syPuszcuwhqVjJq26CuNDgFGj682oRBXOP5MJpv2r7JtE8MsiepGIqvvOTBwn2vA==", - "dev": true - }, - "pseudomap": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", - "integrity": "sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==", - "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": "sha512-fCvEXfh6NWpm+YSuY2bpXb/VIihqWA6hLsgboC+0nl71Q7N7o2eaCW8mJa/NLvQhs6jpd3VZV4UiUQlV6+lc8g==", - "dev": true - }, - "wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true - }, - "yallist": { - "version": "2.1.2", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-2.1.2.tgz", - "integrity": "sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==", - "dev": true - } - } -} diff --git a/package.json b/package.json deleted file mode 100644 index c653d56..0000000 --- a/package.json +++ /dev/null @@ -1,28 +0,0 @@ -{ - "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.6" - }, - "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" -} |