{"id":19886072,"url":"https://github.com/rishabkumar7/blog","last_synced_at":"2025-03-01T03:48:23.201Z","repository":{"id":107842564,"uuid":"274557624","full_name":"rishabkumar7/blog","owner":"rishabkumar7","description":"My personal blog site using a template by LekoArts.","archived":false,"fork":false,"pushed_at":"2023-06-10T00:48:20.000Z","size":3070,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-11T18:47:48.112Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/rishabkumar7.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":".github/FUNDING.yml","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},"funding":{"github":["LekoArts"],"patreon":"lekoarts","open_collective":null,"ko_fi":"lekoarts","tidelift":null,"custom":null}},"created_at":"2020-06-24T02:38:50.000Z","updated_at":"2023-06-02T15:44:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"cba07122-acd2-4db5-a8f8-5636e2231058","html_url":"https://github.com/rishabkumar7/blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"LekoArts/gatsby-starter-minimal-blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fblog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fblog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fblog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rishabkumar7%2Fblog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rishabkumar7","download_url":"https://codeload.github.com/rishabkumar7/blog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241313187,"owners_count":19942418,"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":[],"created_at":"2024-11-12T17:36:11.941Z","updated_at":"2025-03-01T03:48:23.184Z","avatar_url":"https://github.com/rishabkumar7.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://minimal-blog.lekoarts.de\"\u003e\n    \u003cimg alt=\"LekoArts\" src=\"https://img.lekoarts.de/gatsby/gatsby-site-illustration.png\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\u003ch1 align=\"center\"\u003e\n  Gatsby Starter: Minimal Blog\n\u003c/h1\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/LekoArts/gatsby-starter-minimal-blog/blob/master/LICENSE\"\u003e\n    \u003cimg src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"Minimal Blog is released under the MIT license.\" /\u003e\n  \u003c/a\u003e\n  \u003cimg src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg\" alt=\"PRs welcome!\" /\u003e\n  \u003ca href=\"https://twitter.com/intent/follow?screen_name=lekoarts_de\"\u003e\n    \u003cimg src=\"https://img.shields.io/twitter/follow/lekoarts_de.svg?label=Follow%20@lekoarts_de\" alt=\"Follow @lekoarts_de\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nTypography driven, feature-rich blogging theme with minimal aesthetics. Includes tags/categories support and extensive features for code blocks such as live preview, line numbers, and line highlighting. Using the Gatsby Theme [`@lekoarts/gatsby-theme-minimal-blog`](https://github.com/LekoArts/gatsby-themes/tree/master/themes/gatsby-theme-minimal-blog).\n\n[**Demo Website**](https://minimal-blog.lekoarts.de)\n\nAlso be sure to checkout other [Free \u0026 Open Source Gatsby Themes](https://themes.lekoarts.de)\n\n## ✨ Features\n\n- MDX\n- Fully customizable through the usage of Gatsby Themes (and Theme UI)\n- Light Mode / Dark Mode\n- Typography driven, minimal style\n- Tags/Categories support\n- Code highlighting with [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) and [react-live](https://github.com/FormidableLabs/react-live) support. Also allows adding line numbers, line highlighting, language tabs, and file titles.\n- RSS Feed for blog posts\n- Google Analytics Support\n- SEO (Sitemap, OpenGraph tags, Twitter tags)\n- Offline Support \u0026 WebApp Manifest\n\n## 🚀 Getting Started\n\n1. **Create a Gatsby site.**\n\nUse the Gatsby CLI to create a new site, specifying this project\n\n```sh\ngatsby new project-name https://github.com/LekoArts/gatsby-starter-minimal-blog\n```\n\n2. **Start developing.**\n\nNavigate into your new site's directory and start it up.\n\n```sh\ncd project-name\ngatsby develop\n```\n\n3. **Open the code and start customizing!**\n\nYour site is now running at `http://localhost:8000`!\n\nIf you want to learn more about how you can use a Gatsby starter that is configured with a Gatsby theme, you can checkout this [shorter](https://www.gatsbyjs.org/docs/themes/using-a-gatsby-theme/) or [longer](https://www.gatsbyjs.org/tutorial/using-a-theme/) tutorial. The tutorials don't exactly apply to this starter however the concepts are the same.\n\n## 📝 Using and modifying this starter\n\n**Important Note:** Please read the guide [Shadowing in Gatsby Themes](https://www.gatsbyjs.org/docs/themes/shadowing/) to understand how to customize the underlying theme!\n\nThis starter creates a new Gatsby site that installs and configures the theme [`@lekoarts/gatsby-theme-minimal-blog`](https://github.com/LekoArts/gatsby-themes/tree/master/themes/gatsby-theme-minimal-blog).\n\nHave a look at the theme's README and files to see what options are available and how you can shadow the various components including Theme UI. Generally speaking you will want to place your files into `src/@lekoarts/gatsby-theme-minimal-blog/` to shadow/override files. The Theme UI config can be configured by shadowing its files in `src/gatsby-plugin-theme-ui/`.\n\n### Code Highlighting\n\nSince the underlying theme ships with [prism-react-renderer](https://github.com/FormidableLabs/prism-react-renderer) and [react-live](https://github.com/FormidableLabs/react-live) certain additional features were added to code blocks. You can find an overview / usage example in the [example repository](https://github.com/LekoArts/gatsby-themes/tree/master/examples/minimal-blog/content/posts/fantastic-beasts-and-where-to-find-them/index.mdx)! If you want to change certain code styles or add additional language tabs, you need to shadow the file `src/@lekoarts/gatsby-theme-minimal-blog/styles/code.js`.\n\n**Language tabs:**\n\nWhen you add a language (such as e.g. `js` or `javascript`) to the code block, a little tab will appear at the top left corner.\n\n````\n```js\n// code goes here\n```\n````\n\n**Code titles:**\n\nYou can display a title (e.g. the file path) above the code block.\n\n````\n```jsx:title=your-title\n// code goes here\n```\n````\n\nOr without a specific language:\n\n````\n```:title=your-title\n// code goes here\n```\n````\n\n**Line highlighting:**\n\nYou can highlight single or multiple (or both) lines in a code block. You need to add a language.\n\n````\n```js {2,4-5}\nconst test = 3\nconst foo = 'bar'\nconst harry = 'potter'\nconst hermione = 'granger'\nconst ron = 'weasley'\n```\n````\n\n**Hide line numbers:**\n\nIf you want to hide line numbers you can either globally disable them (see Theme options) or on a block-by-block basis. You can also combine that with the other attributes.\n\n````\n```noLineNumbers\n// code goes here\n```\n````\n\n**react-live:**\n\nAdd `react-live` to the code block (and render the component) to see a preview below it.\n\n````\n```js react-live\nconst onClick = () =\u003e {\n  alert(\"You opened me\");\n};\nrender(\u003cbutton onClick={onClick}\u003eAlohomora!\u003c/button\u003e);\n```\n````\n\n### Adding content\n\n#### Adding a new blog post\n\nNew blog posts will be shown on the index page (the three most recent ones) of this theme and on the blog overview page. They can be added by creating MDX files inside `content/posts`. General setup:\n\n1. Create a new folder inside `content/posts`\n1. Create a new `index.mdx` file, and add the frontmatter\n1. Add images to the created folder (from step 1) you want to reference in your blog post\n1. Reference an image as your `banner` in the frontmatter\n1. Write your content below the frontmatter\n\n**Frontmatter reference:**\n\n```md\n---\ntitle: Introduction to \"Defence against the Dark Arts\"\ndate: 2019-11-07\ndescription: Defence Against the Dark Arts (abbreviated as DADA) is a subject taught at Hogwarts School of Witchcraft and Wizardry and Ilvermorny School of Witchcraft and Wizardry.\ntags:\n  - Tutorial\n  - Dark Arts\nbanner: ./defence-against-the-dark-arts.jpg\n---\n```\n\n**The fields `description` and `banner` are optional!** If no description is provided, an excerpt of the blog post will be used. If no banner is provided, the default `siteImage` (from `siteMetadata`) is used.\n\nThe `date` field has to be written in the format `YYYY-MM-DD`!\n\n#### Adding a new page\n\nAdditional pages can be created by placing MDX files inside `contents/pages`, e.g. an \"About\" or \"Contact\" page. You'll manually need to link to those pages, for example by adding them to the navigation (in `navigation` option of the theme). General instructions:\n\n1. Create a new folder inside `content/pages`\n1. Create a new `index.mdx` file, and add the frontmatter\n1. Write your content below the frontmatter\n1. Optionally add files/images to the folder you want to reference from the page\n\n**Frontmatter reference:**\n\n```md\n---\ntitle: About\nslug: \"/about\"\n---\n```\n\n#### Changing the \"Hero\" text\n\nTo edit the hero text (\"Hi, I'm Lupin...), create a file at `src/@lekoarts/gatsby-theme-minimal-blog/texts/hero.mdx` to edit the text.\n\n#### Changing the \"Projects\" part\n\nTo edit the projects part below \"Latest posts\", create a file at `src/@lekoarts/gatsby-theme-minimal-blog/texts/bottom.mdx` to edit the contents.\n\n### Change your `static` folder\n\nThe `static` folder contains the icons, social media images and robots.txt. Don't forget to change these files, too!\n\n## 🤔 Questions or problems?\n\nPlease open up an issue on the main repository: [LekoArts/gatsby-themes](https://github.com/LekoArts/gatsby-themes). Thanks!\n\n## 🎓 Learning Gatsby\n\nLooking for more guidance? Full documentation for Gatsby lives [on Gatsby's website](https://www.gatsbyjs.org/).\n\n### Themes\n\n- To learn more about Gatsby themes specifically, we recommend checking out the [theme docs](https://www.gatsbyjs.org/docs/themes/).\n\n### General\n\n- **For most developers, I recommend starting with the [in-depth tutorial for creating a site with Gatsby](https://www.gatsbyjs.org/tutorial/).** It starts with zero assumptions about your level of ability and walks through every step of the process.\n\n- **To dive straight into code samples, head [to Gatsby's documentation](https://www.gatsbyjs.org/docs/).** In particular, check out the _Reference Guides_ and _Gatsby API_ sections in the sidebar.\n\n## 🌟 Supporting me\n\nThanks for using this project! I'm always interested in seeing what people do with my projects, so don't hesitate to tag me on [Twitter](https://twitter.com/lekoarts_de) and share the project with me.\n\nPlease star this project, share it on Social Media or consider supporting me on [Patreon](https://www.patreon.com/lekoarts) or [GitHub Sponsor](https://github.com/sponsors/LekoArts)!\n","funding_links":["https://github.com/sponsors/LekoArts","https://patreon.com/lekoarts","https://ko-fi.com/lekoarts","https://www.patreon.com/lekoarts","https://github.com/sponsors/LekoArts)!"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabkumar7%2Fblog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frishabkumar7%2Fblog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frishabkumar7%2Fblog/lists"}