lingo.lol is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for linguists, philologists, and other lovers of languages.

Server stats:

59
active users

#FrontMatter

0 posts0 participants0 posts today
scy<p>Aaaand there you go: My first very own Python package on PyPI.</p><p><a href="https://pypi.org/project/felloff/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">pypi.org/project/felloff/</span><span class="invisible"></span></a></p><p>felloff is a CLI tool to extract, edit (non-interactively, i.e. via command line switches), or remove YAML front matter in text files.</p><p>Now also supports editing existing files in place (instead of just printing the changed version to stdout).</p><p>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&nbsp;… 🤦‍♂️</p><p><a href="https://chaos.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://chaos.social/tags/CLI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CLI</span></a> <a href="https://chaos.social/tags/YAML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>YAML</span></a> <a href="https://chaos.social/tags/FrontMatter" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FrontMatter</span></a> <a href="https://chaos.social/tags/felloff" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>felloff</span></a></p>
scy<p>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.</p><p><a href="https://codeberg.org/scy/felloff" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">codeberg.org/scy/felloff</span><span class="invisible"></span></a></p><p>Let me know what you think and if you encounter any bugs!</p><p><a href="https://chaos.social/tags/YAML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>YAML</span></a> <a href="https://chaos.social/tags/FrontMatter" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FrontMatter</span></a> <a href="https://chaos.social/tags/YAMLFrontMatter" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>YAMLFrontMatter</span></a> <a href="https://chaos.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://chaos.social/tags/CLI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CLI</span></a> <a href="https://chaos.social/tags/FOSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FOSS</span></a></p>
scy<p>me: manually editing YAML front matter sucks</p><p>also me: *spends a day writing a CLI tool for common tasks*</p><p>(Not released yet, I have a few small features I'd like to implement first.)</p><p>Edit: It's now available for testing via Git:</p><p><a href="https://codeberg.org/scy/felloff" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="">codeberg.org/scy/felloff</span><span class="invisible"></span></a></p><p><a href="https://chaos.social/tags/YAML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>YAML</span></a> <a href="https://chaos.social/tags/FrontMatter" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>FrontMatter</span></a> <a href="https://chaos.social/tags/Python" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Python</span></a> <a href="https://chaos.social/tags/CLI" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>CLI</span></a> <a href="https://chaos.social/tags/SSG" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>SSG</span></a></p>
Naty<p>Have you validated your :rss: <a href="https://fosstodon.org/tags/RSS" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>RSS</span></a> feed? <a href="https://www.rssboard.org/rss-validator/" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://www.</span><span class="">rssboard.org/rss-validator/</span><span class="invisible"></span></a></p><p>I just did and realised there were lots of intraoperability suggestions on one of my blogs running <a href="https://fosstodon.org/tags/Hugo" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Hugo</span></a> and it was actually not even valid because I had a missing trailing slash on my baseURL!</p><p>But I managed to sqash the errors (e.g. using absolute permalinks instead of relPermalinks and ensuring the date in the <a href="https://fosstodon.org/tags/frontmatter" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>frontmatter</span></a> was in the right format).</p><p>PS. Thanks <span class="h-card" translate="no"><a href="https://fosstodon.org/@joel" class="u-url mention" rel="nofollow noopener" target="_blank">@<span>joel</span></a></span> for inadvertently making me aware of the situation! </p><p><a href="https://fosstodon.org/tags/rssfeed" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>rssfeed</span></a></p>
your auntifa liza 🇵🇷 🦛 🦦<p>Y’ALL! <br>i need <a href="https://mastodon.social/tags/YAML" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>YAML</span></a> <a href="https://mastodon.social/tags/Obisidan" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Obisidan</span></a> <a href="https://mastodon.social/tags/Frontmatter" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>Frontmatter</span></a> help</p><p>y’all know how you can add filters to frontmatter variables?<br><a href="https://help.obsidian.md/web-clipper/filters" rel="nofollow noopener" translate="no" target="_blank"><span class="invisible">https://</span><span class="ellipsis">help.obsidian.md/web-clipper/f</span><span class="invisible">ilters</span></a></p><p>how do i do this?</p><p>1. TAKE A TITLE<br>"Ohai This Is A Title: Made a long ass mess with all this text" </p><p>2. USE THE COLON AS DELIMITER<br>title: "Ohai This Is A Title"<br>subtitle: "Made a long ass mess with all this text"</p><p>3. SO I CAN TEMPLATE IT AS</p><p>title: {{title|replace: ? : " " }} <br>subtitle: {{title|replace: ? : " " }} <br>alias: {{title}}</p>