Add 404 and archive

This commit is contained in:
Daniel Siepmann 2020-01-08 20:05:36 +01:00
parent 1279334ed1
commit 47eba384e3
8 changed files with 18 additions and 41 deletions

View file

@ -8,6 +8,18 @@ page {
viewport = width=device-width, initial-scale=1
}
# Just an idea to add layout based class, if necessary
# bodyTagCObject = COA
# bodyTagCObject {
# 10 = COA
# 10 {
# 10 =< page.10.templateName.cObject
# 10.wrap = Layout|
# wrap = class="|"
# }
# stdWrap.noTrimWrap = |<body |>|
# }
10 = FLUIDTEMPLATE
10 {
templateName {

View file

@ -1,12 +1,7 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true">
<header>
<div>
<a href="/">{settings.websiteTitle}</a>
</div>
<nav>
<a href="{f:uri.page(pageUid: 1. pageType: 1533906435, additionalParams: {sitemap: 'rssFeedAllBlogPosts'})}">RSS Feed</a>
</nav>
<a href="/">{settings.websiteTitle}</a>
</header>
<main>

View file

@ -1,6 +1,7 @@
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
data-namespace-typo3-fluid="true">
<nav>
<a href="{f:uri.page(pageUid: 1. pageType: 1533906435, additionalParams: {sitemap: 'rssFeedAllBlogPosts'})}">RSS Feed</a>
<f:for each="{pages}" as="page">
<a href="{page.link}">{page.title}</a>
</f:for>

View file

@ -2,7 +2,6 @@
@import "layout/content";
@import "layout/footer";
@import "layout/elements";
@import "layout/pages/singleBlogPost";
body {
@extend .container;

View file

@ -1,26 +1,8 @@
body > header {
@extend .row;
padding-bottom: $spacer * 4;
& > div {
@extend .col-12;
@extend .col-sm-8;
a {
font-size: $h1-font-size;
text-decoration: none;
}
}
nav {
@extend .col-12;
@extend .col-sm-4;
padding-top: $spacer;
a {
color: $text-muted !important;
}
a {
font-size: $h1-font-size;
text-decoration: none;
}
}

View file

@ -1,11 +0,0 @@
article.single-blog-post {
padding-top: 0;
> header {
margin-bottom: 0;
}
h1, h2, h3, h4, h5, h6 {
padding-top: $spacer * 2;
}
}

View file

@ -7,7 +7,7 @@
<header>
<h1>Blog Post</h1>
</header>
<article class="single-blog-post">
<article>
{f:render(partial: 'BlogPostHeader', arguments: {
title: data.title,
blogPost : data,