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.
 
 

1.1 KiB

Blogo

Static blog generator, templating engine from markdown and html templates

Types of blogo tags:

  • index.html
[blogo-title]
[blogo-index]
  • postTemplate.html
[blogo-post-title]
[blogo-post-md]

Example of config.json:

{
    "title": "my blog",
    "indexTemplate": "index.html",
    "indexPostTemplate": "indexPostTemplate.html",
    "postTemplate": "postTemplate.html",
    "posts": [
        {
            "title": "Post 01",
            "thumb": "post01thumb.md",
            "md": "post01.md"
        },
        {
            "title": "Post 02",
            "thumb": "post02thumb.md",
            "md": "post02.md"
        }
    ]
}

Example of input files:

  • index.html
<!DOCTYPE html>
<html>
<head>
  <title>[blogo-title]</title>
</head>
<body>

[blogo-index]

</body>
</html>
  • indexPostTemplate.html
<div class="col-md-3">
  [blogo-index-post-template]
</div>

  • postTemplate.html
<!DOCTYPE html>
<html>
<head>
  <title>[blogo-post-title]</title>
</head>
<body>

[blogo-post-content]

</body>
</html>