I have a theme with many template ‘sections’ which require parameters.
One example would be a banner.
I pass it main text, button type, button link and button text.
Does a plugin exist that you can call these using a simple function when my content writers are writing the information.
Currently i just do this using section like this, does a more elegant way exist to achieve this?
{% include sections/jumbotron/master.html
image="/assets/images/software.jpg"
title=“Simple and affordable software”
subtitle=jumbotron_subtitle
smalltextsub=“No credit card required.”
button=“true”
button_link="/register/"
button_text=“Register Now”
button_type=“success”
alt_button=“true”
alt_button_link="/demo/"
alt_button_text=“Book Demo”
alt_button_type=“black”
%}