Skip to content
/ Blog Public

Personal blog generated from markup language Markdown with Bulma CSS templates

Notifications You must be signed in to change notification settings

Cooya/Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published