-
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add blog theme files * Readability improvements * Display posts list as summary * Adding defaults * Sample conent * List styling * Header improvement * Adding new tags * Update theme info * Styling improvement * Better styling * Homepage sample * Update README.md
- Loading branch information
Showing
11 changed files
with
274 additions
and
11 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
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,14 @@ | ||
+++ | ||
title = 'Sample blog content 1' | ||
date = 2024-06-23T14:38:33+02:00 | ||
draft = false | ||
type = 'blog' | ||
+++ | ||
|
||
Sample blog content. Like a lorem ipsum but saying something more interesting. | ||
|
||
Welcome to the world of "Content Ipsum," the fresh alternative to the classic lorem ipsum. It's the perfect blend for designers and writers who crave a dash of creativity and meaning in their placeholder text. Imagine a text that not only fills the space but also sparks the imagination, a text that weaves tales of innovation, inspiration, and the endless possibilities that creativity brings. | ||
|
||
In the realm of "Content Ipsum," every paragraph is a journey through the wonders of the human mind, a celebration of the achievements that have shaped our world, and a look into the future that awaits us. From the depths of the ocean to the farthest reaches of the universe, "Content Ipsum" takes you on an adventure that captivates and informs. | ||
|
||
So, the next time you're crafting a design or drafting a document, let "Content Ipsum" infuse your work with the spirit of discovery and the joy of creation. It's more than just text; it's a narrative that connects, engages, and inspires. Welcome to the evolution of placeholder text – where every word is a story waiting to be told. |
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,28 @@ | ||
<!-- inject:../components/baseHead/baseHeadStart.html --> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
{{ partial "head.html" . }} {{ partial "head_custom.html" . }} | ||
</head> | ||
|
||
<body> | ||
{{ partial "header.html" . }} | ||
|
||
<main class="list"> | ||
<section class="container section"> | ||
<h1>{{ .Title }}</h1> | ||
<ul> | ||
<!-- Renders the li.html content view for each content/posts/*.md --> | ||
{{ range .Pages }} | ||
{{ .Render "li" }} | ||
{{ end }} | ||
</ul> | ||
</section> | ||
</main> | ||
|
||
{{ partial "footer.html" . }} {{ partial "base-foot.html" . }} | ||
</body> | ||
|
||
</html> | ||
<!-- endinject --> |
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,40 @@ | ||
{{ define "main" }} | ||
<section id="main"> | ||
<h1 id="title">{{ .Title }}</h1> | ||
<div> | ||
<article id="content"> | ||
{{ .Content }} | ||
</article> | ||
</div> | ||
</section> | ||
<aside id="meta" class="light-border-botton"> | ||
<div> | ||
<section> | ||
Published on <h4 id="date"> {{ .Date.Format "Mon Jan 2, 2006" }} </h4> · | ||
<h4 id="wordcount"> {{ .WordCount }} Words</h4> | ||
</section> | ||
{{ with .GetTerms "topics" }} | ||
<ul id="topics"> | ||
{{ range . }} | ||
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li> | ||
{{ end }} | ||
</ul> | ||
{{ end }} | ||
{{ with .GetTerms "tags" }} | ||
<ul id="tags"> | ||
{{ range . }} | ||
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li> | ||
{{ end }} | ||
</ul> | ||
{{ end }} | ||
</div> | ||
<div> | ||
{{ with .PrevInSection }} | ||
<a class="previous" href="{{ .RelPermalink }}"> {{ .LinkTitle }}</a> | ||
{{ end }} | ||
{{ with .NextInSection }} | ||
<a class="next" href="{{ .RelPermalink }}"> {{ .LinkTitle }}</a> | ||
{{ end }} | ||
</div> | ||
</aside> | ||
{{ 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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<li class="post"> | ||
<a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a> | ||
<div class="meta">{{ .Date.Format "Mon, Jan 2, 2006" }}</div> | ||
</li> |
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,30 @@ | ||
<!-- inject:../components/baseHead/baseHeadStart.html --> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
{{ partial "head.html" . }} {{ partial "head_custom.html" . }} | ||
</head> | ||
|
||
<body> | ||
{{ partial "header.html" . }} | ||
|
||
<main class="blog"> | ||
<section class="container section"> | ||
<h1 class="rad-fade-down rad-waiting rad-animate">{{ .Title }}</h1> | ||
<div class="posts-list container"> | ||
<!-- Renders the li.html content view for each content/posts/*.md --> | ||
{{ range .Pages }} | ||
<div class="row row--padded rad-animation-group rad-fade-down rad-waiting rad-animate section--border-bottom"> | ||
{{ .Render "summary" }} | ||
</div> | ||
{{ end }} | ||
</div> | ||
</section> | ||
</main> | ||
|
||
{{ partial "footer.html" . }} {{ partial "base-foot.html" . }} | ||
</body> | ||
|
||
</html> | ||
<!-- endinject --> |
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,64 @@ | ||
<!-- inject:../components/baseHead/baseHeadStart.html --> | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
{{ partial "head.html" . }} {{ partial "head_custom.html" . }} | ||
</head> | ||
|
||
<body> | ||
{{ partial "header.html" . }} | ||
|
||
<section | ||
id="blog-single" | ||
class="section section--border-bottom rad-animation-group" | ||
> | ||
<div class="container"> | ||
<h1><a href="{{ .RelPermalink }}">{{ .Title }}</a></h1> | ||
|
||
<aside id="meta" class="light-border-bottom"> | ||
<div> | ||
<section> | ||
Published on | ||
<h4 id="date">{{ .Date.Format "Mon Jan 2, 2006" }}</h4> | ||
· | ||
<h4 id="wordcount">{{ .WordCount }} Words</h4> | ||
</section> | ||
{{ with .GetTerms "topics" }} | ||
<ul id="topics"> | ||
{{ range . }} | ||
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li> | ||
{{ end }} | ||
</ul> | ||
{{ end }} {{ with .GetTerms "tags" }} | ||
<ul id="tags"> | ||
{{ range . }} | ||
<li><a href="{{ .RelPermalink }}">{{ .LinkTitle }}</a></li> | ||
{{ end }} | ||
</ul> | ||
{{ end }} | ||
</div> | ||
</aside> | ||
|
||
<div class="row flex-column-reverse flex-md-row rad-fade-down"> | ||
<div class="col-12">{{ .Content | safeHTML }}</div> | ||
</div> | ||
|
||
<aside class="content-browser light-border-top"> | ||
Continue reading | ||
<div> | ||
{{ with .PrevInSection }} | ||
<a class="previous" href="{{ .RelPermalink }}">↩ {{ .LinkTitle }}</a> | ||
{{ end }} | ||
■ | ||
{{ with .NextInSection }} | ||
<a class="next" href="{{ .RelPermalink }}"> {{ .LinkTitle }} ↪</a> | ||
{{ end }} | ||
</div> | ||
</aside> | ||
</div> | ||
</section> | ||
|
||
{{ partial "footer.html" . }} {{ partial "base-foot.html" . }} | ||
</body> | ||
</html> | ||
<!-- endinject --> |
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,12 @@ | ||
<article class="post summary col-12"> | ||
<header> | ||
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2> | ||
<div class="post-meta">{{ .Date.Format "Mon, Jan 2, 2006" }} - {{ .FuzzyWordCount }} Words </div> | ||
</header> | ||
|
||
{{ .Summary }} | ||
|
||
<footer> | ||
<a href='{{ .RelPermalink }}'>Read more »</a> | ||
</footer> | ||
</article> |
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