feat!: remove title case from jumbotron
It is often requested to change the casing of text in the jumbotron heading and subtitle.
While we did have the format_title
param, I think giving the user control over how their text is displayed would be better.
I have never relied on the title case transformation in all the jumbotrons I've made. So, I don't expect this to affect anything significantly.
Merge request reports
Activity
requested review from @cguindon, @malowe, @epoirier, @zacharysabourin, and @oliviergoulet
assigned to @oliviergoulet
Deploy Preview for webdev.eclipse.org-docs-hugo started. Inspect the build logs Deploy Preview for webdev.eclipse.org-docs-hugo is ready [ 2 min 32 sec] Inspect the build logs Test locallydocker run -it --rm -p 18181:8080 docker.io/eclipsefdn/webdev-eclipse-org-docs-hugo:mr-379--1a1a5f9-b3
and open to http://localhost:18181 Browse the preview: https://preview-379--webdev-eclipse-org-docs-hugo.eclipsecontent.org/docs/hugoEdited by Web Dev Bot userA safer approach would be to make this configurable so that we could keep the default behaviour and only disable it on site where we need more control.
I always have concerns when changing a behavior that has been around for a long time. Especially, when we consider we are not the only consumer of this theme.
This can impact a project website.
I think we can add a LESS variable for the Jumbotron heading and subtitle text transform. It can default to
text-transform: capitalize
.Then we can set it to
text-transform: none
for sites which do not want to transform the text.Edited by Olivier Goulet
Deploy Preview for webdev.eclipse.org-docs-hugo is ready [ 1 min 39 sec] Inspect the build logs Test locallydocker run -it --rm -p 18181:8080 docker.io/eclipsefdn/webdev-eclipse-org-docs-hugo:mr-379--5e805f2-b4
and open to http://localhost:18181 Browse the preview: https://preview-379--webdev-eclipse-org-docs-hugo.eclipsecontent.org/docs/hugoEdited by Web Dev Bot user Deploy Preview for webdev.eclipse.org-docs-hugo is ready [ 4 min 34 sec] Inspect the build logs Test locallydocker run -it --rm -p 18181:8080 docker.io/eclipsefdn/webdev-eclipse-org-docs-hugo:mr-379--5c0a3cb-b5
and open to http://localhost:18181 Browse the preview: https://preview-379--webdev-eclipse-org-docs-hugo.eclipsecontent.org/docs/hugoEdited by Web Dev Bot usermentioned in merge request solstice-assets!548 (closed)
Deploy Preview for webdev.eclipse.org-docs-hugo is ready [ 2 min 0 sec] Inspect the build logs Test locallydocker run -it --rm -p 18181:8080 docker.io/eclipsefdn/webdev-eclipse-org-docs-hugo:mr-379--f6600ac-b6
and open to http://localhost:18181 Browse the preview: https://preview-379--webdev-eclipse-org-docs-hugo.eclipsecontent.org/docs/hugoEdited by Web Dev Bot user Deploy Preview for webdev.eclipse.org-docs-hugo is ready [ 2 min 18 sec] Inspect the build logs Test locallydocker run -it --rm -p 18181:8080 docker.io/eclipsefdn/webdev-eclipse-org-docs-hugo:mr-379--c7e6d95-b7
and open to http://localhost:18181 Browse the preview: https://preview-379--webdev-eclipse-org-docs-hugo.eclipsecontent.org/docs/hugoEdited by Web Dev Bot user Deploy Preview for webdev.eclipse.org-docs-hugo is ready [ 2 min 8 sec] Inspect the build logs Test locallydocker run -it --rm -p 18181:8080 docker.io/eclipsefdn/webdev-eclipse-org-docs-hugo:mr-379--8fbc316-b8
and open to http://localhost:18181 Browse the preview: https://preview-379--webdev-eclipse-org-docs-hugo.eclipsecontent.org/docs/hugoEdited by Web Dev Bot user Deploy Preview for webdev.eclipse.org-docs-hugo is ready [ 1 min 41 sec] Inspect the build logs Test locallydocker run -it --rm -p 18181:8080 docker.io/eclipsefdn/webdev-eclipse-org-docs-hugo:mr-379--f5d2e5f-b9
and open to http://localhost:18181 Browse the preview: https://preview-379--webdev-eclipse-org-docs-hugo.eclipsecontent.org/docs/hugoEdited by Web Dev Bot user Deploy Preview for webdev.eclipse.org-docs-hugo is ready [ 2 min 20 sec] Inspect the build logs Test locallydocker run -it --rm -p 18181:8080 docker.io/eclipsefdn/webdev-eclipse-org-docs-hugo:mr-379--f01ba69-b10
and open to http://localhost:18181 Browse the preview: https://preview-379--webdev-eclipse-org-docs-hugo.eclipsecontent.org/docs/hugoEdited by Web Dev Bot user Deploy Preview for webdev.eclipse.org-docs-hugo is ready [ 2 min 2 sec] Inspect the build logs Test locallydocker run -it --rm -p 18181:8080 docker.io/eclipsefdn/webdev-eclipse-org-docs-hugo:mr-379--f3e989c-b11
and open to http://localhost:18181 Browse the preview: https://preview-379--webdev-eclipse-org-docs-hugo.eclipsecontent.org/docs/hugoEdited by Web Dev Bot useradded 8 commits
-
1a1a5f9e...5c82d70a - 6 commits from branch
eclipsefdn/it/webdev:main
- b594649c - feat!: remove title case from jumbotron
- 749e896b - fix: remove end
-
1a1a5f9e...5c82d70a - 6 commits from branch