{"id":21833345,"url":"https://github.com/bencodezen/nextjs-blog-theme","last_synced_at":"2026-04-08T16:02:32.722Z","repository":{"id":83449261,"uuid":"460943389","full_name":"bencodezen/nextjs-blog-theme","owner":"bencodezen","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-18T17:25:18.000Z","size":859,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-19T06:40:56.797Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/bencodezen.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":"2022-02-18T17:23:04.000Z","updated_at":"2023-12-05T20:34:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"58212645-d44b-41ca-a0ab-9911242fb115","html_url":"https://github.com/bencodezen/nextjs-blog-theme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/bencodezen/nextjs-blog-theme","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencodezen%2Fnextjs-blog-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencodezen%2Fnextjs-blog-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencodezen%2Fnextjs-blog-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencodezen%2Fnextjs-blog-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bencodezen","download_url":"https://codeload.github.com/bencodezen/nextjs-blog-theme/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bencodezen%2Fnextjs-blog-theme/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31562697,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-11-27T19:30:18.894Z","updated_at":"2026-04-08T16:02:32.700Z","avatar_url":"https://github.com/bencodezen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Netlify Next.js Blog Template designed by Bejamas](github-banner.svg)\n\n[![Deploy to Netlify Button](https://www.netlify.com/img/deploy/button.svg)](https://app.netlify.com/start/deploy?repository=https://github.com/netlify-templates/nextjs-blog-theme)\n\nA customizable blog starter using:\n\n- [Next.js](https://github.com/vercel/next.js) v12\n- [Tailwind](https://tailwindcss.com/) v3.0\n- Built-in [MDX](https://mdxjs.com/) v1 support\n- Includes modern design with dark \u0026 light themes\n\n\u003e 🎉 We’re really excited about the Bejamas + Netlify collaboration and we were going to celebrate it with some swag, but we realized we could put that money into supporting OSS and our ecosystem even more! After all, who needs another t-shirt or sticker?!\n\u003e\n\u003e [Click this link](https://oss-form.netlify.app/) to vote for your favorite Open Source project!\n\n![Preview of blog theme. Author named Jay Doe and blog's name is \"Next.js Blog Theme\" with one blog post](nextjs-blog-theme-preview.png)\n\n[Take a gander at the demo.](https://bejamas-nextjs-blog.netlify.app)\n\n[Click here to watch the template walkthrough!](https://www.youtube.com/watch?v=U2eTCO_xiHc)\n\n## Getting Started\n\n---\n\nYou can get started with this project in two ways: locally or using the [setup wizard](https://nextjs-wizard.netlify.app/).\n\n### Setting Up Locally\n\nIf you're doing it locally, start with clicking the [use this template](https://github.com/netlify-templates/nextjs-blog-theme/generate) button on GitHub. This will create a new repository with this template's files on your GitHub account. Once that is done, clone your new repository and navigate to it in your terminal.\n\nFrom there, you can install the project's dependencies by running:\n\n```shell\nyarn install\n```\n\nFinally, you can run your project locally with:\n\n```shell\nyarn run dev\n```\n\nOpen your browser and visit \u003chttp://localhost:3000\u003e, your project should be running!\n\n### Using the Setup Wizard\n\n![Preview of Setup Wizard showing the initial page of a setup form](nextjs-setup-wizard.png)\n\nThrough the [setup wizard](https://nextjs-wizard.netlify.app/), you can create your blog in a few clicks and deploy to Netlify.\n\n## Configuring the blog\n\nThe config is based on environment variables to make it easy to integrate with any Jamstack platform, like Netlify.\n\nHere are the variables you can edit:\n| Variable | Description | Options\n| --- | --- | --- |\n| `BLOG_NAME` | the name of your blog, displayed below the avatar ||\n| `BLOG_TITLE` | the main header (`h1`) on the home page ||\n| `BLOG_FOOTER_TEXT`| the text in the footer ||\n| `BLOG_THEME` | the theme to pass to Tailwind | default |\n| `BLOG_FONT_HEADINGS` | the font-family for all HTML headings, from `h1` to `h6`| sans-serif (default), serif, monospace|\n| `BLOG_FONT_PARAGRAPHS` | the font-family for all other HTML elements | sans-serif (default), serif, monospace|\n\nAll of the env variables can be configured through the [Wizard](https://nextjs-wizard.netlify.app/) or through setting the project's environment variables. You can do this in your Netlify dashaboard (Site settings/Build \u0026 deploy/Environment/Environment variables).\n\nhttps://user-images.githubusercontent.com/3611928/153997545-6dcdeef0-e570-49e7-93d6-ce0d393d16c9.mp4\n\n[alt: video walkthrough of editing env vars]\n\nIf setting an environment variable isn't your cup of tea, the defaults can be changed in [`utils/global-data.js`](/utils/global-data.js). You can also remove the variables and hard code blog information where these variables are used in the code base.\n\n- `BLOG_THEME, BLOG_FONT_HEADINGS, \u0026 BLOG_FONT_PARAGRAPHS` are used in [`tailwind-preset.js`](tailwind-preset.js)\n- `BLOG_NAME, BLOG_TITLE, BLOG_FOOTER_TEXT` are used in [`pages/index.js`](pages/index.js) \u0026 [`pages/posts/[slug].js`](pages/posts/[slug].js) through the `globalData` object.\n\n## Adding new posts\n\nAll posts are stored in `/posts` directory. To make a new post, create a new file with the [`.mdx` extension](https://mdxjs.com/).\n\nSince the posts are written in `MDX` format you can pass props and components. That means you can use [React components](https://reactjs.org/docs/components-and-props.html) inside your posts to make them more interactive. Learn more about how to do so in the [MDX docs on content](https://mdxjs.com/docs/using-mdx/#components).\n\nhttps://user-images.githubusercontent.com/3611928/152727802-102ec296-41c8-446d-93ed-922d11187073.mp4\n\n[alt: video walkthrough of adding a new blog post]\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencodezen%2Fnextjs-blog-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbencodezen%2Fnextjs-blog-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbencodezen%2Fnextjs-blog-theme/lists"}