-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Site Extensions ? #4
Comments
Hi, Sorry, no site extension documents for English now, I will add it soon, may be latest this month. Or you can check "mweb-medium-like" Theme: https://github.com/oulvhai/mweb-medium-like. MWeb has two extension: Site Extension and Document Extension. You can access all Site Extension variable in all template page use "ext_ + variable name", for example in "footer.html" https://github.com/oulvhai/mweb-medium-like/blob/master/footer.html, like: {{ ext_disqus_shortname }}. Document Extension only for every post, also use "ext_ + variable name", for example: https://github.com/oulvhai/mweb-medium-like/blob/master/category.html, like: {% if p.ext_featured_image.length %}, {% if p.ext_small_image.length %} ... |
That's amazing, I get it now. |
@melMass Yes, Plan to that feature. Thanks. |
Hi oulvhai,
Great job on mweb, using it everyday.
I'm trying to use your site system over jekyll and was looking for documentation on site extensions ?
thanks
The text was updated successfully, but these errors were encountered: