{% load i18n %} {% load comments %}

{% translate "Typography" %}

{% translate "Lead" %}: {% translate "Sample paragraph text for layout preview." %}

{% translate "Body text with" %} {% translate "inline link" %}, {% translate "emphasis" %}, {% translate "italics" %}, code.

  1. {% translate "Ordered list item" %}
  2. {% translate "Second ordered item" %}

{% translate "Blockquote sample for editorial layouts." %}

{% translate "Attribution" %}

{% translate "Buttons & links" %}

{% translate "Primary link" %}

{% translate "Forms" %}

{{ filterset.form.as_p }}

{% translate "Post list" %}

{% include "cast/"|add:template_base_dir|add:"/_list_of_posts_and_paging_controls.html" %}

{% translate "Content blocks" %}

{% include "cast/"|add:template_base_dir|add:"/post_body.html" with page=styleguide_media_post render_detail=True repository=styleguide_media_repository template_base_dir=template_base_dir podlove_load_mode="facade" %}

{% translate "Audio" %}

{% include "cast/audio/audio.html" with value=styleguide_audio page=styleguide_media_post render_for_feed=False %}
{% include "cast/"|add:template_base_dir|add:"/styleguide/_transcript.html" with styleguide_transcript=styleguide_transcript_excerpt styleguide_episode=None %}

{% translate "Video" %}

{% translate "Intro text to show how a video sits inside a longer narrative post. This should wrap to multiple lines and feel balanced above the player." %}

{% include "cast/video/video.html" with value=styleguide_video %}

{% translate "Another paragraph after the video to test spacing and vertical rhythm before the next section begins." %}

{% translate "Episode" %}

{% include "cast/"|add:template_base_dir|add:"/post_body.html" with page=styleguide_episode render_detail=True repository=styleguide_episode_repository template_base_dir=template_base_dir episode_transcript_url=styleguide_episode_transcript_url podlove_load_mode="facade" %}

{% translate "Transcript" %}

{% include "cast/"|add:template_base_dir|add:"/styleguide/_transcript.html" %}

{% translate "Comments" %}

{% if styleguide_comments_enabled %} {% render_comment_list for styleguide_media_post %} {% render_comment_form for styleguide_media_post %} {% else %}

{% translate "Comments are disabled. Enable CAST_COMMENTS_ENABLED to preview the comment UI." %}

{% endif %}

{% translate "Error pages" %}

{% include "cast/errors/error_content.html" with title="Bad Request" heading="Bad request!" message="Something in your request was just not right." %}
{% include "cast/errors/error_content.html" with title="Permission Denied" heading="Permission Denied!" message="Authorization failed." %}
{% include "cast/errors/error_content.html" with title="Page not found" heading="Page not found" message="This is not the page you were looking for." %}
{% include "cast/errors/error_content.html" with title="Server Error" heading="Ooops!!! 500" subheading="Looks like something went wrong!" message="We track these errors automatically, but if the problem persists feel free to contact us. In the meantime, try refreshing." %}