mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 16:31:52 +01:00
New way to generate UIDs.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{ $id := delimit (slice "github" .Ordinal now.UnixNano) "-" }}
|
||||
{{ $id := delimit (slice "github" (partial "functions/uid.html" .)) "-" }}
|
||||
{{- $githubURL := print "https://api.github.com/repos/" (.Get "repo") -}}
|
||||
{{- $githubData := getJSON ($githubURL) -}}
|
||||
{{- $githubColors := .Site.Data.githubColors -}}
|
||||
|
||||
Reference in New Issue
Block a user