{"id":13578514,"url":"https://github.com/lumeland/base-blog","last_synced_at":"2025-05-07T18:16:44.592Z","repository":{"id":42972750,"uuid":"324561051","full_name":"lumeland/base-blog","owner":"lumeland","description":"A template repository to build a blog with Lume static site generator","archived":false,"fork":false,"pushed_at":"2024-05-01T11:08:23.000Z","size":4790,"stargazers_count":97,"open_issues_count":3,"forks_count":12,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T09:23:17.016Z","etag":null,"topics":["blog","deno","lume","lume-website","netlify-cms","ssg","static-site-generator"],"latest_commit_sha":null,"homepage":"https://lumeland.github.io/base-blog/","language":"Nunjucks","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lumeland.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-12-26T13:28:33.000Z","updated_at":"2024-10-14T06:35:14.000Z","dependencies_parsed_at":"2023-01-21T00:46:44.933Z","dependency_job_id":"cc388b42-94e7-4af5-a815-1ec33d0982f9","html_url":"https://github.com/lumeland/base-blog","commit_stats":{"total_commits":119,"total_committers":7,"mean_commits":17.0,"dds":0.08403361344537819,"last_synced_commit":"3beca70b2bdbbc52af33b2ffd9f36d37a4059b4f"},"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumeland%2Fbase-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumeland%2Fbase-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumeland%2Fbase-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lumeland%2Fbase-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lumeland","download_url":"https://codeload.github.com/lumeland/base-blog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252931534,"owners_count":21827111,"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":["blog","deno","lume","lume-website","netlify-cms","ssg","static-site-generator"],"created_at":"2024-08-01T15:01:31.306Z","updated_at":"2025-05-07T18:16:44.564Z","avatar_url":"https://github.com/lumeland.png","language":"Nunjucks","funding_links":[],"categories":["Nunjucks"],"sub_categories":[],"readme":"# Lume base blog example\n\nA starter repository showing how to build a blog with the\n[Lume](https://github.com/lumeland/lume) static site generator.\n\nThis project started as a fork of\n[eleventy-base-blog](https://github.com/11ty/eleventy-base-blog) but adapted to\nLume and with the NetlifyCMS.\n\n## Getting Started\n\n1. Make sure you have [Deno installed](https://deno.land/#installation).\n2. Clone this Repository\n   `git clone https://github.com/lumeland/base-blog.git my-blog-name`\n3. Edit `_data/site.yml`. Specifically have a look at `_config.js` to see if you\n   want to configure any option differently. See the\n   [Lume documentation site](https://lume.land/).\n4. Run Lume with `deno task serve`.\n\n### Implementation Notes\n\n- `about.md` shows how to add a content page.\n- `posts/` has the blog posts but really they can live in any directory. The\n  `posts/_data.yml` file adds the value for `type` and `layout` fields to all\n  posts.\n- The `menu` field adds any page to the top level site navigation. For example,\n  this is in use on `index.njk` and `about.md`. You can configure the order with\n  `menu.order` and the text with `menu.title`.\n- `css` files are processed with `postcss` plugin. The imported styles are in\n  `_includes/css`\n- `img` folder is copied as is, (keeping the same directory structure).\n- The blog post feed template is in `feed.xml.njk` and `feed.tmpl.js`.\n- This example uses four layouts stored in `_includes/layouts/`:\n  - `base.njk`: the top level HTML structure\n  - `home.njk`: the home page template (wrapped into `base.njk`)\n  - `post.njk`: the blog post template (wrapped into `base.njk`)\n  - `tag.njk`: the tag page template (wrapped into `base.njk`)\n- `_includes/templates/postlist.njk` is a Nunjucks a reusable template used to\n  display a list of all the posts. `index.njk` has an example of how to use it.\n- `admin/` has the [NetlifyCMS](https://www.netlifycms.org/) configuration so\n  you can edit or create new posts using a friendly CMS.\n\n## Deployment\n\n### GitHub Pages\n\n- [Get your own Lume blog on Github Pages](https://github.com/lumeland/base-blog/generate)\n- Open the file `.github/workflows/build.yml` and edit the `--location` option\n  with the url of the site, for example\n  `--location=https://username.github.io/repo/`\n- Enable Github Pages and select the branch `gh-pages` as source.\n- [See a live demo](https://lumeland.github.io/base-blog/)\n\n### GitLab Pages\n\n- Open the file `.gitlab-ci.yml` and edit the `--location` option with the url\n  of the site, for example `--location=https://username.gitlab.io/repo/`\n- [See a live demo](https://oscarotero.gitlab.io/base-blog/)\n\n### Deno Deploy\n\n- [Create a project in Deno Deploy](https://deno.com/deploy) and configure it.\n  - Link to your git repository\n  - Set the GitHub Actions deployment mode.\n- Open the file `.github/workflows/deno_deploy.yml` and edit the following:\n  - The `--location` option with the url of the site, for example:\n    `--location=https://my-blog.deno.dev`\n  - The project name in the `denoland/deployctl` step with the name of your\n    project.\n- [See a live demo](https://lume-blog.deno.dev)\n\n### Vercel\n\n- [Get your own Lume blog on Vercel](https://vercel.com/new/git/external?repository-url=https://github.com/lumeland/base-blog)\n- You need to config your the project manually with the following values:\n  - **Build Command:**\n    `curl -fsSL https://deno.land/x/install/install.sh | sh \u0026\u0026 /vercel/.deno/bin/deno task build --location=https://example.vercel.app/`.\n    Edit the `--location` option with the name of your domain.\n  - **Output directory:** `_site`\n- [See a live demo](https://lume-blog.vercel.app/)\n\n### Netlify\n\n- [Get your own Lume blog on Netlify](https://app.netlify.com/start/deploy?repository=https://github.com/lumeland/base-blog)\n- Open the `netlify.toml` file and edit the\n  `--location=https://deno-blog.netlify.app/` option with your own domain.\n- [See a live demo](https://lume-blog.netlify.app/)\n- If you want to use NetlifyCMS:\n  - Activate the Identity service in your Netlify settings panel.\n  - Activate the Git Gateway.\n  - Invite the users to edit the content.\n\n### Fleek\n\n- [Import your project](https://app.fleek.co/#/start/connect-repository)\n- Open the `.fleek.json` file and edit the\n  `--location=https://example.on.fleek.co` option with your own domain.\n- [See a live demo](https://lume-blog.on.fleek.co/)\n\n### Cloudflare Pages\n\n- Configure the project with the following values:\n  - **Build Command:**\n    `curl -fsSL https://deno.land/x/install/install.sh | sh \u0026\u0026 /opt/buildhome/.deno/bin/deno task build --location=https://example.pages.dev/`.\n    Edit the `--location` option with the name of your domain.\n  - **Output directory:** `_site`\n- [See a live demo](https://base-blog.pages.dev/)\n\n### AWS Amplify\n\n- Configure the `amplify.yml` file with the following values:\n  ```yml\n  version: 1\n  frontend:\n    phases:\n      build:\n        commands:\n          - curl -fsSL https://deno.land/x/install/install.sh | sh\n          - /root/.deno/bin/deno task build\n    artifacts:\n      baseDirectory: /_site\n      files:\n        - '**/*'\n    cache:\n      paths: []\n  ```\n- [See a live demo](https://master.docjzml5t5if1.amplifyapp.com/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flumeland%2Fbase-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flumeland%2Fbase-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flumeland%2Fbase-blog/lists"}