Skip to content

Commit

Permalink
Merge pull request #1109 from gethinode/develop
Browse files Browse the repository at this point in the history
Fix reference to base URL in links
  • Loading branch information
markdumay authored Aug 16, 2024
2 parents 7413155 + 82c1d00 commit f3211ea
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions layouts/partials/assets/link.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

<!-- Initialize arguments -->
{{ $destination := strings.TrimPrefix (strings.TrimSuffix "/" site.BaseURL) .destination }}
{{ if not $destination }}{{ $destination = "/" }}{{ end }}

{{- $target := "" -}}
{{- $rel := "" -}}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gethinode/hinode",
"version": "0.26.1",
"version": "0.26.2",
"description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator",
"keywords": [
"hugo",
Expand Down

0 comments on commit f3211ea

Please sign in to comment.