this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

readme

Signed-off-by: Marius Kimmina <mar.kimmina@gmail.com>

+29 -1
+29 -1
README.md
··· 1 1 # leaflet-hugo-sync 2 2 3 - WIP 3 + Syncs Leaflet blog posts from the AT Protocol network to Hugo-compatible markdown files. 4 + 5 + ## Configuration 6 + 7 + Create a `.leaflet-sync.yaml` file in your `hugo` project: 8 + 9 + ```yaml 10 + source: 11 + handle: "username.bsky.social" 12 + collection: "pub.leaflet.document" 13 + publication_name: "optional-publication-name" 14 + 15 + output: 16 + posts_dir: "content/posts/leaflet" 17 + images_dir: "static/images/leaflet" 18 + image_path_prefix: "/images/leaflet" 19 + 20 + template: 21 + frontmatter: | 22 + --- 23 + title: "{{ .Title }}" 24 + date: {{ .CreatedAt }} 25 + original_url: "{{ .OriginalURL }}" 26 + --- 27 + ``` 28 + 29 + ## How it works 30 + 31 + The tool resolves your Bluesky handle to find your personal data server, fetches your Leaflet documents, converts them to markdown, downloads embedded images, and writes Hugo-compatible markdown files to your specified output directory.