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

Blog list layout refactoring #2155

Merged
merged 2 commits into from
Jan 7, 2025

Conversation

chalin
Copy link
Collaborator

@chalin chalin commented Jan 7, 2025

  • Mainly refactors layouts/blog/list.html by replacing the two consecutive {{- if .Pages -}} by a single if, suppressing the <div> when there are no pages, rather than showing empty divs.
  • In preparation for Display content of blog index or blog-section index #1787
  • There are at most whitespace changes in the generated UG pages:
    $ pwd
    /.../docsy/userguide
    $ (cd public && git diff -bw --ignore-blank-lines)
    $

@chalin chalin merged commit 6c22754 into google:main Jan 7, 2025
11 checks passed
@chalin chalin deleted the chalin-im-blog-content-2025-01-07 branch January 7, 2025 22:04
@chalin chalin added this to the 25Q1 milestone Jan 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant