Graham
vinxsixn the standard blog twig is here
http://syntax.xtgem.com/_templates/xtgem_blog.twig.js
upload to _xtgem_templates and rename xtblog.twig
the old dropbox url is dead
vinxsixn
twig for xtblog is broken, can you re-upload it please. thanks
Graham
GistBirD you just create the _xtgem_templates folder upload them and remove the .js the rest is automatic
GistBirD
Graham Sir, after uploading therse files, how can I add them to my blog? Can I include them as xt_file?
Graham
Wapper part 1 can be done with css
.xt_description .xt_image {display:block !important}
Copy code
the missing / in the image tag I will ask about
Wapper
Graham When we decide to show first image and truncated text, there isn't any line break between image and texts. It looks messy image and text in same line. Any way to add a <br/> there? or you can consider it officially. The image tag is not closed either, ending '/' missing.
Graham
Wapper I found it and I think it was my error.
In the version you are using a </div> is in the wrong place so it is only being used when comments are on
Near the bottom of the script change
<div class="xt_submit">
<input class="xt_button" type="submit" value="{{ data.translations.t_post }}" />
</div>
</form>
</div>
</div>
{% endif %}
{% endblock %}
{% elseif view == 'no_contents' %}
To
<div class="xt_submit">
<input class="xt_button" type="submit" value="{{ data.translations.t_post }}" />
</div>
</form>
</div>
{% endif %}
{% endblock %}
</div>
{% elseif view == 'no_contents' %}
I have also made the change in the code you posted below