Add pagination to homepage

master
Felix Oesterle 4 years ago
parent 243101cf94
commit 33a88234eb

@ -7,7 +7,7 @@ theme = "coder-portfolio"
DefaultContentLanguage = "en"
paginate = 20
paginate = 10
pygmentsstyle = "b2"
pygmentscodefences = true

@ -40,7 +40,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -40,7 +40,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">
@ -95,76 +95,92 @@
</section>
<section class="container list">
<div class="content centered">
<ul>
<li>
<span>January 30, 2021</span><a href="https://avaframe.org/posts/monthlyjan2021/">This month in AvaFrame - January 2021 edition</a>
</li>
<li>
<span>December 29, 2020</span><a href="https://avaframe.org/posts/monthlydec2020/">This month in AvaFrame - December 2020 edition</a>
</li>
<li>
<span>December 28, 2020</span><a href="https://avaframe.org/posts/version0_2/">Release version 0.2</a>
</li>
<li>
<span>November 29, 2020</span><a href="https://avaframe.org/posts/monthlynov2020/">This month in AvaFrame - November 2020 edition</a>
</li>
<li>
<span>November 6, 2020</span><a href="https://avaframe.org/posts/version0_1/">Initial release version 0.1</a>
</li>
<li>
<span>October 29, 2020</span><a href="https://avaframe.org/posts/monthlyoct2020/">This month in AvaFrame - October 2020 edition</a>
</li>
<li>
<span>September 30, 2020</span><a href="https://avaframe.org/posts/monthlysep2020/">This month in AvaFrame - September 2020 edition</a>
</li>
<li>
<span>August 21, 2020</span><a href="https://avaframe.org/posts/monthlyaug2020/">This month in AvaFrame - August 2020 edition</a>
</li>
<li>
<span>July 31, 2020</span><a href="https://avaframe.org/posts/monthlyjul2020/">This month in AvaFrame - July 2020 edition</a>
</li>
<li>
<span>June 5, 2020</span><a href="https://avaframe.org/posts/projectstart/">Project start</a>
</li>
<li>
<span>April 1, 2020</span><a href="https://avaframe.org/posts/positionnumericsclosed/">Position numerics CLOSED</a>
</li>
<li>
<span>February 27, 2020</span><a href="https://avaframe.org/posts/openpositionnumerics/">Open position numerics</a>
</li>
<li>
<span>February 26, 2020</span><a href="https://avaframe.org/about/">About</a>
</li>
<li>
<span>February 26, 2020</span><a href="https://avaframe.org/contact/">Contact</a>
</li>
</ul>
<section class="container list">
<div class="content centered">
<ul>
<li>
<span>30. Jan, 2021</span><a href="https://avaframe.org/posts/monthlyjan2021/">This month in AvaFrame - January 2021 edition</a>
</li>
<li>
<span>29. Dec, 2020</span><a href="https://avaframe.org/posts/monthlydec2020/">This month in AvaFrame - December 2020 edition</a>
</li>
<li>
<span>28. Dec, 2020</span><a href="https://avaframe.org/posts/version0_2/">Release version 0.2</a>
</li>
<li>
<span>29. Nov, 2020</span><a href="https://avaframe.org/posts/monthlynov2020/">This month in AvaFrame - November 2020 edition</a>
</li>
<li>
<span>6. Nov, 2020</span><a href="https://avaframe.org/posts/version0_1/">Initial release version 0.1</a>
</li>
<li>
<span>29. Oct, 2020</span><a href="https://avaframe.org/posts/monthlyoct2020/">This month in AvaFrame - October 2020 edition</a>
</li>
<li>
<span>30. Sep, 2020</span><a href="https://avaframe.org/posts/monthlysep2020/">This month in AvaFrame - September 2020 edition</a>
</li>
<li>
<span>21. Aug, 2020</span><a href="https://avaframe.org/posts/monthlyaug2020/">This month in AvaFrame - August 2020 edition</a>
</li>
<li>
<span>31. Jul, 2020</span><a href="https://avaframe.org/posts/monthlyjul2020/">This month in AvaFrame - July 2020 edition</a>
</li>
<li>
<span>5. Jun, 2020</span><a href="https://avaframe.org/posts/projectstart/">Project start</a>
</li>
</ul>
</div>
<ul class="pagination">
<li>1</li>
<li><a href="/page/2/">2</a></li>
<li class="hidden"><a href="/page/2/">&rsaquo;</a></li>
<li><a href="/page/2/">&raquo;</a></li>
</ul>
</div>
</section>
</section>
</div>

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">
@ -124,14 +124,6 @@
<span>June 5, 2020</span><a href="https://avaframe.org/posts/projectstart/">Project start</a>
</li>
<li>
<span>April 1, 2020</span><a href="https://avaframe.org/posts/positionnumericsclosed/">Position numerics CLOSED</a>
</li>
<li>
<span>February 27, 2020</span><a href="https://avaframe.org/posts/openpositionnumerics/">Open position numerics</a>
</li>
</ul>
@ -139,6 +131,37 @@
<ul class="pagination">
<li>1</li>
<li><a href="/posts/page/2/">2</a></li>
<li class="hidden"><a href="/posts/page/2/">&rsaquo;</a></li>
<li><a href="/posts/page/2/">&raquo;</a></li>
</ul>
</section>

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -1,93 +1,57 @@
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://avaframe.org/</loc>
<lastmod>2021-01-30T19:08:58+01:00</lastmod>
</url>
<url>
</url><url>
<loc>https://avaframe.org/posts/</loc>
<lastmod>2021-01-30T19:08:58+01:00</lastmod>
</url>
<url>
</url><url>
<loc>https://avaframe.org/posts/monthlyjan2021/</loc>
<lastmod>2021-01-30T19:08:58+01:00</lastmod>
</url>
<url>
</url><url>
<loc>https://avaframe.org/posts/monthlydec2020/</loc>
<lastmod>2020-12-29T20:19:18+01:00</lastmod>
</url>
<url>
</url><url>
<loc>https://avaframe.org/posts/version0_2/</loc>
<lastmod>2020-12-28T10:46:51+01:00</lastmod>
</url>
<url>
</url><url>
<loc>https://avaframe.org/posts/monthlynov2020/</loc>
<lastmod>2020-11-29T20:19:18+01:00</lastmod>
</url>
<url>
</url><url>
<loc>https://avaframe.org/posts/version0_1/</loc>
<lastmod>2020-11-06T10:46:51+01:00</lastmod>
</url>
<url>
</url><url>
<loc>https://avaframe.org/posts/monthlyoct2020/</loc>
<lastmod>2020-10-29T20:19:18+01:00</lastmod>
</url>
<url>
</url><url>
<loc>https://avaframe.org/posts/monthlysep2020/</loc>
<lastmod>2020-09-30T12:28:05+02:00</lastmod>
</url>
<url>
</url><url>
<loc>https://avaframe.org/posts/monthlyaug2020/</loc>
<lastmod>2020-08-21T12:28:05+02:00</lastmod>
</url>
<url>
</url><url>
<loc>https://avaframe.org/posts/monthlyjul2020/</loc>
<lastmod>2020-07-31T09:49:32+02:00</lastmod>
</url>
<url>
</url><url>
<loc>https://avaframe.org/posts/projectstart/</loc>
<lastmod>2020-06-05T16:04:13+02:00</lastmod>
</url>
<url>
</url><url>
<loc>https://avaframe.org/posts/positionnumericsclosed/</loc>
<lastmod>2020-04-01T17:13:12+02:00</lastmod>
</url>
<url>
</url><url>
<loc>https://avaframe.org/posts/openpositionnumerics/</loc>
<lastmod>2020-02-27T13:00:08+01:00</lastmod>
</url>
<url>
</url><url>
<loc>https://avaframe.org/about/</loc>
<lastmod>2020-02-26T13:00:08+01:00</lastmod>
</url>
<url>
</url><url>
<loc>https://avaframe.org/contact/</loc>
<lastmod>2020-02-26T13:00:08+01:00</lastmod>
</url>
<url>
</url><url>
<loc>https://avaframe.org/categories/</loc>
</url>
<url>
</url><url>
<loc>https://avaframe.org/tags/</loc>
</url>
</urlset>

@ -44,7 +44,7 @@
<link href="https://avaframe.org/index.xml" rel="feed" type="application/rss+xml" title="AvaFrame" />
<meta name="generator" content="Hugo 0.80.0" />
<meta name="generator" content="Hugo 0.81.0" />
</head>
<body class="">

@ -18,15 +18,16 @@
</section>
<section class="container list">
<div class="content centered">
<ul>
{{ range .Paginator.Pages }}
<li>
<span>{{ .Date.Format "January 2, 2006" }}</span><a href="{{ .Permalink }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
{{ partial "pagination.html" . }}
</div>
</section>
<section class="container list">
<div class="content centered">
<ul>
{{ range .Paginator.Pages }}
<li>
<span>{{ .Date.Format "2. Jan, 2006" }}</span><a href="{{ .Permalink }}">{{ .Title }}</a>
</li>
{{ end }}
</ul>
</div>
{{ partial "pagination.html" . }}
</section>