Open AntoineGlacet opened 4 months ago
can you provide the relevant urls?
{{ $viewURL := printf "%s/src/branch/%s" .repo.url .repo_path -}}
{{ $editURL := printf "%s/_edit/%s" .repo.url .repo_path -}}
{{ $issuesURL := printf "%s/issues/new?title=%s" .repo.url (safeURL $.Title ) -}}
{{ $newPageStub := resources.Get "stubs/new-page-template.md" -}}
{{ $newPageQS := querify "value" $newPageStub.Content "filename" "change-me.md" | safeURL -}}
{{ $newPageURL := printf "%s/_new/%s?%s" .repo.url (path.Dir .repo_path) $newPageQS }}
{{ $project_issueURL := printf "%s/issues/new" .repo.project_url -}}
What does it need between the double quotes to make the correct urls?
I have to work from Bitbucket and sadly, the Repository links feature does not work out of the box. Ideally, hugo.toml would have a section like below: