rootUrl = 'https://blog.ladas552.me' language = 'en-us' title = 'Rattman' author = 'ladas552' # Code blocks highlighting [highlighter] enable = true # engine = 'prism' # Can be 'prism' or 'hljs'. Defaults to 'prism' # RSS feed [rss] enable = true description = 'Latest posts' ttl = 60 image = '/assets/nix-snowflake-rainbow.svg' [seo] sitemap = true open_graph = true twitter_site = "@ladas552" twitter_creator = "@ladas552" [[collections]] name = "posts" dir = "posts" [[collections]] name = "nix" dir = "nix" # Content Scheme ## Global options [content_schema] required = [ "title", "description", "authors", "categories" ] ## field rules [content_schema.fields] title = { type = "string", max_length = 40, pattern = "^[A-Z].*" } description = { type = "string", max_length = 100 } categories = { type = "array", items = { type = "string" }, min_items = 1 } authors = { type = "string", pattern = "ladas552"} # publish date for '/posts' [content_schema.post.rules] if = { draft = false } then = { required = ["created"] }