mirror of
https://github.com/gethinode/hinode.git
synced 2025-10-07 10:04:22 +00:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
73446e5580 | ||
![]() |
223ae24416 | ||
![]() |
4167cf1695 | ||
![]() |
cf98b4d067 |
@@ -1,6 +1,6 @@
|
||||
{{- define "partials/header.html" -}}
|
||||
{{ if site.Params.navigation.breadcrumb }}{{ partial "breadcrumb.html" . }}{{ end -}}
|
||||
{{ if eq .Layout "docs"}}
|
||||
{{ if in (slice "docs" "minimal") .Layout }}
|
||||
<h1>{{ .Title }}</h1>
|
||||
{{ else }}
|
||||
{{ $lastmodstr := (partial "utilities/date.html" (dict "date" .Lastmod "format" "long")) -}}
|
||||
@@ -115,4 +115,4 @@
|
||||
</div>
|
||||
</div>
|
||||
{{ end -}}
|
||||
{{ end -}}
|
||||
{{ end -}}
|
@@ -1,6 +1,7 @@
|
||||
<!--
|
||||
Displays a button. The shortcode supports the following arguments:
|
||||
"href" Optional address for the button or hyperlink. Automatically assigned when using collapse.
|
||||
"relref" Optional name of the page to link to. Replaces "href" with a relative link if set.
|
||||
"id" Optional id of the button, to be used in the DOM.
|
||||
"state" Optional state of the button, either "enabled" (default), "disabled", "active", or "inactive".
|
||||
"size" Optional size of the button, either "sm", "md" (default), or "lg".
|
||||
@@ -62,7 +63,11 @@
|
||||
{{ $tooltip := .Get "tooltip" -}}
|
||||
{{ $collapse := .Get "collapse" -}}
|
||||
{{ $href := .Get "href" -}}
|
||||
{{ $relref := .Get "relref" }}
|
||||
{{ $id := .Get "id" -}}
|
||||
{{ if $relref }}
|
||||
{{ $href = relref . $relref }}
|
||||
{{ end }}
|
||||
|
||||
{{ $placement := "top" -}}
|
||||
{{ with .Get "placement" }}{{ $placement = . }}{{ end -}}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@gethinode/hinode",
|
||||
"version": "0.8.3",
|
||||
"version": "0.8.4",
|
||||
"description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator",
|
||||
"keywords": [
|
||||
"hugo",
|
||||
|
Reference in New Issue
Block a user