home.social

#frontmatter — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #frontmatter, aggregated by home.social.

  1. Ich kenn da jemanden, der ein #Python-#Script gebaut hat, mit dem man #HTMLy-#Markdown-Dateien in welche mit #Frontmatter für #AstroSSG konvertieren kann! Der HTMLy-Dateiname mit dem Datum und Tags wird auch bereinigt. Danke!

    https://codeberg.org/rluetzner/HTMLy2SSG

  2. Ich kenn da jemanden, der ein #Python-#Script gebaut hat, mit dem man #HTMLy-#Markdown-Dateien in welche mit #Frontmatter für #AstroSSG konvertieren kann! Der HTMLy-Dateiname mit dem Datum und Tags wird auch bereinigt. Danke!

    https://codeberg.org/rluetzner/HTMLy2SSG

  3. Ich kenn da jemanden, der ein #Python-#Script gebaut hat, mit dem man #HTMLy-#Markdown-Dateien in welche mit #Frontmatter für #AstroSSG konvertieren kann! Der HTMLy-Dateiname mit dem Datum und Tags wird auch bereinigt. Danke!

    https://codeberg.org/rluetzner/HTMLy2SSG

  4. Ich kenn da jemanden, der ein #Python-#Script gebaut hat, mit dem man #HTMLy-#Markdown-Dateien in welche mit #Frontmatter für #AstroSSG konvertieren kann! Der HTMLy-Dateiname mit dem Datum und Tags wird auch bereinigt. Danke!

    https://codeberg.org/rluetzner/HTMLy2SSG

  5. Ich kenn da jemanden, der ein #Python-#Script gebaut hat, mit dem man #HTMLy-#Markdown-Dateien in welche mit #Frontmatter für #AstroSSG konvertieren kann! Der HTMLy-Dateiname mit dem Datum und Tags wird auch bereinigt. Danke!

    https://codeberg.org/rluetzner/HTMLy2SSG

  6. With , you should try without community plugins first. It's really hard! The plugins ecosystem is awesome! 😅 Still. I'm finding what used to annoy me of obsidian, simply doesn't anymore. I needed to learn the basics.

    Like search.

    It's surprisingly versatile, but you MUST focus on your enrichment. 😉 You do so, and search queues are quite powerful.

    obsidian.md/help/plugins/search

  7. Broken FrontMatter Extension

    Reading Time: 2 minutes

    For two days now FrontMatter has been slightly broken. When I want to create new posts via the interface it refuses, so I have to copy and paste the front matter info from the previous day, and add it to a new markdown document. The operation is quick and easy but it's a shame not to have the tool working as well as it could.

    Every Hugo post has a title, a description, the date, preview, draft status, tags, and categories. With the FrontMatter extension all of this is generated automatically. For two or three days when I try to create a new page this isn't generated, hence doing it manually.

    In practice this is an opportunity to move towards a lighter tool. I could revert to using VIM and work towards being faster with this solution, or I could experiment with using emacs.

    With both of these solutions I could use a Pi for blogging, rather than a laptop or desktop. I could live in terminal, rather than use Ubuntu and MacOS. I tried it before, and eventually decided to revert to having a simplified workflow.

    Debugging

    I tried deactivating the plugin. I tried uninstalling and reinstalling it. I tried updating the system and packages. I also tried turning it off and on again, without success. The last thing to try is to clean install VS code and see if that helps.

    This could also be the opportunity to get a metaphorical leaf blower and move previous posts towards the blog archive, but I don't want to do that yet. I want to keep the history as it is.

    The Side Track

    A few months agoo I was trying to export my blog from WordPress to Ghost but it always timed out so that I only had a partial import of my current blog. I was thinking of playing with vibe coding to create a tool to convert the XML file to something ghost friendly. I haven't got around to it.

    Of course, because of age I know that with a google search I can find tools prepared by others that might achive what I want. A tool like MD2Ghost might work well.

    And Finally

    When a workflow breaks we can spend time fixing it, but we can also think laterally and learn about tools that are new to us. I enjoy having the Hugo static blog and the WordPress dynamic blog but I am curious about experimenting with ghost, to learn about a new blogging solution.

    #extension #frontmatter #hugo #vsCode

  8. Are people even using something else than YAML front matter in their Markdown (or whatever) files?

    Apparently there are SSGs that support HTML <meta> tag front matter, and if you're using ReStructured Text it probably does its own thing. And I bet there's at least one person on the planet building their website from ASN.1 files.

    What are _you_ using?

    #WebDev #SSG #YAML #Markdown #FrontMatter #PlainText #StaticSite #StaticWebsite

  9. Aaaand there you go: My first very own Python package on PyPI.

    pypi.org/project/felloff/

    felloff is a CLI tool to extract, edit (non-interactively, i.e. via command line switches), or remove YAML front matter in text files.

    Now also supports editing existing files in place (instead of just printing the changed version to stdout).

    Also, if you installed the 0.1.0 version please upgrade to 0.1.1, there's been a silly bug that broke reading from stdin … 🤦‍♂️

    #Python #CLI #YAML #FrontMatter #felloff

  10. If you'd like to test drive my YAML front matter CLI tool, you can now install it from Git using uv or pip(x). There's also a readme now that shows you what it can do and teaches you how to use it.

    codeberg.org/scy/felloff

    Let me know what you think and if you encounter any bugs!

    #YAML #FrontMatter #YAMLFrontMatter #Python #CLI #FOSS

  11. me: manually editing YAML front matter sucks

    also me: *spends a day writing a CLI tool for common tasks*

    (Not released yet, I have a few small features I'd like to implement first.)

    Edit: It's now available for testing via Git:

    codeberg.org/scy/felloff

    #YAML #FrontMatter #Python #CLI #SSG

  12. Naty @eclecticpassions ·

    Have you validated your :rss: feed? rssboard.org/rss-validator/

    I just did and realised there were lots of intraoperability suggestions on one of my blogs running and it was actually not even valid because I had a missing trailing slash on my baseURL!

    But I managed to sqash the errors (e.g. using absolute permalinks instead of relPermalinks and ensuring the date in the was in the right format).

    PS. Thanks @joel for inadvertently making me aware of the situation!

  13. Y’ALL!
    i need #YAML #Obisidan #Frontmatter help

    y’all know how you can add filters to frontmatter variables?
    help.obsidian.md/web-clipper/f

    how do i do this?

    1. TAKE A TITLE
    "Ohai This Is A Title: Made a long ass mess with all this text"

    2. USE THE COLON AS DELIMITER
    title: "Ohai This Is A Title"
    subtitle: "Made a long ass mess with all this text"

    3. SO I CAN TEMPLATE IT AS

    title: {{title|replace: ? : " " }}
    subtitle: {{title|replace: ? : " " }}
    alias: {{title}}

  14. Y’ALL!
    i need #YAML #Obisidan #Frontmatter help

    y’all know how you can add filters to frontmatter variables?
    help.obsidian.md/web-clipper/f

    how do i do this?

    1. TAKE A TITLE
    "Ohai This Is A Title: Made a long ass mess with all this text"

    2. USE THE COLON AS DELIMITER
    title: "Ohai This Is A Title"
    subtitle: "Made a long ass mess with all this text"

    3. SO I CAN TEMPLATE IT AS

    title: {{title|replace: ? : " " }}
    subtitle: {{title|replace: ? : " " }}
    alias: {{title}}

  15. Y’ALL!
    i need #YAML #Obisidan #Frontmatter help

    y’all know how you can add filters to frontmatter variables?
    help.obsidian.md/web-clipper/f

    how do i do this?

    1. TAKE A TITLE
    "Ohai This Is A Title: Made a long ass mess with all this text"

    2. USE THE COLON AS DELIMITER
    title: "Ohai This Is A Title"
    subtitle: "Made a long ass mess with all this text"

    3. SO I CAN TEMPLATE IT AS

    title: {{title|replace: ? : " " }}
    subtitle: {{title|replace: ? : " " }}
    alias: {{title}}

  16. Y’ALL!
    i need #YAML #Obisidan #Frontmatter help

    y’all know how you can add filters to frontmatter variables?
    help.obsidian.md/web-clipper/f

    how do i do this?

    1. TAKE A TITLE
    "Ohai This Is A Title: Made a long ass mess with all this text"

    2. USE THE COLON AS DELIMITER
    title: "Ohai This Is A Title"
    subtitle: "Made a long ass mess with all this text"

    3. SO I CAN TEMPLATE IT AS

    title: {{title|replace: ? : " " }}
    subtitle: {{title|replace: ? : " " }}
    alias: {{title}}

  17. Y’ALL!
    i need #YAML #Obisidan #Frontmatter help

    y’all know how you can add filters to frontmatter variables?
    help.obsidian.md/web-clipper/f

    how do i do this?

    1. TAKE A TITLE
    "Ohai This Is A Title: Made a long ass mess with all this text"

    2. USE THE COLON AS DELIMITER
    title: "Ohai This Is A Title"
    subtitle: "Made a long ass mess with all this text"

    3. SO I CAN TEMPLATE IT AS

    title: {{title|replace: ? : " " }}
    subtitle: {{title|replace: ? : " " }}
    alias: {{title}}

  18. I am looking for a sane/simple setup for "templating" in . I am not interested in javascript or whatever some tutorials are recommending. Just want to prefill with stuff like note title as tags... it can't be that complicated?

  19. 📝Tell GitHub to Render Markdown Pages with .gitattributes

    Articles on Hearthside are written in #Markdown (#GitHub-flavored), but the file extension is .md.yaml as they also make use of Jekyll-style front matter. My #Frontmatter gem requires that files it handles end in .yaml or .yml, so this is necessary.

    #Meta #NaBloPoMo2024
    calebhearth.com/m/github-lingu

  20. Завершил ещё один небольшой open source-проект: Preambula — обработчик Markdown-файлов, позволяющий преобразовывать их на лету в HTML, вставлять в заданный шаблон, добавлять или автоматически генерировать основные meta-теги и отображать как обычную Web-страницу. Использовал чистый PHP без всяких frameworks, поэтому работает быстро и с минимальным потреблением памяти.

    Скачать можно тут: https://preambula.4xpro.ru
    GitHub-репозиторий — https://github.com/XXXXPro/Preambula

    Изначально думал, что напишу за два-три дня (и базовую рабочую версию за это время и сделал, причём один день ушёл на выбор Markdown-парсера), но потом всякие мелкие доделки и написание документации заняли ещё две недели.
    #markdown #frontmatter #opensource #open_source

  21. I'm still not out of the rabbit hole of searching for an #OpenSource #PersonalKnowledgeManagement software. 🐰

    I'm gonna give a second try to @zettlr tomorrow! Their docs are *surprisingly* user-friendly and they claim to stick to the pure #CommonMark where probable. It's all the while being nice to researchers with citing, inline usage of #TeXLaTeX, #MermaidJS, and pop-over #footnotes. Provision of the simple #PDF export and #Pandoc customization are welcome, too!

    But, to be fair, I may be overexaggerating how good #Zettlr is because of my recent disgust with #VendorLocking. In fact, almost anything that closely follows the common spec and is #FreeSoftware might suffice already. Having something as advanced and closer to the roots is certainly refreshing!

    #Markdown #zettelkasten #authoring #Zettlr #ReferenceManager #ReferenceManagers #PKM #NoteTaking #NoteTakingApp #NoteTakingApps #KaTeX #frontmatter #Obsidian #Logseq #Anytype #Notion #VendorLock #VendorLockIn #FOSS #FLOSS

  22. I'm still not out of the rabbit hole of searching for an #OpenSource #PersonalKnowledgeManagement software. 🐰

    I'm gonna give a second try to @zettlr tomorrow! Their docs are *surprisingly* user-friendly and they claim to stick to the pure #CommonMark where probable. It's all the while being nice to researchers with citing, inline usage of #TeXLaTeX, #MermaidJS, and pop-over #footnotes. Provision of the simple #PDF export and #Pandoc customization are welcome, too!

    But, to be fair, I may be overexaggerating how good #Zettlr is because of my recent disgust with #VendorLocking. In fact, almost anything that closely follows the common spec and is #FreeSoftware might suffice already. Having something as advanced and closer to the roots is certainly refreshing!

    #Markdown #zettelkasten #authoring #Zettlr #ReferenceManager #ReferenceManagers #PKM #NoteTaking #NoteTakingApp #NoteTakingApps #KaTeX #frontmatter #Obsidian #Logseq #Anytype #Notion #VendorLock #VendorLockIn #FOSS #FLOSS

  23. I'm still not out of the rabbit hole of searching for an #OpenSource #PersonalKnowledgeManagement software. 🐰

    I'm gonna give a second try to @zettlr tomorrow! Their docs are *surprisingly* user-friendly and they claim to stick to the pure #CommonMark where probable. It's all the while being nice to researchers with citing, inline usage of #TeXLaTeX, #MermaidJS, and pop-over #footnotes. Provision of the simple #PDF export and #Pandoc customization are welcome, too!

    But, to be fair, I may be overexaggerating how good #Zettlr is because of my recent disgust with #VendorLocking. In fact, almost anything that closely follows the common spec and is #FreeSoftware might suffice already. Having something as advanced and closer to the roots is certainly refreshing!

    #Markdown #zettelkasten #authoring #Zettlr #ReferenceManager #ReferenceManagers #PKM #NoteTaking #NoteTakingApp #NoteTakingApps #KaTeX #frontmatter #Obsidian #Logseq #Anytype #Notion #VendorLock #VendorLockIn #FOSS #FLOSS

  24. I'm still not out of the rabbit hole of searching for an #OpenSource #PersonalKnowledgeManagement software. 🐰

    I'm gonna give a second try to @zettlr tomorrow! Their docs are *surprisingly* user-friendly and they claim to stick to the pure #CommonMark where probable. It's all the while being nice to researchers with citing, inline usage of #TeXLaTeX, #MermaidJS, and pop-over #footnotes. Provision of the simple #PDF export and #Pandoc customization are welcome, too!

    But, to be fair, I may be overexaggerating how good #Zettlr is because of my recent disgust with #VendorLocking. In fact, almost anything that closely follows the common spec and is #FreeSoftware might suffice already. Having something as advanced and closer to the roots is certainly refreshing!

    #Markdown #zettelkasten #authoring #Zettlr #ReferenceManager #ReferenceManagers #PKM #NoteTaking #NoteTakingApp #NoteTakingApps #KaTeX #frontmatter #Obsidian #Logseq #Anytype #Notion #VendorLock #VendorLockIn #FOSS #FLOSS

  25. I'm still not out of the rabbit hole of searching for an software. 🐰

    I'm gonna give a second try to @zettlr tomorrow! Their docs are *surprisingly* user-friendly and they claim to stick to the pure where probable. It's all the while being nice to researchers with citing, inline usage of , , and pop-over . Provision of the simple export and customization are welcome, too!

    But, to be fair, I may be overexaggerating how good is because of my recent disgust with . In fact, almost anything that closely follows the common spec and is might suffice already. Having something as advanced and closer to the roots is certainly refreshing!

  26. Using the Python "frontmatter" module, how can I output an empty list?

    When I set the value to:

    fm["field"] = []

    Then the output does not include "field" at all. However I need the actual empty list in the output.

    Any ideas? Thanks!

    #Python #Python3 #Frontmatter

  27. Now that #Obsidian does proper support to links in frontmatter, I was finally motivated to replace the inline properties and add them to #frontmatter

  28. An exciting discovery this morning. I installed VSCodium on a whim as it is the FOSS variant of VS Code. Why devs would use an IDE from MS is beyond me. While fiddling with the extensions available I found Front Matter.

    Holy sh*t!

    It is a CMS for your SSG of choice that gives you a dashboard view of the content you are building and also lets you preview while editing. ‘

    <mind blown>

    frontmatter.codes/

    #VSCodium #FrontMatter #Hugo #Mac