{"id":15021043,"url":"https://github.com/chrisrhymes/mere-blog-theme","last_synced_at":"2025-04-04T11:16:23.515Z","repository":{"id":47253784,"uuid":"207166797","full_name":"chrisrhymes/mere-blog-theme","owner":"chrisrhymes","description":"Mere is a minimal and simple blog theme, and nothing more, for use with Jekyll and GitHub Pages.","archived":false,"fork":false,"pushed_at":"2024-10-28T20:12:08.000Z","size":1002,"stargazers_count":31,"open_issues_count":2,"forks_count":62,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-30T06:58:18.273Z","etag":null,"topics":["jekyll","jekyll-blog","jekyll-blog-theme","jekyll-template","jekyll-theme","theme"],"latest_commit_sha":null,"homepage":"https://www.csrhymes.com/mere-blog-theme/","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/chrisrhymes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":"authors.md","dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-08T20:03:13.000Z","updated_at":"2024-10-28T19:50:53.000Z","dependencies_parsed_at":"2024-11-09T16:37:53.805Z","dependency_job_id":null,"html_url":"https://github.com/chrisrhymes/mere-blog-theme","commit_stats":{"total_commits":16,"total_committers":2,"mean_commits":8.0,"dds":0.0625,"last_synced_commit":"8cfa9ce5891322424fb29885a9d10840f646ebb0"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisrhymes%2Fmere-blog-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisrhymes%2Fmere-blog-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisrhymes%2Fmere-blog-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chrisrhymes%2Fmere-blog-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chrisrhymes","download_url":"https://codeload.github.com/chrisrhymes/mere-blog-theme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247166169,"owners_count":20894654,"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":["jekyll","jekyll-blog","jekyll-blog-theme","jekyll-template","jekyll-theme","theme"],"created_at":"2024-09-24T19:56:04.072Z","updated_at":"2025-04-04T11:16:23.501Z","avatar_url":"https://github.com/chrisrhymes.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mere-blog-theme\n\n[![Gem Version](https://badge.fury.io/rb/mere-blog-theme.svg)](https://badge.fury.io/rb/mere-blog-theme)\n![Gem](https://img.shields.io/gem/dt/mere-blog-theme)\n\nMere is a minimal and simple blog theme, and nothing more, for use with Jekyll and GitHub Pages. It has been built with the Bulma frontend framework.\n\nIt has a homepage which displays the latest 6 posts and a paginated blog page used to list out all blog posts.\n\n**Mere Blog Theme uses Jekyll 4.3 for compatibility with Bulma v1**\n\n## Installation\n\nAdd this line to your Jekyll site's `Gemfile`:\n\n```ruby\ngem \"mere-blog-theme\"\n```\n\nAnd add this line to your Jekyll site's `_config.yml`:\n\n```yaml\ntheme: mere-blog-theme\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install mere-blog-theme\n\n## Upgrading to v1\n\nVersion 1 of mere-blog-theme uses version 1 of Bulma. Bulma v1 has been updated to use dart sass and Jekyll was updated to use dart sass from version 4.3 and up, so this is now the minimum supported version of Jekyll for this theme.\n\nThe standard build for GitHub pages only works with Jekyll 3.9, so you will need to migrate to using a GitHub action to build and deploy your site.\n\nPlease read through the [Jekyll docs for GitHub Actions](https://jekyllrb.com/docs/continuous-integration/github-actions/) for more information.\n\n## Usage\n\n- [Blog Setup](#blog-setup)\n- [Posts](#posts)\n  - [Post Intro](#post-intro)\n- [Homepage](#homepage)\n- [Authors](#authors)\n- [Google Analytics](#google-analytics)\n- [Themes](#themes)\n\n### Blog Setup\n\nAs of 0.4, the blog posts will be displayed on the homepage including pagination, instead of in a separate blog page.\n\n**The homepage page needs to be called index.html for the blog pagination**\n\nSet the paginator up in the `_config.yml` file with the posts per page and the path to the blog.\n\n```yaml\npaginate: 6\npaginate_path: \"/page:num\"\n```\n\n### Posts\n\nPosts should be created in the `_posts` directory as per standard Jekyll usage. The front matter should contain the layout of post, the image to use in the header and the homepage / blog page, the title of the post and the author of the post. You can also set a subtitle for the post if you want to.\n\n```yaml\nlayout: post\ntitle: First Post\nimage: /img/home.jpg\nauthor: C.S. Rhymes\n```\n\nWide images will work best, with a minimum width of 1400px.\n\n#### Post Intro\n\nVersion 0.3 allows you to provide a intro and an intro image in your frontmatter. When creating your post add a short `intro` text an `intro_image` as a path to an image and then specify the `intro_image_ratio` which should be a [Bulma image](https://bulma.io/documentation/elements/image/) class.\n\n```yaml\nlayout: post\ntitle: Post with Intro\nauthor: Guest Author\nintro: This is the introduction text for this post. It appears large and bold at the top of the post\nintro_image: /img/home.jpg\nintro_image_ratio: is-16by9\n```\n\nOnly the intro is required if you want to display it. If you don't want an image then don't specify one and just the intro text will display.\n\n### Homepage\n\nFinally, configure the homepage by creating an `index.html` page and configure the frontmatter with the layout of homepage, the title, subtitle (optional) and the image. You can set the hero_height to is-large if you want to make the homepage header a bit larger.\n\n```yaml\nlayout: homepage\ntitle: Mere Blog Theme\nsubtitle: This is the demo site for the Mere Blog Theme\nimage: /img/home.jpg\nhero_height: is-large\n```\n\n### Authors\n\nTo enable the authors section, create a directory named `_authors` and create a page for each author within it. The author pages should have front matter in the following format.\n\n**NOTE** The author name should match the author name in their posts exactly.\n\n```yaml\nlayout: author\ntitle: The authors page title\nname: Author Name\nposition: Web Designer\ndescription: The short description of the author\navatar: /img/avatar.png\nwebsite: https://www.csrhymes.com\n```\n\nThe website and avatar are optional, but if you are stuck for author images, why not try [https://getavataaars.com](https://getavataaars.com). Square images work best. You can then write about the author in the page content.\n\nNext, create an `authors.md` page in the root of your site and set the layout to authors.\n\n```yaml\nlayout: authors\ntitle: Authors\ndescription: The authors page\n```\n\nAdd authors as a collection in your `_config.yml` file with output set to true so the pages are generated.\n\n```yaml\ncollections:\n  authors:\n    output: true\n```\n\nWhen you build your site, the authors link will appear in the navbar. The authors page will display the authors you have added. You can then click on their name or image to view the author page, along with a list of their 4 latest posts.\n\nThere will also be a link back to the authors page at the bottom of the post.\n\n#### Author Social Profiles\n\n**New in 0.2.1 **\n\nYou can add links to an author's social profile pages by adding the profile name and link to the front matter in the author's page (such as `_authors/chris.md`). The below social profiles are available.\n\n```yaml\nfacebook: https://www.facebook.com/\ntwitter: https://www.twitter.com/\ngithub: https://www.github.com/\ngitlab: https://www.gitlab.com\ninstagram: https://www.instagram.com\nlinkedin: https://www.linkedin.com/\nmedium: https://www.medium.com/\nstack_overflow: https://stackoverflow.com/\n```\n\n### Google Analytics\n\nTo enable Google Analytics add `google_analytics: UA-xxxxxxxx` to your `_config.yml` replacing the UA-xxxxxxxx with your Google Analytics property.\n\n### Themes\n\nBulma v1 has a concept of themes and [automatic dark mode](https://bulma.io/documentation/features/dark-mode/).\n\n\u003e Modern browsers come with a way to detect if a user has set their theme preference to light or dark by using the prefers-color-scheme keyword.\n\nTo disable this behaviour and force a theme, set the `force_theme:` in the \\_config.yml to either 'dark' or 'light'.\n\n```yaml\n# _config.yml\nforce_theme: light\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/chrisrhymes/mere-blog-theme. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## Development\n\nTo set up your environment to develop this theme, run `bundle install`.\n\nYour theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.\n\nWhen your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.\nTo add a custom directory to your theme-gem, please edit the regexp in `mere-blog-theme.gemspec` accordingly.\n\n## License\n\nThe theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisrhymes%2Fmere-blog-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchrisrhymes%2Fmere-blog-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchrisrhymes%2Fmere-blog-theme/lists"}