Note: The default ITS GitLab runner is a shared resource and is subject to slowdowns during heavy usage.
You can run your own GitLab runner that is dedicated just to your group if you need to avoid processing delays.

Commit a4e4f863 authored by Seth A Johnson's avatar Seth A Johnson
Browse files

tagline

parent 5f0e411d
......@@ -31,6 +31,12 @@ body {
.tagline-container {
grid-area: tagline;
background: pink;
.tagline {
font-weight: bold;
font-size: 2rem;
}
}
.newsletter-container {
......@@ -63,7 +69,6 @@ body {
// card stuff
.lever-card-list {
display: flex;
......
---
templateKey: home-page
tagline_section:
taglineSection:
text: A tagline for Lever Press
---
......@@ -6,10 +6,12 @@ import BookList from "../components/books/bookList"
import {graphql} from "gatsby"
export const IndexQuery = graphql`
{
content: markdownRemark(frontmatter: { templateKey: { eq: "home-page" } }) {
query {
markdownRemark(frontmatter: { templateKey: { eq: "home-page" } }) {
frontmatter{
templateKey
taglineSection{
text
}
}
}
}
......@@ -23,6 +25,14 @@ const IndexPage = ({data}) => {
<div className="index-grid">
<div className="books">
<BookList />
<div class="tagline-container">
<div class="tagline">
{ data.markdownRemark.frontmatter.taglineSection.text}
</div>
</div>
<div class="newsletter-container">
newsletter
</div>
</div>
</div>
</Layout>
......
......@@ -54,7 +54,7 @@ collections:
label: Home
fields:
- { name: templateKey, label: "Template Key", widget: hidden, default: home-page }
- name: tagline_section
- name: taglineSection
label: "Tag Line Section"
widget: object
fields:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment