Cooya / Blog

Personal blog generated from markup language Markdown with Bulma CSS templates

Home Page:https://blog.cooya.fr

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blog

Personal blog generated from markup language Markdown with Bulma CSS templates

Features

  • Markdown to HTML convertion with Showdown
  • Showdown plug-in "gallery" to build lightGallery gallery of pictures
  • Showdown plug-in "tooltip" to build custom tooltips
  • Showdown plug-in "map" to build Leaflet maps with markers and arrows
  • JSON header configuration to set up some parameters like title, subtitle, picture widths, wallpaper, extensions, etc

Aliases to define to make life easier

alias sync-md='rsync -avu --delete <local_markdown_folder> server.com:<remote_markdown_folder>'
alias sync-pics='rsync -avu --delete <local_pictures_folder> server.com:<pictures_markdown_folder>'
alias deploy-blog='ssh server.com "cd Blog;git pull;forever restart <forever_process_id>"'

Create a new post

  1. Fill out the "config.js" file.
  2. Import pictures with the command import-pics.
Usage: import-pics <srcFolder> <destFolder> <picturesName> [--index NUMBER] [--commit]
  1. Generate a post with the following interactive command gen-post.
  2. Push the pictures to the remote server with the command alias sync-pics.
  3. Push the markdown posts to the remote server with the command alias sync-md.
  4. Deploy the server if needed (if new markdown file has been created for instance) with the command alias deploy-blog.

About

Personal blog generated from markup language Markdown with Bulma CSS templates

https://blog.cooya.fr


Languages

Language:CSS 58.1%Language:JavaScript 30.9%Language:HTML 10.9%