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

Testing cloud cannon CMS #28

Open
wants to merge 3 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
5 changes: 3 additions & 2 deletions content/en/section1/subsectiona/breadcrumb-page.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
title: "Breadcrumb page"
title: Breadcrumb page
breadcrumb: true
sidenav: true
inpagenav: true
---

This page displays the breadcrumb.

Turn on the breadcrumb by `breadcrumb: true` in the page front matter.

Here is some text added on Fri Jan 6.
11 changes: 6 additions & 5 deletions themes/guides/layouts/_default/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
{{ define "main" }}
<div class="usa-in-page-nav-container">
{{ if .Params.inpagenav }}
<aside class="usa-in-page-nav" data-title-text="{{ i18n " inPageNav" }}" data-title-heading-level="h4"
data-scroll-offset="0" data-root-margin="0px 0px 0px 0px" data-threshold="1"></aside>
<aside class="usa-in-page-nav" data-title-text="{{ i18n " inPageNav" }}" data-title-heading-level="h4" data-scroll-offset="0" data-root-margin="0px 0px 0px 0px" data-threshold="1"></aside>
{{ end }}
<main id="main-content" aria-roledescription="main" class="grid-container">
<div class="grid-row grid-gap">
Expand All @@ -12,12 +11,14 @@
{{ end }}
<article class="grid-col">
<header>
<h1 class="">
<h1>
{{ .Title }}
</h1>
</header>
<div class="usa-prose margin-bottom-8">
{{ .Content }}
<div class="usa-prose margin-bottom-8 editable">
<p>
{{ .Content }}This is text I am adding with the visual editor.
</p>
</div>
{{ partial "related.html" . }}
{{ partial "summary-box" . }}
Expand Down