Repository navigation
2. Configure your blog
[IMPORTANT] After deploying DasBlog Core the first request to your site sends you through a one-time setup flow to create the admin account. Until you finish it, every URL redirects to /account/setup.
Open your blog in a browser and you'll be redirected to /account/setup, where you supply:
- Admin email — used to sign in and shown as the author byline on posts
- Display name — shown in the UI
- Password — must be at least 8 characters; pick something strong
After submitting the form you're redirected to the login page. Sign in with the credentials you just created. Your password is stored as a salted PBKDF2 hash; the plaintext is never written to disk.
You can come back to /admin/authors/ at any time to change your email, display name, or password.
DasBlog currently supports a single user, and its role must be set to "Admin" ("Contributor" may get defined in a future iteration of DasBlog Core).
These credentials can be used to open, edit and publish blog posts with tools like Open Live Writer or MarsEdit.
The Site Settings page (.../admin/settings) also allow you to customize everything related to your site. We recommend you begin with the following sections:
- Main
- Front Page
- Meta data
- Social
If you can get to a command line in the root of your web deployment (typically wwwroot) you can clear the stored password and re-run the setup flow on next start.
Linux SSH: dotnet dasblog-core.dll resetpassword
Windows: dasblog-core resetpassword
The command prompts for confirmation (type reset to proceed, or pass -y to skip the prompt). It clears every user's password — the next time you visit the site you'll be sent back to /account/setup to pick a new admin email and password.
DasBlog Core ships with several built-in themes. You can browse, switch, and customize themes from the admin theme editor at /admin/themes.
- Switch themes by clicking Set as Active on any installed theme
- Create a custom theme using the theme editor's Create action, which copies an existing theme as a starting point
- Edit files directly in the browser with syntax highlighting
- Built-in themes are read-only; create a copy to customize
For details on theme structure, the file editor, and creating themes from scratch see Designing a theme.
DasBlog Core supports static pages for content that lives outside the blog post timeline (e.g., About, Contact). Manage static pages at /admin/staticpages.
- Create/Edit — Pages are simple HTML rendered through your active theme layout
- Backups — Each save automatically creates a backup; you can revert to a previous version
- Delete — Remove pages you no longer need
Static page files are stored under your content directory in a static subfolder. If a blog post shares the same slug as a static page, the blog post takes precedence.
DasBlog Core includes basic ActivityPub support for Fediverse discovery. To enable it, configure the following in the Social section of admin settings (/admin/settings):
-
Mastodon Server URL — Your Mastodon instance (e.g.,
https://mastodon.social) - Mastodon Account — Your Mastodon username
These values are stored in Config/meta.[Environment].config.
If you upgraded from an older version where Mastodon values lived in site.[Environment].config, the first save in Admin Settings keeps the values in meta.[Environment].config and clears the legacy site.[Environment].config keys.
When configured, your blog exposes WebFinger, Actor, and Outbox endpoints so Fediverse users can discover and follow your blog.
You can configure a CDN endpoint for your blog. CDN stands for Content Delivery Network. This is an optional setup that requires you to subscribe to a CDN service.
By default, your blog posts are hosted in the blog application /content folder in xml format. Any files you upload to your blog e.g., photos, and gifs are by default stored in the /content/binary/.
An alternative approach for the binaries is to configure a CDN solution. CDN is a service to which you add an endpoint referring to your binary folder. Your blog posts will not refer to the origin location for the files, but instead refer to another URL - a CDN domain.
When a file is uploaded along with your blog post, it will be stored as normal in the blog binary folder. However, the URL returned in the blog post will instead reference the CDN domain.
- Set up your CDN provider endpoint to refer to your site binaries.
- You can optionally set up a custom domain for your CDN in the Internal section of Admin Settings page (.../admin/settings)
- You can manually configure this
site.[Environment].configfile with your CDN settings.- Binary origin configuration:
<CdnFrom>https://example.com/content/</CdnFrom>. - CDN alternative configuration:
<CdnTo>https://cdn.example.com/content/</CdnTo>.
- Binary origin configuration:
Note: A CDN solution will not work when you are running on localhost. The CDN cannot see your localhost.
DasBlog Core supports comments on blog posts with several configuration options available in the Comments section of admin settings (/admin/settings):
- Markdown in comments — Allow commenters to use Markdown formatting
- Comment approval — Require admin approval before comments appear
- Comment time limit — Set the number of days comments are allowed after a post is published
- Spam protection — Use Akismet moderation and/or a simple challenge question (Cheesy Spam Q&A)
- Gravatar — Display commenter avatars via Gravatar
Moderate comments at /admin/manage-comments.
View site activity and diagnostics at /admin/log. The log viewer shows daily activity including requests, errors, and referrals.
DasBlog Core can send a daily summary email with site activity. Enable this in the Email & Notifications section of admin settings and configure your SMTP server.
A cookie consent banner can be toggled on or off in the Appearance section of admin settings.
DasBlog exposes /robots.txt and /sitemap.xml automatically. The sitemap
contains the canonical URLs for public posts, category pages, and archive
pages, with each URL's actual last-modified date. Submit the sitemap URL to
Google Search Console and Bing Webmaster Tools after deployment.
Set the production Root URL and the Meta data fields in Admin Settings
before submitting the site. Current themes use these values to emit canonical
URLs, descriptions, Open Graph metadata, Twitter cards, and BlogPosting
structured data. Custom themes should include the matching
HTML head tag helpers.
If you have additional questions or concerns please submit an issue.