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.
23 lines
691 B
23 lines
691 B
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`.
|
|
|