Skip to content
This repository has been archived by the owner on Mar 5, 2023. It is now read-only.

Commit

Permalink
docs/templates/_footer: horizontally center footer text in page
Browse files Browse the repository at this point in the history
Our navigation bars and page content are all horizontally centered, thus
it makes sense to center the footer text as well.
  • Loading branch information
pyokagan committed Jul 5, 2018
1 parent dbad417 commit 714e503
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions docs/templates/_footer.html.slim
@@ -1,11 +1,12 @@
/ NOTE: You must restart the gradle daemon after modifying any template file for the changes to take effect.
#footer
#footer-text
- if attr? :revnumber
|#{attr 'version-label'} #{attr :revnumber}
- if attr? :revnumber && (attr? 'last-update-label')
br
- if attr? 'last-update-label'
|#{attr 'last-update-label'} #{attr :docdatetime}
- unless (docinfo_content = (docinfo :footer)).empty?
=docinfo_content
.container
#footer-text
- if attr? :revnumber
|#{attr 'version-label'} #{attr :revnumber}
- if attr? :revnumber && (attr? 'last-update-label')
br
- if attr? 'last-update-label'
|#{attr 'last-update-label'} #{attr :docdatetime}
- unless (docinfo_content = (docinfo :footer)).empty?
=docinfo_content

0 comments on commit 714e503

Please sign in to comment.