Go to file
Niko Abeler 52a68c1cae single user mode in server. #1 2022-08-03 20:49:00 +02:00
.vscode refactoring 2022-07-20 19:32:32 +02:00
cmd single user mode in server. #1 2022-08-03 20:49:00 +02:00
embed refactoring + tests for web 2022-08-03 19:41:13 +02:00
.gitignore .gitignore + README 2022-08-03 16:49:17 +02:00
README.md directory structure 2022-08-03 17:56:13 +02:00
directories.go limit posts to single depth directory 2022-08-03 18:03:10 +02:00
go.mod renaming to owl-blogs 2022-08-03 16:55:48 +02:00
go.sum http router 2022-08-01 21:06:48 +02:00
kiss-cli refactoring 2022-07-20 19:32:32 +02:00
kiss_test.go renaming to owl-blogs 2022-08-03 16:55:48 +02:00
post.go refactoring + tests for web 2022-08-03 19:41:13 +02:00
post_test.go refactoring + tests for web 2022-08-03 19:41:13 +02:00
renderer.go renaming to owl-blogs 2022-08-03 16:55:48 +02:00
renderer_test.go renaming to owl-blogs 2022-08-03 16:55:48 +02:00
repository.go single user mode in server. #1 2022-08-03 20:49:00 +02:00
repository_test.go possibility to open repo in single user mode. #1 2022-08-03 20:34:42 +02:00
user.go possibility to open repo in single user mode. #1 2022-08-03 20:34:42 +02:00
user_test.go refactoring + tests for web 2022-08-03 19:41:13 +02:00

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