Found a mistake? Please contact me.

  • Link: Custom 404 page

    Some themes include a custom “404 not found” page when a visitor to your blog tries to request a page that is no longer on the web, or if they mistype a URL. You can override this page in 2 different ways:

    • The easiest way is to create a new Micro.blog page under Posts → Pages. For the title, type “404” and save the page. Micro.blog will notice that special title and automatically set up the page filename to be /404.html. You can later edit the title or text content to anything you want.
    • If you need more control, use a custom Micro.blog theme to add a new template in layouts/404.html. This can use any Hugo includes to show headers, footers, or handle other logic.

    When neither of these pages are found, Micro.blog will return a basic “Not Found” page.

    Source: Custom 404 page - Micro.blog Help.

  • Link: Help page for Teams includes theme tips

    I’ve added a help page for teams in Micro.blog. Includes details on the Hugo parameters for adding author names to custom themes.

    Source: Manton Reece.

    Extract from the help page for teams:

    The Marfa design has a place in the footer of each post that shows the author of that post. Other custom themes may need modifications if you want to include author information.

    The Marfa design has a place in the footer of each post that shows the author of that post. Other custom themes may need modifications if you want to include author information. …

    If the blog is not a team blog, these parameters will be blank. You can check whether the author is available, and then fall back on the blog’s default author …

  • List posts chronological within a day

    From Jason Becker json on Slack (07 April 2020):

    … here’s a template snippet from my layouts/index.html that will allow your posts to be listed in reverse chronological order by day, but within a day be in chronological order. Which I quite like.

    {{ $posts := where site.RegularPages “Type” “post” }}
    {{ $grouped := $posts.GroupByDate “2006-01-02” }}
    {{ $paginated := (.Paginate ($grouped)) }}
    ​
    {{ range $paginated.PageGroups }}
    {{ $thedate := (time .Key) }}
    <h1> {{ $thedate.Format “January 02” }}</h1>
      {{ range .Pages.Reverse }}
        {{ if eq .Type “post” }}
          {{ .Render “summary”}}
        {{- end }}
      {{ end }}
    {{ end }}
    

  • Link: Excluding posts from the timeline

    We can leverage categories to build this feature of picking which posts should appear in the timeline.

    Source: Manton Reece - Excluding posts from the timeline.

  • Link: Help page for Replies with Conversation.js

    Replies with Conversation.js - Micro.blog Help.

    this is not just about taking Micro.blog-only replies and putting them on your blog. … it now becomes much more useful for other blogs to send you replies. Those replies can appear on your blog, with Micro.blog mostly acting as glue so that both blogs can talk to each other.

  • Link: Replies on your blog with Conversation.js

    …a new feature for Micro.blog that I’m calling Conversation.js. It’s a JavaScript include that lets you take a conversation on Micro.blog and drop it into your blog.

    Like a lot of Micro.blog features, it works either as a simple feature you can enable with a click, or as a more advanced API that can be customized however you’d like.

    Source: Manton Reece - Replies on your blog with Conversation.js.

  • Link: Easier Micro.blog podcast cover art

    There’s a new feature on Micro.blog under Posts → Design that lets you change the cover art [for a podcast]. … Click the existing cover art to select a new image from your uploads.

    Source: Manton Reece - Easier Micro.blog podcast cover art.

List of Tutorials.

⌘ This site and tutorials before July 2020 were created by Miraz Jordan. ⌘