We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I create content in /post or /blog, the homepage will automatically display the list of posts.
/post
/blog
is there a way to set the homepage not to show the recent post?
thank you for creating this theme.
The text was updated successfully, but these errors were encountered:
I solved this by overriding the layouts/home.html
layouts/home.html
{{ define "content" }} {{ if .Content }} <div class="content-margin"> {{- partial "content.html" (dict "ctx" . "content" .Content) -}} </div> {{ end }} {{ partial "postcard/layout.html" (dict "pages" .Site.RegularPages "ctx" .) }} {{ end }}
and removing this line
{{ partial "postcard/layout.html" (dict "pages" .Site.RegularPages "ctx" .) }}
Sorry, something went wrong.
I think what you want to do is to use Blank layout in home page, which is less hacky than modifying the theme code.
No branches or pull requests
When I create content in
/post
or/blog
, the homepage will automatically display the list of posts.is there a way to set the homepage not to show the recent post?
thank you for creating this theme.
The text was updated successfully, but these errors were encountered: