-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cc5846b
commit 5a12e54
Showing
12 changed files
with
95 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
title: "পোস্টস আর্কাইভ" | ||
layout: archive | ||
_build: | ||
list: never | ||
type: posts | ||
summary: This page contains an archive of all posts. | ||
--- |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
title: "Posts Archive" | ||
layout: archive | ||
hidden: true | ||
type: posts | ||
summary: This page contains an archive of all posts. | ||
--- |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
{{ define "main" }} | ||
<section class="container py-5"> | ||
{{ $type := .Type }} | ||
{{ $.Scratch.Set "count" 1 }} | ||
|
||
{{ range (.Site.RegularPages.GroupByDate "2006") }} | ||
{{ if and (gt .Key 1) (gt (where .Pages "Type" $type) 0) }} | ||
|
||
{{ range (where .Pages "Type" $type) }} | ||
{{ if (eq ($.Scratch.Get "count") 1) }} | ||
{{ $.Scratch.Set "count" 0 }} | ||
<h3>{{ .Date.Format "2006" }}</h3> | ||
{{ end }} | ||
{{ end }} | ||
|
||
{{ $.Scratch.Set "count" 1 }} | ||
|
||
<ul class="list mb-5"> | ||
{{ range (where .Pages "Type" $type) }} | ||
{{ if (ne .Params.hidden true) }} | ||
<li> | ||
<a href="{{ .RelPermalink }}"> | ||
<span>{{ .Date.Format "02 Jan" }}</span> — {{ .Title }} | ||
</a> | ||
</li> | ||
{{ end }} | ||
{{ end }} | ||
</ul> | ||
{{ end }} | ||
{{ end }} | ||
</section> | ||
{{ end }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,29 @@ | ||
<!DOCTYPE html> | ||
<html lang="{{ .Language.LanguageCode }}"> | ||
|
||
<head> | ||
{{ partial "metadata.html" . }} | ||
<link rel="canonical" href="{{ .Permalink }}"> | ||
<link rel="icon" type="image/x-icon" href="/favicon.ico"> | ||
{{ with .OutputFormats.Get "rss" -}} | ||
{{ printf `<link rel=%q type=%q href=%q title=%q>` .Rel .MediaType.Type .Permalink site.Title | safeHTML }} | ||
{{ end }} | ||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css"> | ||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/common.css"> | ||
<link rel="stylesheet" href="{{ .Site.BaseURL }}css/style.css"> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js"></script> | ||
{{- block "style" . }}{{ end -}} | ||
{{- block "script" . }}{{ end }} | ||
{{ block "style" . }}{{ end }} | ||
{{ block "script" . }}{{ end }} | ||
{{/* {{- template "_internal/google_analytics.html" . }} */}} | ||
</head> | ||
|
||
<body> | ||
{{ partial "header.html" . }} | ||
<main class="page-wrapper {{.Kind}}" id="{{ path.Base .Permalink}}" aria-label="Content"> | ||
{{ block "main" . }}{{ end }} | ||
</main> | ||
{{ partial "footer.html" . }} | ||
</body> | ||
|
||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<nav class="entry-navigation" aria-label="Post navigation"> | ||
{{ if .Prev }}<a class="entry-navigation-link" href="{{ .Prev.Permalink }}">« {{i18n | ||
"prevpost"}}<span class="d-none"> {{.Prev.Title}}</span></a>{{ end }} | ||
<a class="entry-navigation-link" href='{{absLangURL "/posts/"}}'>{{i18n "allposts"}}</a> | ||
{{ if .Next }}<a class="entry-navigation-link" href="{{ .Next.Permalink }}">{{i18n "nextpost"}} | ||
»<span class="d-none"> {{.Next.Title}}</span></a>{{ end }} | ||
</nav> |
This file was deleted.
Oops, something went wrong.