forked from oyd/mediagoblin-oyd
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Özcan Oğuz
c4293e28d3
|
5 years ago | |
---|---|---|
mediagoblin-oyd | 5 years ago | |
.gitignore | 8 years ago | |
AUTHORS | 5 years ago | |
COPYING | 10 years ago | |
README.md | 5 years ago | |
setup.py | 5 years ago |
README.md
MediaGoblin for ÖYD
A simple plugin for https://medya.oyd.org.tr derived from LibrePlanet
Installation
Copy mediagoblin-oyd
directory to $MEDIAGOBLIN_HOME/mediagoblin/plugins
Add [[mediagoblin.plugins.mediagoblin-oyd]]
to mediagoblin.ini
file
Usage
Example config:
[[mediagoblin.plugins.mediagoblin-oyd]]
name = type, tag
Valid type inputs are image, video, audio, pdf, raw_image, ascii, stl
Please sure that you enabled these filetypes in your mediagoblin.ini
file.
In this configuration, name
will be the shortcode for your category. You can use
this as {{ media_grid(request, name) }}
in your templates such as root.html
.