This template is extracted from NoneMeme/NoneMeme.
MemeBox can contain various contents including images and markdown documents.
-
Prepare a
make
tool. -
Generate your repo with this template.
-
Clone your repo.
-
Open a shell and switch to the repo directory.
-
Run
make
.NOTE: The default
PAGELANG
is nowen
(English).Read more info in Custom text.
-
Add your contents to
art/
(for documents) ormeme/
(for pictures).NOTE: MemeBox does not include any icon files.
You should prepare your icons and put them into
static/
folder.See the output from make for more information.
-
Commit and push.
Usually, you may expect to change some text rather than "MemeBox" etc.
For this, you can define these temporary environment variables below to override the default:
Name | Description |
---|---|
PAGELANG | Page language mark for .html file, also decides the default text, e.g. "zh" |
TITLE | The title of your memebox, e.g. "MemeBox" |
DESC | A short description for your memebox, e.g. "Joy for Everyone" |
TDESC | A description for the text part |
FOOTER | Footer on every pages |
Just like this:
PAGELANG=en TITLE=Foo DESC=Bar FOOTER="Lorem ipsum" make
If the default text does not satisfy you, don't worry, they are also customizable with the way above:
Name | Description |
---|---|
T_MEMEPIC | Indicates a hyperlink jumping to picture page |
T_MEMETXT | Indicates a hyperlink jumping to text page |
T_DOWNLOAD | A hint for downloading a image |
T_ANOTHER | A hint for randomly picking a image |
T_BACK | A hint for leaving the full view |
T_ZOOMIN | A hint for entering the full view |
T_NIMGS | Images summary text |
This template is under the MIT License.