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
|
||||
}
|
||||
|
||||
# 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 {
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -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>
|
||||
|
|
|
@ -2,7 +2,6 @@
|
|||
@import "layout/content";
|
||||
@import "layout/footer";
|
||||
@import "layout/elements";
|
||||
@import "layout/pages/singleBlogPost";
|
||||
|
||||
body {
|
||||
@extend .container;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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>
|
||||
<h1>Blog Post</h1>
|
||||
</header>
|
||||
<article class="single-blog-post">
|
||||
<article>
|
||||
{f:render(partial: 'BlogPostHeader', arguments: {
|
||||
title: data.title,
|
||||
blogPost : data,
|
||||
|
|
Loading…
Reference in a new issue