{"id":21481732,"url":"https://github.com/xypnox/xyblag-theme","last_synced_at":"2026-01-04T11:04:33.447Z","repository":{"id":86387181,"uuid":"307395709","full_name":"xypnox/xyblag-theme","owner":"xypnox","description":"xyBlag is a minimal, modern, responsive theme featuring dark mode, comments, categories, tags and pagination.","archived":false,"fork":false,"pushed_at":"2020-10-26T14:17:36.000Z","size":638,"stargazers_count":4,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-23T18:50:05.347Z","etag":null,"topics":["blog","dark-theme","zola","zola-theme"],"latest_commit_sha":null,"homepage":"","language":"SCSS","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/xypnox.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-10-26T14:15:40.000Z","updated_at":"2023-02-27T10:23:41.000Z","dependencies_parsed_at":"2023-04-29T07:35:18.637Z","dependency_job_id":null,"html_url":"https://github.com/xypnox/xyblag-theme","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xypnox%2Fxyblag-theme","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xypnox%2Fxyblag-theme/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xypnox%2Fxyblag-theme/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xypnox%2Fxyblag-theme/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xypnox","download_url":"https://codeload.github.com/xypnox/xyblag-theme/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244006394,"owners_count":20382443,"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","dark-theme","zola","zola-theme"],"created_at":"2024-11-23T12:27:58.277Z","updated_at":"2026-01-04T11:04:33.378Z","avatar_url":"https://github.com/xypnox.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# xyBlag\n\nxyBlag is a minimal, modern, responsive theme featuring dark mode, categories, tags and pagination.\n\n![Blag screenshot](https://github.com/xypnox/blag/blob/master/themes/xyblag/screenshot.png?raw=true)\n\n## Contents\n\n- [Installation](#installation)\n- [Options](#options)\n  - [Top menu](#top-menu)\n  - [Title](#title)\n\n## Installation\n\nFirst download this repo and copy the folder `themes/xyblag` to your `themes` directory:\n\n```bash\n$ git clone https://github.com/xypnox/blag.git\n```\n\nand then enable it in your `config.toml`:\n\n```toml\ntheme = \"xyblag\"\n```\n\nThe theme requires tags and categories taxonomies to be enabled in your `config.toml`:\n\n```toml\ntaxonomies = [\n    # You can enable/disable RSS\n    {name = \"categories\", rss = true},\n    {name = \"tags\", rss = true},\n]\n```\n\nIf you want to paginate taxonomies pages, you will need to overwrite the templates\nas it only works for non-paginated taxonomies by default.\n\nIt also requires to put the posts in the root of the `content` folder and to enable pagination, for example in `content/_index.md`:\n\n```\n+++\npaginate_by = 5\nsort_by = \"date\"\n+++\n```\n\n## Options\n\n### Top-menu\n\nSet a field in `extra` with a key of blog_menu`:\n\n```toml\n# This is the default menu\nblog_menu = [\n    {url = \"$BASE_URL\", name = \"Home\"},\n    {url = \"$BASE_URL/categories\", name = \"Categories\"},\n    {url = \"$BASE_URL/tags\", name = \"Tags\"},\n    {url = \"$BASE_URL/about\", name = \"About\"},\n]\n```\n\nIf you put `$BASE_URL` in a url, it will automatically be replaced by the actual\nsite URL.\n\n### Title and Description\n\nThe site title and description is used in the header.\n\n### Meta Image Metadata\n\nWhile sharing an article on social media, you may want to display a specific image related to the article in the preview cards rather than the default one. This can be set via the `metadata_image` variable in the `[extra]` section of the page.\n\nFor example:\n\n```yaml\n[extra]\nmetadata_image = \"/posts/migrating-to-zola/cover.png\"\n```\n\nHere the path is relative to the root and the image is in the folder `/posts/migrating-to-zola/` and the file is at `/posts/migrating-to-zola/index.md`.\n\n### Disqus comments\n\nTo enable disqus comments set the [`disqus_shortname`](https://help.disqus.com/en/articles/1717111-what-s-a-shortname) variable in the `[extra]` config to the shortname of your site.\n\n```yaml\n# CUSTOM VARIABLES\n[extra]\n\n# Disqus shortname for comments by disqus, when not set comment section isn't displayed\ndisqus_shortname = \"xypnox-blag\"\n```\n\n### KaTeX math formula support\n\nThis theme contains math formula support using [KaTeX](https://katex.org/),\nwhich can be enabled by setting `katex_enable = true` in the `extra` section\nof `config.toml`:\n\n```toml\n[extra]\nkatex_enable = true\n```\n\nAfter enabling this extension, the `katex` short code can be used in documents:\n\n- `{{ katex(body=\"\\KaTeX\") }}` to typeset a math formula inlined into a text,\n  similar to `$...$` in LaTeX\n- `{% katex(block=true) %}\\KaTeX{% end %}` to typeset a block of math formulas,\n  similar to `$$...$$` in LaTeX\n\n#### Automatic rendering without short codes\n\nOptionally, `\\\\( \\KaTeX \\\\)` inline and `\\\\[ \\KaTeX \\\\]` / `$$ \\KaTeX $$`\nblock-style automatic rendering is also supported, if enabled in the config:\n\n```toml\n[extra]\nkatex_enable = true\nkatex_auto_render = true\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxypnox%2Fxyblag-theme","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxypnox%2Fxyblag-theme","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxypnox%2Fxyblag-theme/lists"}