├── .gitignore ├── .obsidian ├── hotkeys.json ├── app.json ├── appearance.json ├── core-plugins.json └── workspace ├── .env ├── Jekyll.md ├── Obsidian Blog Project.md ├── Obsidian Blog Documentation Vault.md ├── Handlebars Templates.md ├── Posts Sorting.md ├── Posts └── Test.md ├── Templates.md ├── Dev Mode.md ├── Installation.md ├── Assets Processing.md ├── Inlined Note.md ├── Config Context.md ├── Features.md ├── Pages ├── index.md └── all_posts.hbs ├── Headings Generation.md ├── Further Reading Section.md ├── README.md ├── Image Context.md ├── Global Context.md ├── Notes Parsing.md ├── .blog ├── _layouts │ ├── simple.hbs │ └── main.hbs └── _assets │ └── styles.css ├── Privacy.md ├── Images.md ├── Notes Linkification.md ├── Title Detection.md ├── Usage.md ├── .github └── workflows │ └── publish.yml ├── Intro.md ├── Directory Structure.md ├── LICENSE ├── Settings.md ├── Pages.md ├── Deployment.md └── Layouts.md /.gitignore: -------------------------------------------------------------------------------- 1 | .build 2 | -------------------------------------------------------------------------------- /.obsidian/hotkeys.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- 1 | blog_title="Obsidian Blog. SSG for Obsidian" 2 | -------------------------------------------------------------------------------- /.obsidian/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "alwaysUpdateLinks": true 3 | } -------------------------------------------------------------------------------- /.obsidian/appearance.json: -------------------------------------------------------------------------------- 1 | { 2 | "baseFontSize": 16 3 | } -------------------------------------------------------------------------------- /Jekyll.md: -------------------------------------------------------------------------------- 1 | --- 2 | link: https://jekyllrb.com/ 3 | --- 4 | -------------------------------------------------------------------------------- /Obsidian Blog Project.md: -------------------------------------------------------------------------------- 1 | --- 2 | link: https://github.com/A/obsidian-blog 3 | --- 4 | -------------------------------------------------------------------------------- /Obsidian Blog Documentation Vault.md: -------------------------------------------------------------------------------- 1 | --- 2 | link: https://github.com/A/obsidian-blog-theme 3 | --- 4 | -------------------------------------------------------------------------------- /Handlebars Templates.md: -------------------------------------------------------------------------------- 1 | --- 2 | published: True 3 | --- 4 | 5 | Both posts and pages are post-processed by `handlebars`. 6 | -------------------------------------------------------------------------------- /Posts Sorting.md: -------------------------------------------------------------------------------- 1 | --- 2 | published: True 3 | --- 4 | 5 | Posts are sorted by `date` attribute in the frontmatters section 6 | -------------------------------------------------------------------------------- /Posts/Test.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Test Page 3 | published: True 4 | slug: tst 5 | date: 2022-02-05 6 | --- 7 | 8 | Just a hello world post 9 | 10 | -------------------------------------------------------------------------------- /Templates.md: -------------------------------------------------------------------------------- 1 | --- 2 | published: True 3 | --- 4 | 5 | [[Global Context]] 6 | [[Config Context]] 7 | [[Layouts]] 8 | [[Pages]] 9 | [[Images]] 10 | 11 | -------------------------------------------------------------------------------- /Dev Mode.md: -------------------------------------------------------------------------------- 1 | --- 2 | published: True 3 | --- 4 | 5 | Dev mode is useful to write and check your drafts locally: 6 | 7 | ``` 8 | obsidian-blog -dws 9 | ``` 10 | -------------------------------------------------------------------------------- /Installation.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Installation 3 | published: True 4 | 5 | --- 6 | The simplest way is to run: 7 | 8 | ``` 9 | pip install obsidian-blog 10 | ``` 11 | -------------------------------------------------------------------------------- /Assets Processing.md: -------------------------------------------------------------------------------- 1 | --- 2 | published: True 3 | --- 4 | 5 | During the build, `obsidian-blog` takes all local files used in your posts and pages, copies them into `.build` directory and updates their links accordingly. 6 | -------------------------------------------------------------------------------- /Inlined Note.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Global Context 3 | published: True 4 | --- 5 | 6 | ## This is an Inlined Note 7 | 8 | Have fun combining notes from your vault to make a good content. 9 | 10 | ![[Lets Go.jpg]] 11 | -------------------------------------------------------------------------------- /Config Context.md: -------------------------------------------------------------------------------- 1 | --- 2 | published: True 3 | links: 4 | - name: Config Data 5 | url: https://github.com/A/obsidian-blog/blob/master/src/dataclasses/config_data.py 6 | --- 7 | 8 | Config is passed to handlebars templates as `config` variable. 9 | 10 | -------------------------------------------------------------------------------- /Features.md: -------------------------------------------------------------------------------- 1 | --- 2 | published: True 3 | --- 4 | 5 | [[Notes Parsing]] 6 | [[Assets Processing]] 7 | 8 | [[Headings Generation]] 9 | 10 | [[Handlebars Templates]] 11 | [[Privacy]] 12 | [[Title Detection]] 13 | [[Dev Mode]] 14 | [[Further Reading Section]] 15 | [[Notes Linkification]] 16 | -------------------------------------------------------------------------------- /Pages/index.md: -------------------------------------------------------------------------------- 1 | --- 2 | title: Obsidian Blog Manual 3 | published: True 4 | date: 2021-01-09 5 | layout: main 6 | --- 7 | 8 | ![[Intro]] 9 | ![[Installation]] 10 | ![[Usage]] 11 | ![[Directory Structure]] 12 | ![[Settings]] 13 | ![[Features]] 14 | 15 | ![[Templates]] 16 | ![[Deployment]] 17 | 18 | -------------------------------------------------------------------------------- /.obsidian/core-plugins.json: -------------------------------------------------------------------------------- 1 | [ 2 | "file-explorer", 3 | "global-search", 4 | "switcher", 5 | "graph", 6 | "backlink", 7 | "page-preview", 8 | "note-composer", 9 | "command-palette", 10 | "editor-status", 11 | "markdown-importer", 12 | "word-count", 13 | "open-with-default-app", 14 | "file-recovery" 15 | ] -------------------------------------------------------------------------------- /Headings Generation.md: -------------------------------------------------------------------------------- 1 | --- 2 | published: True 3 | --- 4 | 5 | `obsidian-blog` renders a header with note `title` for each note with a non-empty content. This header has `id` attribute and can be used as an anchor. 6 | 7 | As it was mentioned before, there are plenty of ways to define titles, and you can even skip it to use filename instead. 8 | -------------------------------------------------------------------------------- /Pages/all_posts.hbs: -------------------------------------------------------------------------------- 1 | --- 2 | title: All Posts 3 | published: True 4 | layout: simple 5 | --- 6 | 7 |