Add 404 and archive
This commit is contained in:
parent
1279334ed1
commit
47eba384e3
8 changed files with 18 additions and 41 deletions
|
@ -8,6 +8,18 @@ page {
|
||||||
viewport = width=device-width, initial-scale=1
|
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 = FLUIDTEMPLATE
|
||||||
10 {
|
10 {
|
||||||
templateName {
|
templateName {
|
||||||
|
|
|
@ -1,12 +1,7 @@
|
||||||
<html xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
<html xmlns:f="http://typo3.org/ns/TYPO3/Fluid/ViewHelpers"
|
||||||
data-namespace-typo3-fluid="true">
|
data-namespace-typo3-fluid="true">
|
||||||
<header>
|
<header>
|
||||||
<div>
|
<a href="/">{settings.websiteTitle}</a>
|
||||||
<a href="/">{settings.websiteTitle}</a>
|
|
||||||
</div>
|
|
||||||
<nav>
|
|
||||||
<a href="{f:uri.page(pageUid: 1. pageType: 1533906435, additionalParams: {sitemap: 'rssFeedAllBlogPosts'})}">RSS Feed</a>
|
|
||||||
</nav>
|
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<main>
|
<main>
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
<html xmlns:f="http://typo3.org/ns/TYPO3/CMS/Fluid/ViewHelpers"
|
||||||
data-namespace-typo3-fluid="true">
|
data-namespace-typo3-fluid="true">
|
||||||
<nav>
|
<nav>
|
||||||
|
<a href="{f:uri.page(pageUid: 1. pageType: 1533906435, additionalParams: {sitemap: 'rssFeedAllBlogPosts'})}">RSS Feed</a>
|
||||||
<f:for each="{pages}" as="page">
|
<f:for each="{pages}" as="page">
|
||||||
<a href="{page.link}">{page.title}</a>
|
<a href="{page.link}">{page.title}</a>
|
||||||
</f:for>
|
</f:for>
|
||||||
|
|
|
@ -2,7 +2,6 @@
|
||||||
@import "layout/content";
|
@import "layout/content";
|
||||||
@import "layout/footer";
|
@import "layout/footer";
|
||||||
@import "layout/elements";
|
@import "layout/elements";
|
||||||
@import "layout/pages/singleBlogPost";
|
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@extend .container;
|
@extend .container;
|
||||||
|
|
|
@ -1,26 +1,8 @@
|
||||||
body > header {
|
body > header {
|
||||||
@extend .row;
|
|
||||||
|
|
||||||
padding-bottom: $spacer * 4;
|
padding-bottom: $spacer * 4;
|
||||||
|
|
||||||
& > div {
|
a {
|
||||||
@extend .col-12;
|
font-size: $h1-font-size;
|
||||||
@extend .col-sm-8;
|
text-decoration: none;
|
||||||
|
|
||||||
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;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
|
||||||
}
|
|
||||||
}
|
|
|
@ -1 +0,0 @@
|
||||||
test
|
|
|
@ -7,7 +7,7 @@
|
||||||
<header>
|
<header>
|
||||||
<h1>Blog Post</h1>
|
<h1>Blog Post</h1>
|
||||||
</header>
|
</header>
|
||||||
<article class="single-blog-post">
|
<article>
|
||||||
{f:render(partial: 'BlogPostHeader', arguments: {
|
{f:render(partial: 'BlogPostHeader', arguments: {
|
||||||
title: data.title,
|
title: data.title,
|
||||||
blogPost : data,
|
blogPost : data,
|
||||||
|
|
Loading…
Reference in a new issue