diff --git a/layouts/partials/page-meta-links.html b/layouts/partials/page-meta-links.html index af9959ba..d22bc55b 100644 --- a/layouts/partials/page-meta-links.html +++ b/layouts/partials/page-meta-links.html @@ -38,10 +38,13 @@ {{ $newPageQS := querify "value" $newPageStub.Content "filename" "change-me.md" | safeURL -}} {{ $newPageURL := printf "%s/new/%s?%s" $gh_repo $gh_repo_path $newPageQS -}} + {{ $discussionsURL := printf "%s/discussions?discussions_q=%s" $gh_repo (safeURL $.Title ) -}} + {{ T "post_view_this" }} {{ T "post_edit_this" }} {{ T "post_create_child_page" }} - {{ T "post_create_issue" }} + Create Issue + Discussions {{ with $gh_project_repo -}} {{ $project_issueURL := printf "%s/issues/new" . -}} {{ T "post_create_project_issue" }}