You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
Niko Abeler 0723beb92a Merge branch 'master' of ssh://git.libove.org:222/h4kor/owl-blogs 10 months ago
.vscode refactoring 11 months ago
assets mascot v1 10 months ago
cmd WIP RSS renderer. #3 10 months ago
embed WIP RSS renderer. #3 10 months ago
.gitignore .gitignore + README 10 months ago
README.md date adjustment 10 months ago
directories.go limit posts to single depth directory 10 months ago
go.mod renaming to owl-blogs 10 months ago
go.sum http router 10 months ago
kiss_test.go renaming to owl-blogs 10 months ago
post.go Include Date in RSS Feed #3 + Parse metadata as struct 10 months ago
post_test.go items in rss feed. #3 10 months ago
renderer.go testing single user mode 10 months ago
renderer_test.go renaming to owl-blogs 10 months ago
repository.go items in rss feed. #3 10 months ago
repository_test.go Collect aliases 10 months ago
rss.go Include Date in RSS Feed #3 + Parse metadata as struct 10 months ago
rss_test.go items in rss feed. #3 10 months ago
user.go four digit year #3 + README update 10 months ago
user_test.go Include Date in RSS Feed #3 + Parse metadata as struct 10 months ago

README.md

Owl Blogs

A simple web server for blogs generated from Markdown files

Repository

A repository holds all data for a web server. It contains multiple users.

User

A user has a collection of posts. Each directory in the /users/ directory of a repository is considered a user.

User Directory structure

<user-name>/
  \- public/
       \- <post-name>
            \- index.md
                -- This will be rendered as the blog post.
                -- Must be present for the blog post to be valid.
                -- All other folders will be ignored
            \- media/
                -- Contains all media files used in the blog post.
                -- All files in this folder will be publicly available
  \- meta/
       \- base.html
            -- The template used to render all sites
       \- VERSION
            -- Contains the version string.
            -- Used to determine compatibility in the future
  \- config.yml
        -- Contains settings global to the user.
        -- For example: page title and style options

Post

Posts are Markdown files with a mandatory metadata head.

  • The title will be added to the web page and does not have to be reapeated in the body. It will be used in any lists of posts.
  • aliases are optional. They are used as permanent redirects to the actual blog page.
---
title: My new Post
date: 13 Aug 2022 17:07 UTC
aliases:
     - /my/new/post
     - /old_blog_path/
---

Actual post