mirror of
https://github.com/He4eT/oddsquat.git
synced 2026-05-04 20:37:22 +00:00
post: list
This commit is contained in:
parent
8898bf7a57
commit
85745e0c4d
4 changed files with 27 additions and 6 deletions
|
|
@ -20,11 +20,11 @@
|
||||||
<li><a href="/"><%= site.title %></a></li>
|
<li><a href="/"><%= site.title %></a></li>
|
||||||
|
|
||||||
<% if (page.section) { %>
|
<% if (page.section) { %>
|
||||||
<li><a href="/<%= page.section %>">
|
<li><a href="/<%= page.section %>/">
|
||||||
<%= page.section %></a></li>
|
<%= page.section %></a></li>
|
||||||
<% } %>
|
<% } %>
|
||||||
<% if (page.year) { %>
|
<% if (page.year) { %>
|
||||||
<li><a href="/post/list/#<%= page.year %>">
|
<li><a href="/post/#<%= page.year %>">
|
||||||
<%= page.year %></a></li>
|
<%= page.year %></a></li>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
||||||
|
|
|
||||||
6
src/pages/home.md
Normal file
6
src/pages/home.md
Normal file
|
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
|
||||||
|
layout: redirect
|
||||||
|
redirectTarget: '/'
|
||||||
|
|
||||||
|
---
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
<main>
|
<main>
|
||||||
<a href="/test/">
|
<a href="/post/">
|
||||||
Markdown test
|
posts
|
||||||
</a>
|
</a>
|
||||||
</main>
|
</main>
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,21 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
layout: redirect
|
layout: post
|
||||||
redirectTarget: '/post/list/'
|
lang: 'en'
|
||||||
|
section: 'post'
|
||||||
|
|
||||||
|
title: 'list'
|
||||||
|
description: 'Сomplete list of posts'
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
|
## 2020
|
||||||
|
|
||||||
|
- [Markdown test](/test/)
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|
||||||
|
|
||||||
|
- [Another link](/test/)
|
||||||
|
|
||||||
|
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue