Skip to content
TNG Origin based stardate generator for pelican static blog system
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
__init__.py
readme.md
stardate.py

readme.md

This is a simple plugin that removes the need to download stardate-goddard package. You can use these two files instead.

To use it in your template simply add {{ article.stardate }} and it should work.

Alternatively you can pull the package down via pip install stardate-goddard and create a plugin folder. I have an example in the main repository http://github.com/goddard/stardate

Look in the examples folder and use the pelican-stardate.py file as your guide.

Output Example

15 July 2018 = 72003.1

This is a TNG origin based stardate.

You can’t perform that action at this time.