diff --git a/docs/layouts/partials/page-meta-links.html b/docs/layouts/partials/page-meta-links.html index 06b57245d..2e117191d 100644 --- a/docs/layouts/partials/page-meta-links.html +++ b/docs/layouts/partials/page-meta-links.html @@ -19,7 +19,7 @@ {{ end }} {{ $editURL := printf "%s/edit/%s" $gh_repo $gh_repo_path }} {{ $createURL := printf "%s/edit/%s" $gh_repo $gh_repo_path }} - {{ $issuesURL := printf "%s/issues/new?title=%s" $gh_repo (safeURL $.Title )}} + {{ $issuesURL := printf "%s/issues/new/choose" $gh_repo }} {{ $newPageStub := resources.Get "stubs/new-page-template.md" }} {{ $newPageQS := querify "value" $newPageStub.Content "filename" "change-me.md" | safeURL }} {{ $newPageURL := printf "%s/new/%s?%s" $gh_repo $gh_repo_path $newPageQS }} @@ -27,7 +27,7 @@ Edit this page New docs issue {{ if $gh_project_repo }} - {{ $project_issueURL := printf "%s/issues/new" $gh_project_repo }} + {{ $project_issueURL := printf "%s/issues/new/choose" $gh_project_repo }} New project issue {{ end }} diff --git a/docs/layouts/partials/taxonomy_terms_cloud.html b/docs/layouts/partials/taxonomy_terms_cloud.html new file mode 100644 index 000000000..8d120710d --- /dev/null +++ b/docs/layouts/partials/taxonomy_terms_cloud.html @@ -0,0 +1,18 @@ +{{ $context := .context }} +{{ $taxo := .taxo }} +{{ $title := .title }} +{{ if and (isset $context.Site.Taxonomies (lower $taxo)) ($context.Page.IsHome) }} + {{ $taxonomy := index $context.Site.Taxonomies (lower $taxo) }} + {{ if (gt (len $taxonomy) 0)}} +
+ {{ with $title }} +
{{ . }}
+ {{ end }} + +
+ {{ end }} +{{ end }} \ No newline at end of file