Template: Home page
Implement the Docs homepage as a Hugo template that pulls in YAML content.
Requires #15 (closed) for the featured content area at the top of the page.
We'll mostly be working on this file: themes/gitlab-docs/layouts/_default/home.html
. We may want to create partials for the different sections of the page (e.g, one for the tabs area, one for the install content, one for reference architectures, etc).
The tabbed content area and the contribute/solutions items should be editable via a YAML file (like the current site). Other links can be hard-coded in the template (unlike the current site).
Nanoc version
These might be useful for reference, but won't be usable without modifications:
- Templates:
- Tabs component:
- Data file: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/content/_data/landing.yaml?ref_type=heads
- Homepage CSS: https://gitlab.com/gitlab-org/gitlab-docs/-/blob/main/content/assets/stylesheets/_landing.scss?ref_type=heads
Edited by Sarah German