Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vividvilla/ezhil.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek R <vividvilla@gmail.com>2019-04-20 11:49:04 +0300
committerVivek R <vividvilla@gmail.com>2019-04-20 11:49:04 +0300
commit74e9ee7758cb3e8a8698c43a043cb0f87b4cbe6b (patch)
tree623cad25bba7b037d22454a579718b917303d433 /exampleSite
parent6c755e82dfe09c24198a49a88f692b2a29146ab3 (diff)
chore: add screenshot to README
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/terms_copy.html30
1 files changed, 0 insertions, 30 deletions
diff --git a/exampleSite/terms_copy.html b/exampleSite/terms_copy.html
deleted file mode 100644
index 60de12d..0000000
--- a/exampleSite/terms_copy.html
+++ /dev/null
@@ -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>