{"id":14981443,"url":"https://github.com/bep/hugo-starter-tailwind-basic","last_synced_at":"2025-04-13T06:36:22.943Z","repository":{"id":41998884,"uuid":"297613971","full_name":"bep/hugo-starter-tailwind-basic","owner":"bep","description":"A basic and simple to set up Hugo with TailwindCSS starter project.","archived":false,"fork":false,"pushed_at":"2024-06-24T16:58:17.000Z","size":304,"stargazers_count":149,"open_issues_count":5,"forks_count":30,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-03-24T09:45:01.624Z","etag":null,"topics":["hugo","postcss","tailwind","tailwindcss"],"latest_commit_sha":null,"homepage":"https://lucid-nightingale-60a4e2.netlify.app/","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bep.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-09-22T10:26:08.000Z","updated_at":"2025-03-23T14:23:01.000Z","dependencies_parsed_at":"2024-09-24T07:00:32.534Z","dependency_job_id":"30e00d3d-fe74-414c-8aa8-8453e881712d","html_url":"https://github.com/bep/hugo-starter-tailwind-basic","commit_stats":{"total_commits":33,"total_committers":5,"mean_commits":6.6,"dds":"0.12121212121212122","last_synced_commit":"4ce51971e2937c0de3b6f24f9bff531754d93a3c"},"previous_names":[],"tags_count":10,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bep%2Fhugo-starter-tailwind-basic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bep%2Fhugo-starter-tailwind-basic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bep%2Fhugo-starter-tailwind-basic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bep%2Fhugo-starter-tailwind-basic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bep","download_url":"https://codeload.github.com/bep/hugo-starter-tailwind-basic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248675300,"owners_count":21143763,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hugo","postcss","tailwind","tailwindcss"],"created_at":"2024-09-24T14:03:35.140Z","updated_at":"2025-04-13T06:36:22.915Z","avatar_url":"https://github.com/bep.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hugo Basic Starter for TailwindCSS v3.x\n\n[![Netlify Status](https://api.netlify.com/api/v1/badges/5a510ba1-96b4-4834-9a07-913dce4b5061/deploy-status)](https://app.netlify.com/sites/lucid-nightingale-60a4e2/deploys)\n\nA very simple starter set up with [TailwindCSS](https://tailwindcss.com/) and its [typography plugin](https://tailwindcss.com/docs/typography-plugin) and a build setup using [PostCSS](https://postcss.org/) and PurgeCSS (when running the production build).\n\nIn the preview deployment on Netlify it currently has a 100 score on both mobile and desktop on [Google PageSpeed](https://developers.google.com/speed/pagespeed/insights/?url=https%3A%2F%2Flucid-nightingale-60a4e2.netlify.app%2F\u0026tab=mobile).\n\n\nThis setup can be used both as a starter project and a theme.\n\n## As a Project\n\n```bash\nnpm install\nhugo server\n```\n\n## As a Theme\n\nImport `github.com/bep/hugo-starter-tailwind-basic/v3` (use `github.com/bep/hugo-starter-tailwind-basic/v2` if you want/need Tailwind 2.x.) into your project, and then run:\n\n```bash\nhugo mod npm pack\nnpm install\n```\n\nYou need to add (something like) this to your `hugo.toml`:\n\n```toml\n[module]\n  [module.hugoVersion]\n    extended = false\n    min      = \"0.112.0\"\n  [[module.mounts]]\n    source = \"assets\"\n    target = \"assets\"\n  [[module.mounts]]\n    source = \"hugo_stats.json\"\n    target = \"assets/watching/hugo_stats.json\"\n\n[build]\n  writeStats = true\n  [[build.cachebusters]]\n    source = \"assets/watching/hugo_stats\\\\.json\"\n    target = \"styles\\\\.css\"\n  [[build.cachebusters]]\n    source = \"(postcss|tailwind)\\\\.config\\\\.js\"\n    target = \"css\"\n  [[build.cachebusters]]\n    source = \"assets/.*\\\\.(js|ts|jsx|tsx)\"\n    target = \"js\"\n  [[build.cachebusters]]\n    source = \"assets/.*\\\\.(.*)$\"\n    target = \"$1\"\n```\n\nThen run your project as usual.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbep%2Fhugo-starter-tailwind-basic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbep%2Fhugo-starter-tailwind-basic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbep%2Fhugo-starter-tailwind-basic/lists"}