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

Enable inverting homepage section styling #113

Merged
merged 4 commits into from
Mar 21, 2023
Merged

Conversation

nai888
Copy link
Contributor

@nai888 nai888 commented Mar 21, 2023

Add invert Param to the config file. Add the 'odd' class to the post-holders and the 'even' class to the post-afters using Hugo IF statements instead of using JS. Marking invert = true in the config file flips which sections are marked odd and even.

Addresses #107.

Add invert Param to the config file. Add the 'odd' class to the
post-holders and the 'even' class to the post-afters using Hugo if
statements instead of using JS. Marking invert = true in the config file
flips which sections are marked odd and even.
layouts/index.html Outdated Show resolved Hide resolved
exampleSite/config.toml Outdated Show resolved Hide resolved
@nai888 nai888 requested a review from zjedi March 21, 2023 21:12
@zjedi zjedi merged commit 3a818c2 into zjedi:master Mar 21, 2023
@zjedi
Copy link
Owner

zjedi commented Mar 21, 2023

@nai888 Thanks for contributing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants