Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Sam Wilson
Sam Wilson
@samwilson@wikis.world  ·  activity timestamp 6 days ago

You can get rid of a newline at the end of a #Twig template by ending with a comment whose closing hash-brace is prefixed with a hyphen. Like this: https://github.com/samwilson/hmw/blob/0387d12fd7f6fae14a04f720e80aef54cd921b5e/templates/shortcodes/link.html.twig

GitHub

hmw/templates/shortcodes/link.html.twig at 0387d12fd7f6fae14a04f720e80aef54cd921b5e · samwilson/hmw

A family tree and associated biographies of the ancestors of H. Margaret Wilson's children and the descendants of her grandparents, and indexes to archival material relating to these people and...
  • Copy link
  • Flag this post
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.44 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct