Skip to content

Granitosaurus/likes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

likes

"Likes" is a tag-driven static website generator for creating list website of stuff you like.

wil screenshot

Live example can be found: granitosaurus.rocks/likes

Installing

Click "Use This Template" button on github repository.

Then clone the repository and install dependencies

$ git clone https://github.com/YOU/likes
$ cd likes
$ poetry install --no-root
$ poetry shell

Done! You can test it via:

$ invoke livereload
go to http://localhost:8000

Usage

For detailed usage see official Pelican documentation but as quick overview:

  1. Create your entries as markdown files in content/ directory following this template:

    # e.g. this would be /content/snakes.md
    Title: Snakes
    Date: 2020-02-01
    Tags: pet,animal,nature
    Summary: Short summary of the subject
    Thumb: snake.jpg  # taken from /content/img directory
    
    long blog body that can include anything you want as long as it's markdown or html.

    You can use invoke new <title> <tags> <summary> command shortcut.

  2. Preview it in your browser:

    $ invoke livereload

    go to http://localhost:8000

  3. publish the site on github:

    invoke github
    
  4. Enable github pages option in your repository under repository->settings->options->github pages (select master branch) and go to http://your_username.github.io/likes

see me branch for real live example.

About

"What I Like" - static website generator for listings things you like!

Resources

License

Stars

Watchers

Forks

Packages

No packages published