Skip to content

franksalas/blog

Repository files navigation

Netlify Status

What is this?

Static site buid on Hugo, a static site framework written in go, deploid on Netlify.

Why is this?

I wanted a place where I could write intresting things I've learned where I or anyone could go back to.

Who is this?

who


Requirements

  • go 1.13.3
  • Hugo 0.75.0-DEV (req for new theme upgrade)
  • Theme is heavily modified version of hugo-theme-even
  • python ( for blog_post.py file, it generates custom folders & template post)

Build

Clone repo

git clone https://github.com/franksalas/blog.git

cd blog

Run

hugo server

Create a blog post

On your terminal type

python blog_post.py "Name of Blog post"

It will create:

  • markdown file under /content/post/ with the name of your blog post
  • creates a folder under/content/images/ with the name of the blog post

If any file or directory were created previously, it will skip the steps.

content/
    images/
        name-of-blog-post/  // <- place images & graphs here
    post/
        name-of-blog-post.md // blog post

Thats it