This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <h2 class="event-heading">Past Items</h2> | |
| {% for item in past_items %} | |
| <article class="event-item past-item"> | |
| <div class="event-date-time"> | |
| <time datetime="2024-09-25" class="event-date">{{ item.event_date|datetimeformat('%B %d, %Y') }}</time> | |
| <p class="event-time">{{ item.event_date|datetimeformat('%H:%M') }}</p> | |
| </div> | |
| <div class="event-content"> | |
| <h2 class="event-title">{{ item.event_title }}</h2> | |
| <div class="event-tags"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="featured-posts-container"> | |
| {% set featured_posts = blog_recent_topic_posts('default', 'featured', 3) %} | |
| {% for topic_post in featured_posts %} | |
| <a href="{{ topic_post.absolute_url }}" class="featured-post"> | |
| <div class="topic-post " style="padding: 10px;"> | |
| <div class="topic-text"> | |
| <p>{{ topic_post.tag_list }}</p> | |
| <h2>{{ topic_post.name }}</h2> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="post-listing"> | |
| {% set post_ids = [] %} | |
| {% for post_item in module.posts %} | |
| {% do post_ids.append(post_item.post_id) %} | |
| {% endfor %} | |
| {% if post_ids %} | |
| <div class="post-listing"> | |
| {% for post_id in post_ids %} | |
| {% set pageContents = content_by_ids([post_id]) %} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="post-listing"> | |
| {% set post_ids = [] %} | |
| {% for post_item in module.posts %} | |
| {% do post_ids.append(post_item.post_id) %} | |
| {% endfor %} | |
| {% set contents = content_by_ids(post_ids) %} | |
| {% for content in contents %} | |
| <div class="post-item"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="post-showcase"> | |
| {% set post_ids = [] %} | |
| {% for post_item in module.posts %} | |
| {% do post_ids.append(post_item.post_id) %} | |
| {% endfor %} | |
| {% set contents = content_by_ids(post_ids) %} | |
| {% for content in contents %} | |
| <div class="post-item"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div class="featured-posts-container"> | |
| {% set featured_posts = blog_recent_topic_posts('default', 'featured', 3) %} | |
| {% for topic_post in featured_posts %} | |
| <a href="{{ topic_post.absolute_url }}" class="featured-post"> | |
| <div class="topic-post " style="padding: 10px;"> | |
| <div class="topic-text"> | |
| <p>{{ content.tag_list }}</p> | |
| <h2>{{ topic_post.name }}</h2> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {# Function to extract YouTube video ID #} | |
| {% macro extract_youtube_id(url) %} | |
| {% set cleaned_url = url|trim %} | |
| {% set video_id = cleaned_url | |
| | replace("https://www.youtube.com/watch?v=", "") | |
| | replace("http://www.youtube.com/watch?v=", "") | |
| | replace("https://youtu.be/", "") | |
| | replace("http://youtu.be/", "") | |
| | split("&") | |
| | first |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {# add macro for video schema.org #} | |
| {% import '../../macros/video-schemaorg.html' as video_macros %} | |
| {{ video_macros.video_schema(module.options_video) }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {% require_css %} | |
| <style> | |
| {% scope_css %} | |
| {% end_scope_css %} | |
| </style> | |
| {% end_require_css %} |