Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: thegeeklab/hugo-geekdoc
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.4.1
Choose a base ref
...
head repository: thegeeklab/hugo-geekdoc
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.5.0
Choose a head ref
  • 12 commits
  • 24 files changed
  • 3 contributors

Commits on Feb 17, 2025

  1. chore(deps): update devdeps non-major (#974)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 17, 2025
    Copy the full SHA
    5ae5239 View commit details
  2. chore(deps): lock file maintenance (#975)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 17, 2025
    Copy the full SHA
    4ddd98d View commit details

Commits on Feb 20, 2025

  1. fix(deps): update dependency uuid to v11.1.0 (#976)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 20, 2025
    Copy the full SHA
    a4ac261 View commit details
  2. chore(deps): bump dompurify from 3.2.3 to 3.2.4 (#979)

    Bumps [dompurify](https://github.com/cure53/DOMPurify) from 3.2.3 to 3.2.4.
    - [Release notes](https://github.com/cure53/DOMPurify/releases)
    - [Commits](cure53/DOMPurify@3.2.3...3.2.4)
    
    ---
    updated-dependencies:
    - dependency-name: dompurify
      dependency-type: indirect
    ...
    
    Signed-off-by: dependabot[bot] <support@github.com>
    Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
    dependabot[bot] authored Feb 20, 2025
    Copy the full SHA
    5b69d29 View commit details
  3. chore(deps): update dependency globals to v16 (#977)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 20, 2025
    Copy the full SHA
    e596544 View commit details

Commits on Feb 26, 2025

  1. chore(deps): update devdeps non-major (#980)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 26, 2025
    Copy the full SHA
    c574a8e View commit details

Commits on Feb 27, 2025

  1. Copy the full SHA
    ef12999 View commit details
  2. chore(deps): update quay.io/thegeeklab/hugo docker tag to v0.144 (#981)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 27, 2025
    Copy the full SHA
    7bed6cd View commit details

Commits on Feb 28, 2025

  1. chore(deps): update dependency copy-webpack-plugin to v13 (#982)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Feb 28, 2025
    Copy the full SHA
    34d0bcf View commit details

Commits on Mar 1, 2025

  1. Copy the full SHA
    3d695d8 View commit details
  2. Copy the full SHA
    b6d6abe View commit details
  3. Copy the full SHA
    9fd43f8 View commit details
2 changes: 1 addition & 1 deletion .woodpecker/docs.yml
Original file line number Diff line number Diff line change
@@ -44,7 +44,7 @@ steps:
- event: [pull_request]

- name: build
image: quay.io/thegeeklab/hugo:0.143
image: quay.io/thegeeklab/hugo:0.144
commands:
- hugo --panicOnWarning -s exampleSite/

2 changes: 1 addition & 1 deletion .woodpecker/test.yml
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ steps:
FORCE_COLOR: "true"

- name: testbuild
image: quay.io/thegeeklab/hugo:0.143
image: quay.io/thegeeklab/hugo:0.144
depends_on: [assets]
commands:
- mkdir -p exampleSite/themes/ && ln -s $(pwd)/ exampleSite/themes/${CI_REPO_NAME}
20 changes: 10 additions & 10 deletions exampleSite/content/en/shortcodes/audio/_index.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
---
title: Audio
resources:
- name: risen
src: "risen.mp3"
title: Risen
- name: diamonds-trap
src: "diamonds-trap.mp3"
title: Diamonds Trap
params:
credits: "[Sascha Ende on filmmusic.io](https://filmmusic.io/en/song/12856-risen)"
credits: "[Jakob Eglmeier on openmusic.academy CC0-1.0](https://openmusic.academy/media-library/b9do2E2ZwVCfppyBf2yuej)"
---

The audio shortcode allows you to embed audio files.
@@ -19,14 +19,14 @@ Define your resources in the page front matter, custom parameter `params.credits
```md
---
resources:
- name: risen
src: "risen.mp3"
title: Risen
- name: diamonds-trap
src: "diamonds-trap.mp3"
title: Diamonds Trap
params:
credits: "[Sascha Ende on filmmusic.io](https://filmmusic.io/en/song/12856-risen)"
credits: "[Jakob Eglmeier on openmusic.academy CC0-1.0](https://openmusic.academy/media-library/b9do2E2ZwVCfppyBf2yuej)"
---

{{</* audio name="risen" */>}}
{{</* audio name="diamonds-trap" */>}}
```

### Attributes
@@ -43,6 +43,6 @@ resources:

<!-- spellchecker-disable -->

{{< audio name="risen" >}}
{{< audio name="diamonds-trap" >}}

<!-- spellchecker-enable -->
Binary file not shown.
Binary file not shown.
4 changes: 4 additions & 0 deletions layouts/_default/baseof.html
Original file line number Diff line number Diff line change
@@ -22,6 +22,10 @@
</head>

<body itemscope itemtype="https://schema.org/WebPage">
<div class="w-full flex justify-center">
<a href="#main-content" id="gdoc-to-main" class="gdoc-markdown__link">Skip to main content</a>
</div>

{{ partial "svg-icon-symbols" . }}


1 change: 1 addition & 0 deletions layouts/_default/list.html
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@

<article
class="gdoc-markdown gdoc-markdown__align--{{ default "left" (.Page.Params.geekdocAlign | lower) }}"
id="main-content" tabindex="-1"
>
<h1>{{ partial "utils/title" . }}</h1>
{{ partial "utils/content" . }}
1 change: 1 addition & 0 deletions layouts/_default/single.html
Original file line number Diff line number Diff line change
@@ -4,6 +4,7 @@

<article
class="gdoc-markdown gdoc-markdown__align--{{ default "left" (.Page.Params.geekdocAlign | lower) }}"
id="main-content" tabindex="-1"
>
<h1>{{ partial "utils/title" . }}</h1>
{{ partial "page-metadata" . }}
2 changes: 2 additions & 0 deletions layouts/_default/taxonomy.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{ define "main" }}
<div id="main-content" tabindex="-1">
{{ range .Paginator.Pages }}
<article class="gdoc-post">
<header class="gdoc-post__header">
@@ -31,6 +32,7 @@ <h1 class="gdoc-post__title">
</footer>
</article>
{{ end }}
</div>
{{ partial "pagination.html" . }}
{{ end }}

2 changes: 2 additions & 0 deletions layouts/_default/terms.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{ define "main" }}
<div id="main-content" tabindex="-1">
{{ range .Paginator.Pages.ByTitle }}
<article class="gdoc-post">
<header class="gdoc-post__header">
@@ -28,5 +29,6 @@ <h1 class="gdoc-post__title">
</footer>
</article>
{{ end }}
</div>
{{ partial "pagination.html" . }}
{{ end }}
2 changes: 2 additions & 0 deletions layouts/posts/list.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{{ define "main" }}
<div id="main-content" tabindex="-1">
{{ range .Paginator.Pages }}
<article class="gdoc-markdown gdoc-post">
<header class="gdoc-post__header">
@@ -29,6 +30,7 @@ <h1 class="gdoc-post__title">
</footer>
</article>
{{ end }}
</div>
{{ partial "pagination.html" . }}
{{ end }}

2 changes: 1 addition & 1 deletion layouts/posts/single.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{{ define "main" }}
<article class="gdoc-post">
<article class="gdoc-post" id="main-content" tabindex="-1">
<header class="gdoc-post__header">
<h1 class="gdoc-post__title">{{ partial "utils/title" . }}</h1>
<div class="flex flex-wrap align-center gdoc-post__meta gdoc-post__meta--head">
2 changes: 1 addition & 1 deletion layouts/shortcodes/columns.html
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@
{{- end }}


<div class="gdoc-columns gdoc-columns--{{ $size }} flex flex-gap flex-mobile-column">
<div class="gdoc-columns gdoc-columns--{{ $size }} flex gap-16 flex-mobile-column">
{{- range split .Inner "<--->" }}
<div class="gdoc-columns__content gdoc-markdown--nested flex-even">
{{ . | $.Page.RenderString -}}
5 changes: 3 additions & 2 deletions layouts/shortcodes/hint.html
Original file line number Diff line number Diff line change
@@ -4,12 +4,13 @@


<blockquote class="gdoc-hint {{ $type | lower }}">
<div class="gdoc-hint__title flex align-center">
<div class="gdoc-hint__title flex gap-8 align-center">
{{- with $icon -}}
<svg class="gdoc-icon {{ . }}"><use xlink:href="#{{ . }}"></use></svg>
<span>{{ $title }}</span>
{{- else -}}
<i class="fa {{ $type | lower }}" title="{{ $title }}"></i>
<i class="fa {{ $type | lower }}"></i>
<span>{{ $title }}</span>
{{- end -}}
</div>
<div class="gdoc-hint__text">{{ .Inner | $.Page.RenderString }}</div>
Loading