1774170106-elettrona-poliversity-it-reply-1
@elettrona@poliversity.it @fabio@manganiello.eu welcome onboard π
the title and authors are set into the docker-compose.yaml as variables, while the config.yaml isn't there. I mean, on madblog/config there is "config.yaml" which is a folder instead of a text file as it should.
You can set title and authors either through environment variables or config.yaml.
Environment variables way:
services:
madblog:
# ...
environment:
- MADBLOG_TITLE="My Blog"
- MADBLOG_DESCRIPTION="This is my blog"
- MADBLOG_AUTHOR="My Name"
- MADBLOG_AUTHOR_URL="https://..."
- MADBLOG_AUTHOR_EMAIL="..."
config.yaml:
title: "My Blog"
description: "This is my blog"
author: "My Name"
author_url: "https://..."
author_email: "..."
is there a way to create a nav bar, such as an "about" page residing in the header? "social networks" are in the external links section you set up in the yaml.
I'm working on that right now and it should be available in the next Docker release (you can just do a docker pull quay.io/blacklight/madblog when ready and restart your container).
And categories? You create a folder, or add the category name into yaml configuration file?
A list of categories is supported on the config.yaml:
categories:
- category1
- category2
But it's purely for SEO purposes - it'll add <meta> links in the home page to help search engines categorize your blog.
Otherwise folders are probably the most straightforward way - folders under markdown/ are rendered on the blog index.
I didn't understand the whole activitypub part though, how to check if I have installed the correct python libraries for it.
The Pubby library is installed by default, but federation is not enabled by default. You need to enable it explicitly with enable_activitypub in the config.yaml (or the MADBLOG_ENABLE_ACTIVITYPUB env var).
enable_activitypub: true
# differs from the domain name you want to expose to ActivityPub, e.g.
# your blog is on madblog.plusbrothers.net but you want your Fediverse
# domain to be @plusbrothers.net
activitypub_link: https://plusbrothers.net
activitypub_domain: plusbrothers.net
# The username to expose to ActivityPub - in this configuration's case
# your user will be @elena@plusbrothers.net
activitypub_username: elena
# Additional profile fields that you want to add to your ActivityPub profile
# when visited on Mastodon (supports verification)
activitypub_profile_fields:
"Powered by Madblog": https://git.fabiomanganiello.com/madblog
"Main Profile": '<a href="https://mastodon.social/@me" rel="me">@me@mastodon.social</a>'
Reactions
How to interact with this page
Webmentions
To interact via Webmentions, send an activity that references this URL from a platform that supports Webmentions, such as Lemmy, WordPress with Webmention plugins, or any IndieWeb-compatible site.
ActivityPub
- Follow @fabio@manganiello.blog on your ActivityPub platform (e.g. Mastodon, Misskey, Pleroma, Lemmy).
- Mention @fabio@manganiello.blog in a post to feature on the Guestbook.
- Search for this URL on your instance to find and interact with the post.
- Like, boost, quote, or reply to the post to feature your activity here.
@fabio I'll look at it; what I'm wondering is how to create the so-called header and footer links which appear on every page. Where you put your project/company/blog's mission explanation, the "support us" links, contacts, and (in case of writers) license, as creative commons and so on.
I also noticed an accessibility issue both in cards and lists mode: post titles aren't semantically marked with h2 headings.
I'd expect main blog's title with h1, then every title in the blog posts list is an h2. See the example in WordPress blogs
@fabio is there a complete documentation of all configuration variables? In the config yaml example I didn't find the nav_links variable.
And about pages: if I want to link to a specific blog's article? I was wondering how it works. If I want to place the guestbook page into the nav bar, should I link the whole http URL or just /guestbook?
Then - on WriteFreely, if I publish a post and pin it, it goes to header's links. As it should. But every markdown post I upload on madblog, gets into the Rss I think, like normal posts, even if it's not a post but a "static" page
@fabio This platform seems very interesting. It has a bigger learning curve than WordPress but, as far as I understood, I have no longer to worry about themes and stuff - except for the logo if needed, maybe I should set dimension manually (no idea of how sighted folks need it to be!)