From: Joseph Nuthalapati Date: Fri, 16 Aug 2019 10:22:10 +0000 (+0530) Subject: First setup of blog X-Git-Url: https://njoseph.me/gitweb/hyde.git/commitdiff_plain/9806fde302a258481881e504aa982a85ca7c89b4 First setup of blog --- diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 47a6453..713a0d2 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,7 +2,7 @@ diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 735bbf7..afc1362 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,7 +1,7 @@ {{ define "main" -}}

{{ .Title }}

- + {{ .Content }}
diff --git a/layouts/index.html b/layouts/index.html index ec6d2eb..2d079f7 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -5,7 +5,7 @@

{{ .Title }}

- + {{ .Summary }} {{ if .Truncated }} diff --git a/layouts/rss.xml b/layouts/rss.xml new file mode 100644 index 0000000..50de51c --- /dev/null +++ b/layouts/rss.xml @@ -0,0 +1,27 @@ + + + + Joseph Nuthalapati + {{ .Permalink }} + Recent content {{ if ne .Title .Site.Title }}{{ with .Title }}in {{.}} {{ end }}{{ end }}on {{ .Site.Title }} + Hugo -- gohugo.io{{ with .Site.LanguageCode }} + {{.}}{{end}}{{ with .Site.Author.email }} + {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Author.email }} + {{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}}{{ with .Site.Copyright }} + {{.}}{{end}}{{ if not .Date.IsZero }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} + {{ with .OutputFormats.Get "RSS" }} + {{ printf "" .Permalink .MediaType | safeHTML }} + {{ end }} + {{ range .Pages }} + + {{ .Title }} + {{ .Permalink }} + {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{ with .Site.Author.email }}{{.}}{{ with $.Site.Author.name }} ({{.}}){{end}}{{end}} + {{ .Permalink }} + {{ .Content | html }} + + {{ end }} + + diff --git a/static/apple-touch-icon-144-precomposed.png b/static/apple-touch-icon-144-precomposed.png deleted file mode 100644 index 19323de..0000000 Binary files a/static/apple-touch-icon-144-precomposed.png and /dev/null differ diff --git a/static/css/font.css b/static/css/font.css new file mode 100644 index 0000000..4945589 --- /dev/null +++ b/static/css/font.css @@ -0,0 +1,55 @@ +/* abril-fatface-regular - latin */ +@font-face { + font-family: 'Abril Fatface'; + font-style: normal; + font-weight: 400; + src: url('../fonts/abril-fatface-v11-latin-regular.eot'); /* IE9 Compat Modes */ + src: local('Abril Fatface'), local('AbrilFatface-Regular'), + url('../fonts/abril-fatface-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/abril-fatface-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/abril-fatface-v11-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('../fonts/abril-fatface-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/abril-fatface-v11-latin-regular.svg#AbrilFatface') format('svg'); /* Legacy iOS */ +} + +/* pt-sans-italic - latin */ +@font-face { + font-family: 'PT Sans'; + font-style: italic; + font-weight: 400; + src: url('../fonts/pt-sans-v11-latin-italic.eot'); /* IE9 Compat Modes */ + src: local('PT Sans Italic'), local('PTSans-Italic'), + url('../fonts/pt-sans-v11-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/pt-sans-v11-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/pt-sans-v11-latin-italic.woff') format('woff'), /* Modern Browsers */ + url('../fonts/pt-sans-v11-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/pt-sans-v11-latin-italic.svg#PTSans') format('svg'); /* Legacy iOS */ +} + +/* pt-sans-regular - latin */ +@font-face { + font-family: 'PT Sans'; + font-style: normal; + font-weight: 400; + src: url('../fonts/pt-sans-v11-latin-regular.eot'); /* IE9 Compat Modes */ + src: local('PT Sans'), local('PTSans-Regular'), + url('../fonts/pt-sans-v11-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/pt-sans-v11-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/pt-sans-v11-latin-regular.woff') format('woff'), /* Modern Browsers */ + url('../fonts/pt-sans-v11-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/pt-sans-v11-latin-regular.svg#PTSans') format('svg'); /* Legacy iOS */ +} + +/* pt-sans-700 - latin */ +@font-face { + font-family: 'PT Sans'; + font-style: normal; + font-weight: 700; + src: url('../fonts/pt-sans-v11-latin-700.eot'); /* IE9 Compat Modes */ + src: local('PT Sans Bold'), local('PTSans-Bold'), + url('../fonts/pt-sans-v11-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ + url('../fonts/pt-sans-v11-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ + url('../fonts/pt-sans-v11-latin-700.woff') format('woff'), /* Modern Browsers */ + url('../fonts/pt-sans-v11-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ + url('../fonts/pt-sans-v11-latin-700.svg#PTSans') format('svg'); /* Legacy iOS */ +} diff --git a/static/css/hyde.css b/static/css/hyde.css index 1ddbdda..a8fa58f 100644 --- a/static/css/hyde.css +++ b/static/css/hyde.css @@ -32,7 +32,8 @@ */ html { - font-family: "PT Sans", Helvetica, Arial, sans-serif; + /* font-family: "PT Sans", Helvetica, Arial, sans-serif; */ + font-family: "PT Sans"; } @media (min-width: 48em) { html { diff --git a/static/favicon.png b/static/favicon.png deleted file mode 100644 index 84cce4d..0000000 Binary files a/static/favicon.png and /dev/null differ diff --git a/static/fonts/abril-fatface-v11-latin-regular.eot b/static/fonts/abril-fatface-v11-latin-regular.eot new file mode 100644 index 0000000..c27995e Binary files /dev/null and b/static/fonts/abril-fatface-v11-latin-regular.eot differ diff --git a/static/fonts/abril-fatface-v11-latin-regular.svg b/static/fonts/abril-fatface-v11-latin-regular.svg new file mode 100644 index 0000000..73b28f9 --- /dev/null +++ b/static/fonts/abril-fatface-v11-latin-regular.svg @@ -0,0 +1,343 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/fonts/abril-fatface-v11-latin-regular.ttf b/static/fonts/abril-fatface-v11-latin-regular.ttf new file mode 100644 index 0000000..7866849 Binary files /dev/null and b/static/fonts/abril-fatface-v11-latin-regular.ttf differ diff --git a/static/fonts/abril-fatface-v11-latin-regular.woff b/static/fonts/abril-fatface-v11-latin-regular.woff new file mode 100644 index 0000000..b356365 Binary files /dev/null and b/static/fonts/abril-fatface-v11-latin-regular.woff differ diff --git a/static/fonts/abril-fatface-v11-latin-regular.woff2 b/static/fonts/abril-fatface-v11-latin-regular.woff2 new file mode 100644 index 0000000..306d00d Binary files /dev/null and b/static/fonts/abril-fatface-v11-latin-regular.woff2 differ diff --git a/static/fonts/pt-sans-v11-latin-700.eot b/static/fonts/pt-sans-v11-latin-700.eot new file mode 100644 index 0000000..599a237 Binary files /dev/null and b/static/fonts/pt-sans-v11-latin-700.eot differ diff --git a/static/fonts/pt-sans-v11-latin-700.svg b/static/fonts/pt-sans-v11-latin-700.svg new file mode 100644 index 0000000..7a4378f --- /dev/null +++ b/static/fonts/pt-sans-v11-latin-700.svg @@ -0,0 +1,347 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/fonts/pt-sans-v11-latin-700.ttf b/static/fonts/pt-sans-v11-latin-700.ttf new file mode 100644 index 0000000..2836670 Binary files /dev/null and b/static/fonts/pt-sans-v11-latin-700.ttf differ diff --git a/static/fonts/pt-sans-v11-latin-700.woff b/static/fonts/pt-sans-v11-latin-700.woff new file mode 100644 index 0000000..87db286 Binary files /dev/null and b/static/fonts/pt-sans-v11-latin-700.woff differ diff --git a/static/fonts/pt-sans-v11-latin-700.woff2 b/static/fonts/pt-sans-v11-latin-700.woff2 new file mode 100644 index 0000000..d938c9e Binary files /dev/null and b/static/fonts/pt-sans-v11-latin-700.woff2 differ diff --git a/static/fonts/pt-sans-v11-latin-italic.eot b/static/fonts/pt-sans-v11-latin-italic.eot new file mode 100644 index 0000000..d0ff432 Binary files /dev/null and b/static/fonts/pt-sans-v11-latin-italic.eot differ diff --git a/static/fonts/pt-sans-v11-latin-italic.svg b/static/fonts/pt-sans-v11-latin-italic.svg new file mode 100644 index 0000000..dc833ee --- /dev/null +++ b/static/fonts/pt-sans-v11-latin-italic.svg @@ -0,0 +1,362 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/fonts/pt-sans-v11-latin-italic.ttf b/static/fonts/pt-sans-v11-latin-italic.ttf new file mode 100644 index 0000000..61810ce Binary files /dev/null and b/static/fonts/pt-sans-v11-latin-italic.ttf differ diff --git a/static/fonts/pt-sans-v11-latin-italic.woff b/static/fonts/pt-sans-v11-latin-italic.woff new file mode 100644 index 0000000..19ed344 Binary files /dev/null and b/static/fonts/pt-sans-v11-latin-italic.woff differ diff --git a/static/fonts/pt-sans-v11-latin-italic.woff2 b/static/fonts/pt-sans-v11-latin-italic.woff2 new file mode 100644 index 0000000..c5d7810 Binary files /dev/null and b/static/fonts/pt-sans-v11-latin-italic.woff2 differ diff --git a/static/fonts/pt-sans-v11-latin-regular.eot b/static/fonts/pt-sans-v11-latin-regular.eot new file mode 100644 index 0000000..98dd907 Binary files /dev/null and b/static/fonts/pt-sans-v11-latin-regular.eot differ diff --git a/static/fonts/pt-sans-v11-latin-regular.svg b/static/fonts/pt-sans-v11-latin-regular.svg new file mode 100644 index 0000000..c700cc1 --- /dev/null +++ b/static/fonts/pt-sans-v11-latin-regular.svg @@ -0,0 +1,357 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/static/fonts/pt-sans-v11-latin-regular.ttf b/static/fonts/pt-sans-v11-latin-regular.ttf new file mode 100644 index 0000000..4e78257 Binary files /dev/null and b/static/fonts/pt-sans-v11-latin-regular.ttf differ diff --git a/static/fonts/pt-sans-v11-latin-regular.woff b/static/fonts/pt-sans-v11-latin-regular.woff new file mode 100644 index 0000000..a71e5b6 Binary files /dev/null and b/static/fonts/pt-sans-v11-latin-regular.woff differ diff --git a/static/fonts/pt-sans-v11-latin-regular.woff2 b/static/fonts/pt-sans-v11-latin-regular.woff2 new file mode 100644 index 0000000..1b54f9e Binary files /dev/null and b/static/fonts/pt-sans-v11-latin-regular.woff2 differ