Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs(documentation): content style guide test #609

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions docs/_includes/layouts/content.njk
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{% extends "./base.njk" %}

{% block content %}

<div class="govuk-width-container">

<div class="govuk-phase-banner">
<p class="govuk-phase-banner__content">
<strong class="govuk-tag govuk-phase-banner__content__tag">
Beta
</strong>

<span class="govuk-phase-banner__text">
This is new – your <a class="govuk-link" href="mailto:design-system@digital.justice.gov.uk">feedback</a> will help us to improve it.
</span>

</p>
</div>

<main id="main-content" class="govuk-main-wrapper app-prose-scope" role="main">
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">

<h1 class="govuk-heading-xl">
{{ title }}
</h1>

{{ content | safe }}

</div>
</div>
</main>
</div>
{% endblock %}
Loading