You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/contrib.md
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -57,3 +57,11 @@ Small images could be pushed along with texts to the [/img](https://github.com/e
57
57
Here`my-image.png` should be your file name, while`&imgroot&` is some magic which will expand to proper url prefix when shown at the site (so you need not know the precise prefix of github raw data).
58
58
59
59
Larger images should be posted to some image-hosting, like[PostImage](http://postimage.org) or[ImgUr](http://imgur.com/) - they will then give you the url to insert into the page.
60
+
61
+
###Page Template
62
+
63
+
Template for the pages (the one which creates small violet header and footer, determines the layout of the text, includes css and js files) is now also stored in this repo, in[src/\_templates](https://github.com/e-maxx-eng/e-maxx-eng/tree/master/src/_templates) folder. So in case you find some bugs in it, or with the passing of time some new features may be needed in it - create PR to improve it. Note that for testing purposes the alternative template could be created and used for specific page with the inclusion of special comment as shown below:
64
+
65
+
<!--?template myfunnytemplate-->
66
+
67
+
The templates are cached for about 3600 seconds, rather than 300 seconds for ordinary pages, so be patient :)