chore: add screenshot to README
This commit is contained in:
parent
6c755e82df
commit
74e9ee7758
@ -1,6 +1,8 @@
|
||||
# Ezhil
|
||||
Clean and minimal personal blog and portfolio theme for Hugo.
|
||||
|
||||
.. image:: https://raw.githubusercontent.com/vividvilla/ezhil/master/media/ezhil.png
|
||||
|
||||
# Features
|
||||
* Clean and minimal
|
||||
* Supports tags
|
||||
|
@ -1,30 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
{{ partial "header.html" . }}
|
||||
|
||||
<body>
|
||||
<div class="container wrapper tags">
|
||||
{{ partial "head.html" . }}
|
||||
|
||||
<h1 class="page-title">All tags</h1>
|
||||
|
||||
{{ $biggest := (index .Data.Terms.ByCount 0).Count }}
|
||||
{{ $smallest := (index .Data.Terms.ByCount (sub (len .Data.Terms.ByCount) 1)).Count }}
|
||||
{{ $max := 3 }}
|
||||
{{ $min := 1 }}
|
||||
{{ $size := $min }}
|
||||
|
||||
{{ $data := .Data }}
|
||||
<div class="tag-cloud">
|
||||
{{ range $key, $value := .Data.Terms.ByCount }}
|
||||
{{ $size := (add (mul (div $value.Count $biggest) (sub $max $min)) $min) }}
|
||||
{{ $size := (cond (eq $biggest $smallest) $min $size) }}
|
||||
<a style="font-size: {{ $size }}rem;" href="{{ $.Site.LanguagePrefix | absURL }}{{ $data.Plural }}/{{ $value.Name | urlize }}/">{{ $value.Name }}</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
</body>
|
||||
|
||||
</html>
|
BIN
media/ezhil.png
Normal file
BIN
media/ezhil.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 307 KiB |
Loading…
Reference in New Issue
Block a user