{"id":26830869,"url":"https://github.com/oltdaniel/dose","last_synced_at":"2025-10-09T02:50:40.608Z","repository":{"id":44783198,"uuid":"346683434","full_name":"oltdaniel/dose","owner":"oltdaniel","description":"a small blog theme","archived":false,"fork":false,"pushed_at":"2023-05-07T10:15:17.000Z","size":745,"stargazers_count":23,"open_issues_count":2,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T08:14:16.266Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://oltdaniel.github.io/dose","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/oltdaniel.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,"zenodo":null}},"created_at":"2021-03-11T11:45:08.000Z","updated_at":"2024-10-07T16:30:00.000Z","dependencies_parsed_at":"2025-04-30T08:14:17.885Z","dependency_job_id":"22a753ae-38a2-4a75-bb7e-4ec3e5db2800","html_url":"https://github.com/oltdaniel/dose","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/oltdaniel/dose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oltdaniel%2Fdose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oltdaniel%2Fdose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oltdaniel%2Fdose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oltdaniel%2Fdose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oltdaniel","download_url":"https://codeload.github.com/oltdaniel/dose/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oltdaniel%2Fdose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279000763,"owners_count":26082906,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-03-30T14:18:03.161Z","updated_at":"2025-10-09T02:50:40.585Z","avatar_url":"https://github.com/oltdaniel.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dose\n\n![](screenshot.png?raw=true)\n\n## Installation\n\nFirst install the theme into the `themes` directory with one of these options:\n\n```bash\n# If you work with git: \ngit submodule add https://github.com/oltdaniel/dose.git themes/dose\n# or just do a download:\ngit clone https://github.com/oltdaniel/dose.git themes/dose\n```\n\nand then enable it in your `config.toml`:\n\n```toml\ntheme = \"dose\"\n```\n\nYou can enable the following taxonomies:\n\n```toml\ntaxonomies = [\n    { name = \"tags\", feed = true },\n]\n```\n\nAnd the theme uses the following extras:\n\n```toml\n[extra]\nsocial_media = [\n    { name = \"GitHub\", url = \"https://github.com/oltdaniel\" },\n    { name = \"Twitter\", url = \"https://twitter.com/@twitter\" },\n    { name = \"Mastodon\", url = \"https://mastodon.social/@Mastodon\", rel = \"me\" }\n]\ndefault_theme = \"dark\" # or \"light\"\n```\n\nThe description of yourself with your image, you can modify by using a template. Just create a new\nfile `myblog/templates/parts/me.html`:\n\n```html\n\u003cimg src=\"https://via.placeholder.com/50\" height=\"50px\" width=\"50px\"\u003e\n\u003cp\u003eHi, this is me. I write about microcontrollers, programming and cloud software. ...\u003c/p\u003e\n```\n\nIf you want to have all pages sorted by their date, please create `myblog/content/_index.md`:\n```\n+++\nsort_by = \"date\"\n+++\n```\n\n### About\n\n#### Inspired\nI created this theme mainly for my personal website. You are free to use it or modify it. It is inspired by the [`no-style-please`](https://riggraz.dev/no-style-please/) jekyll theme.\n\n#### Typography\n\nThis theme uses no special font, just the browsers default monospace font. Yes, this can mean that the website could be rendered differently, but users can freely choose their webfont.\n\n#### Darkmode\n\nThis theme supports dark and light mode. Currently this will be only switched based on the users preffered system theme. But a manual switch will follow in the future in the footer (see the todo).\n\n| light | dark |\n|-|-|\n| ![](screenshot-light.png) | ![](screenshot-dark.png) |\n\n#### Size\n\nThe JavaScript has been moved into the page itself to allow minification. Together this results in the following sizes for the `index.html`:\n- `~ 3kB` JavaScript\n- `~ 3kB` CSS\n- `~ 17kB` Profile Image\n- `~5kB - ~3kB = ~2kB` HTML\n\nWhich results in a total loading size of `3kB + 3kB + 17kB + 2kB = 25kB`.\n\n#### Syntax Highlighting\n\nAs I didn't want to invest any time in creating an own syntax color schema for this theme, I suggest to use `visual-studio-dark`, which is the same one used in the demo page.\n\n#### Customization\n\nYou can create your own version of this theme, by simply changing the sass variables in `sass/style.scss` to match your taste.\n\n```scss\n/**\n * Variables\n */\n$base-background: white;\n$text-color: black;\n$article-tag: green;\n$lang-tag: red;\n$link-color: blue;\n$target-color: yellow;\n$separator-decoration: \"//////\";\n```\n\n## License \u0026 Contributors\n\n![GitHub](https://img.shields.io/github/license/oltdaniel/dose)\n\nThis project was created by [Daniel Oltmanns](https://github.com/oltdaniel) and has been imporved by these [contributors](https://github.com/oltdaniel/dose/graphs/contributors).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foltdaniel%2Fdose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foltdaniel%2Fdose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foltdaniel%2Fdose/lists"}