diff options
author | Urja Acharya <urja.acharya@huskers.unl.edu> | 2020-05-23 23:44:46 +0300 |
---|---|---|
committer | Urja Acharya <urja.acharya@huskers.unl.edu> | 2020-05-23 23:44:46 +0300 |
commit | e85caeeda5220ab7a7595e9734419f8c1de56e86 (patch) | |
tree | c5088e58b76113dea19542054300cdfd42599184 /layouts/section/recent.html |
Initial Commit
Diffstat (limited to 'layouts/section/recent.html')
-rw-r--r-- | layouts/section/recent.html | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/layouts/section/recent.html b/layouts/section/recent.html new file mode 100644 index 0000000..3cd624e --- /dev/null +++ b/layouts/section/recent.html @@ -0,0 +1,37 @@ + + +<!DOCTYPE html> +<html lang="{{ .Site.LanguageCode }}"> + <head> + <title> + Recent Posts + </title> + <meta content="width=device-width, initial-scale=1.0" name="viewport" /> + <meta name="description" content="Recent Posts" /> + <meta name="author" content="{{ .Site.Params.author }}" /> + + <link rel="stylesheet" href="{{ `/css/main.css` | relURL }}" /> + <link rel="stylesheet" href="{{ `/css/pagination.css` | relURL }}" /> + <link + href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;600&display=swap" + rel="stylesheet" + /> + <link + href="https://fonts.googleapis.com/css2?family=Inconsolata&display=swap" + rel="stylesheet" + /> + </head> + <body> + {{$paginator := .Paginate (where .Site.Pages "Kind" "page").ByDate.Reverse 3 }} + <main> + {{ range $paginator.Pages }} + {{ partial "listPage" . }} + {{ end }} + <div> + {{ template "_internal/pagination.html" . }} + </div> + + </main> + + </body> +</html> |