Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ttntm/hugo-landing-page
A simple landing page built with Hugo and Tailwind CSS
https://github.com/ttntm/hugo-landing-page
hugo hugo-theme landing-page single-page-site tailwind-css
Last synced: 14 days ago
JSON representation
A simple landing page built with Hugo and Tailwind CSS
- Host: GitHub
- URL: https://github.com/ttntm/hugo-landing-page
- Owner: ttntm
- License: mit
- Created: 2020-07-15T14:14:40.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-02-14T08:41:10.000Z (9 months ago)
- Last Synced: 2024-10-14T08:29:13.624Z (27 days ago)
- Topics: hugo, hugo-theme, landing-page, single-page-site, tailwind-css
- Language: HTML
- Homepage: https://awesome.ttntm.me
- Size: 90.8 KB
- Stars: 109
- Watchers: 3
- Forks: 43
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- awesome-hugo - Hugo Landing Page
README
# hugo-landing-page
A simple landing page built with Hugo and Tailwind CSS
**Other versions**
- [11ty](https://github.com/ttntm/11ty-landing-page)
- [Astro](https://github.com/ttntm/astro-landing-page)## How to use this template
**Requirements:**
1. Hugo (developed and tested with version 0.58.0)
2. Tailwind CSS
3. gulpAll other dependencies are either linked from a CDN or included in this repository.
**Setup:**
1. Fork, clone or download
2. `cd` into the root folder
3. run `npm install`
4. run `npm run start`
5. open a browser and go to `http://localhost:1313`**Basic configuration:**
1. Hugo -> `./config.toml`
2. Tailwind -> `./tailwind.config.js`
3. Netlify -> `./netlify.toml`> For better development experience, please have a look at `./tailwind.config.js` and either disable `purge` or comment it - otherwise you'll have a very limited selection of Tailwind classes available.
Keep in mind that `page.css` can be re-built anytime via `gulp css` - no need to make changes to the generated files in `./static/css`.
Please note that `gulp css` _does not_ include that `normalize.css` file used for the 2 regular pages (imprint, privacy).
**Change Content:**
All page content is stored in `./content`.
`./content/sections/` is where each section's content can be found.
The individual tile/card elements for the "Features" screen are stored in `./content/sections/features/`
**Change Templates/Layout:**
Page structure and templates are stored in `./layouts` and can be edited there.
Best have a look at `./layouts/_default/baseof.html` first to understand how it all comes together - the page itself is constructed from partials in `./layouts/partials` and each section has a corresponding template file stored in the folder `./layouts/partials/sections`.
`index.html` in `./layouts` simply arranges everything, i.e. sections can be re-ordered/removed/... there.
**Change images:**
Images are stored in `./static/img`; everything in there can be considered a placeholder that should eventually be replaced with your actual production images.