How to move the "generator" to right side of footer #8003
santaimpersonator
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Result
This is definitely use case specific for our needs, but in case anyone else is also interested:

Reasoning for Use
In our
mkdocs.yml
configuration file, we include our street address with our company name and copyright. (This was mostly to match our website)This makes the footer uneven, when the "generator" is displayed:

Modification
This is accomplished through the use of modifications to the partials
*.html
files in the/overrides/partials
directory:copyright.html
socials.html
create
generator.html
Implementation of Feature
In the
mkdocs.yml
configuration file, users can provide three values for thegenerator
argument, which includes the functionality from the original implementationtrue
false
right
By declaring the
right
value, the generator will now relocate to beneath the social icons:Considerations
Something for users to consider, this implementation also changes how the footer appears on mobile devices. Examples, are shown in the table below:
right
valueBeta Was this translation helpful? Give feedback.
All reactions