Dennis Test - Short & Sweets
Clarksville, TN
United States
shortandsweets.fileswift.com
Hero
About
Cards
Parallax Background Image
Slides Carousel
Story Blocks
Contact
A from-scratch dessert bakery making custom cakes and cupcakes in Clarksville, TN.
Delighting Your Sweet Tooth Since 2018
At Short & Sweets, our mission is to deliver the finest custom cakes and cupcakes around. We offer a variety of options, use only the finest ingredients, and infuse a dash of creativity in every order.
Short & Sweets
{#
/**
* @file
* Twig content for the html field in a site node.
* This exact string content will be stored in the field_ff_html
* field of the site node and will then be rendered as a node
* for preview/view/ and publish purposes.
*
* This template is used when viewing a registered node's page,
* e.g., example.com/node/123. 123 being the node's ID.
*
* Available variables:
* - content: A list of content items. Use 'content' to print all content, or
* print a subset such as 'content.field_example'. Fields attached to a node
* such as 'node_picture' are available as 'content.node_picture'.
* - attributes: HTML attributes for the container element.
* - node: A Drupal User entity.
*
* @see template_preprocess_node()
*/
#}
{#
TEMPLATING NOTES:
Text type field: {{ node.field_whatever.0.value}}
Link field: {{ content.field_whatever.0 }}
Link field in a paragraph field {{ paragraph_entity.field_whatever.0 | view }}
Image: src="{{ base_url ~ file_url(node.field_whatever.0.entity.fileuri) }}" alt="{{ node.field_whatever.0.alt }}"
Paragraphs:
{% for item in node.field_sub_whatever %}
{% set thing = item.entity %}
NESTED Paragraphs (e.g. cards)
{% set Thingies = node.field_whatever_paragraph.0.entity %}
{% for item in items.field_sub_whatever %}
{% set subThingy = item.entity %}
Do stuff with subThingy.field_stuff_1.some#.value (maybe with |raw filter depending)
{% endfor %}
#}
{# Get and array of section field values #}
{% set sections = [] %}
{% for key,item in node.field_ff_sections.getValue %}
{% set sections = sections|merge([item.value]) %}
{% endfor %}
{% if not node.field_ff_structured_data_json is empty %}
{% endif %}
{% if not node.field_ff_ga_id is empty %}
{% endif %}
{{ content.metatags }}
{% if not node.field_ff_site_name.0 is empty %}
{{ node.field_ff_site_name.0.value }}
{% else %}
{{ label }}
{% endif %}
{% if not node.field_ff_verification_string is empty %}
{% endif %}
{% if not node.field_ff_social_icon.0 is empty %}
{% endif %}
{# HERO SECTION #}
{% if 1 in sections %}
{% endif %}
{# ALERT MESSAGE #}
{% if 2 in sections %}
{% endif %}
{# MODAL ALERT #}
{% if 3 in sections %}
{% endif %}
{# ABOUT SECTION #}
{% if 4 in sections %}
{% endif %}
{# CARDS #}
{% if 5 in sections %}
{% set cards = node.field_ff_main_cards.0.entity %}
{% endif %}
{# PARALAX BG IMAGE #}
{% if 6 in sections %}
{% endif %}
{# TWITTER EMBED #}
{% if 7 in sections %}
Twitter
{% endif %}
{# FACEBOOK EMBED #}
{% if 8 in sections %}
Facebook
{% endif %}
{# TOUR CALENDAR (BANDS IN TOWN EVENTS) #}
{% if 9 in sections %}
{% endif %}
{# IMAGE GALLERY #}
{% if 10 in sections %}
{% endif %}
{# STORY BLOCKS #}
{% if 12 in sections %}
{% for item in node.field_ff_story_blocks %}
{% set sb = item.entity %}
{% set view_mode = sb.field_view_mode_selector.0.value|replace({'_':'-'}) %}
{% endfor %}
{% endif %}
{# INSTAGRAM EMBED #}
{% if 13 in sections %}
{{ node.field_ff_instagram_embed.0.value|raw }}
{% endif %}
{# SLIDES WITH TEXT #}
{% if 11 in sections %}
{% set cards = node.field_ff_testimonials.0.entity %}
{% endif %}
{# WUFOO CONTACT FORM #}
{% if 14 in sections %}
{% endif %}
{# SOCIAL LINKS BLOCK #}
{% if node.field_ff_social_links is not empty %}
{% if (('section' in node.field_ff_where_use_social_icons.0.value) or ('both' in node.field_ff_where_use_social_icons.0.value)) %}
{% if not node.field_ff_hero_image.0 is empty %}
{% endif %}
{% if not node.field_ff_hero_logo.0 is empty %}
{% endif %}
{% if not node.field_ff_hero_heading.0.value is empty %}
{{ content.field_ff_hero_heading }}
{% endif %} {% if not node.field_ff_hero_subheading.0.value is empty %}{{ content.field_ff_hero_subheading }}
{% endif %} {% if not node.field_ff_hero_button.0.value is empty %}{{ content.field_ff_hero_button.0 }}
{% endif %}
{% if (not node.field_ff_main_title.0.value is empty) or (not node.field_ff_main_description.0.value is empty) %}
{% endif %}
{% if not node.field_ff_main_title.0.value is empty %}
{{ content.field_ff_main_title}}
{% endif %} {% if not node.field_ff_main_description.0.value is empty %}{{ content.field_ff_main_description }}
{% endif %}
{% if not node.field_ff_main_button is empty %}
{% endif %}
{{ node.field_ff_twitter_embed.0.value|raw }}
Events
Instagram Feed
Follow {{ node.field_ff_site_name.0.value|raw }} On Instagram
Contact Us
{{ content.field_ff_site_name }}
{{ content.field_ff_address }}
{{ content.field_ff_phone_number }}
{{ content.field_ff_fax_number }}
{% if not node.field_ff_email_address.0.value is empty %}
{% endif %}
Fill out my online form.
Subscribe for Updates
{{ node.field_ff_newsletter_signup.value|raw }}
z1mqamzk027iqcn
order@shortandsweetstn.com
Short & Sweets
/sites/default/files/2020-08/favicon_3.ico
Hero Image Height
100vh
Paralax Image Height
70vw
Hero Logo
Use Parallax
On
Use Parallax
On
Open
{
"@context": "https://schema.org",
"@type": "Bakery",
"name": "Short & Sweets",
"image": "",
"@id": "hortandsweetstn.com",
"url": "https://www.shortandsweetstn.com/",
"telephone": "",
"priceRange": "$$",
"menu": "",
"servesCuisine": "cake",
"acceptsReservations": "false",
"address": {
"@type": "PostalAddress",
"streetAddress": "",
"addressLocality": "Clarksville",
"addressRegion": "TN",
"postalCode": "",
"addressCountry": "US"
} ,
"sameAs": [
"https://www.facebook.com/shortandsweetstn",
"https://www.instagram.com/shortandsweetstn/"
]
}
"@context": "https://schema.org",
"@type": "Bakery",
"name": "Short & Sweets",
"image": "",
"@id": "hortandsweetstn.com",
"url": "https://www.shortandsweetstn.com/",
"telephone": "",
"priceRange": "$$",
"menu": "",
"servesCuisine": "cake",
"acceptsReservations": "false",
"address": {
"@type": "PostalAddress",
"streetAddress": "",
"addressLocality": "Clarksville",
"addressRegion": "TN",
"postalCode": "",
"addressCountry": "US"
} ,
"sameAs": [
"https://www.facebook.com/shortandsweetstn",
"https://www.instagram.com/shortandsweetstn/"
]
}
Image Effect
Parallax
Image Effect
Parallax
Follow Us