Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a page template func #10755

Merged
merged 1 commit into from
Feb 25, 2023
Merged

Add a page template func #10755

merged 1 commit into from
Feb 25, 2023

Conversation

bep
Copy link
Member

@bep bep commented Feb 25, 2023

Fixes #9339

Needs tests for

  • entry template (e.g. single.html)
  • paginated page
  • alias (page will return the Page that has defined the alias)
  • 404.html
  • robots
  • sitemap
  • sitemaps (no Page here in the multilingual index file)
  • shortcode both delims
  • shortcode in bundled page
  • nested shortcode
  • inline shortcode
  • RenderString
  • Render
  • Hook link
  • Hook image
  • Hook heading
  • partial
  • resources.ExecuteAsTemplate

@bep bep force-pushed the feat/global-page-9339 branch 6 times, most recently from 36d6c21 to ebf0ce4 Compare February 25, 2023 17:24
@bep bep force-pushed the feat/global-page-9339 branch from ebf0ce4 to fc250eb Compare February 25, 2023 17:34
@bep bep marked this pull request as ready for review February 25, 2023 17:45
@bep bep merged commit ce524d0 into gohugoio:master Feb 25, 2023
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 26, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add page template function
1 participant