first commit
This commit is contained in:
commit
7fa1a1444a
52 changed files with 1519 additions and 0 deletions
13
layouts/partials/avatar.html
Normal file
13
layouts/partials/avatar.html
Normal file
|
@ -0,0 +1,13 @@
|
|||
<header class="text-center header">
|
||||
{{ with .Site.Params.authorimage }}
|
||||
{{ with resources.Get (printf "images/%s" .)}}
|
||||
<img src="{{ .Permalink }}" alt="Author Image" class="img-fluid rounded-circle mx-auto d-block headshot">
|
||||
{{ else }}
|
||||
{{ with resources.Get (printf "img/%s" .)}}
|
||||
<img src="{{ .Permalink }}" alt="Author Image" class="img-fluid rounded-circle mx-auto d-block headshot">
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
<h1 class="author mt-3">{{ .Site.Params.author }}</h1>
|
||||
</header>
|
55
layouts/partials/content.html
Normal file
55
layouts/partials/content.html
Normal file
|
@ -0,0 +1,55 @@
|
|||
<header class="text-start title">
|
||||
<h1 class="title">{{ .Title }}</h1>
|
||||
</header>
|
||||
|
||||
<section id="category-pane" class="meta">
|
||||
{{ if ne .Params.showpagemeta false }}
|
||||
<div class="d-flex flex-column flex-md-row justify-content-between">
|
||||
<h6 class="text-start meta">
|
||||
{{ if not .Date.IsZero }} PUBLISHED ON {{ .Date.Format (default "Jan 2, 2006" .Site.Params.dateformat) | upper }}
|
||||
{{ end }}
|
||||
/ {{ math.Round (div (countwords .Content) 220.0) }} MIN READ
|
||||
{{ if isset .Params "categories" }}
|
||||
{{ $total := len .Params.categories }}
|
||||
{{ if gt $total 0 }}
|
||||
—
|
||||
{{ $total := sub $total 1 }}
|
||||
{{ range $i, $cat := sort $.Params.categories }}
|
||||
<a class="meta"
|
||||
href="{{ "categories/" | relURL }}{{ $cat | urlize }}">{{ $cat | upper }}</a>{{ if lt $i $total }}, {{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</h6>
|
||||
</div>
|
||||
{{ end }}
|
||||
</section>
|
||||
|
||||
<section id="content-pane">
|
||||
<div class="text-justify content">
|
||||
{{ if and (ne .Params.toc false) (gt .WordCount 300) }}
|
||||
{{ .TableOfContents }}
|
||||
{{ end }}
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section id="tag-pane" class="meta">
|
||||
{{ if ne .Params.showpagemeta false }}
|
||||
<div class="d-flex flex-column flex-md-row justify-content-between">
|
||||
<h6 class="text-end meta">
|
||||
{{ if isset .Params "tags" }}
|
||||
{{ $total := len .Params.tags }}
|
||||
{{ if gt $total 0 }}
|
||||
TAGS:
|
||||
{{ $subtotal := sub $total 1 }}
|
||||
{{ range $i, $tag := sort $.Params.tags }}
|
||||
<a class="meta" href="{{ "tags/" | relURL }}{{ $tag | urlize }}">{{ $tag | upper }}</a>{{ if lt $i $subtotal }},
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</h6>
|
||||
</div>
|
||||
{{ end }}
|
||||
</section>
|
5
layouts/partials/error.html
Normal file
5
layouts/partials/error.html
Normal file
|
@ -0,0 +1,5 @@
|
|||
<section id="error-pane" class="text-center error">
|
||||
<h1 class="text-center">404</h1>
|
||||
<p>Sorry! That page does not exist. It may have been removed or moved to a new section on the site. Click <a
|
||||
href="/">here</a> go back to the home page.</p>
|
||||
</section>
|
21
layouts/partials/footer.html
Normal file
21
layouts/partials/footer.html
Normal file
|
@ -0,0 +1,21 @@
|
|||
{{ partial "sub_footer.html" . }}
|
||||
</div>
|
||||
|
||||
{{ with .Site.Params.extra }}
|
||||
{{ if .highlightjs }}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"></script>
|
||||
{{ range .highlightjslanguages }}
|
||||
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/9.12.0/languages/{{.}}.min.js"></script>
|
||||
{{ end }}
|
||||
|
||||
<script>hljs.highlightAll();</script>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/js/bootstrap.bundle.min.js"
|
||||
integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
|
||||
<script src="/js/custom.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
53
layouts/partials/header.html
Normal file
53
layouts/partials/header.html
Normal file
|
@ -0,0 +1,53 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
|
||||
<head>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="content-type" content="text/html; charset=utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
|
||||
{{ with .Site.Params.meta.description }}
|
||||
<meta name="description" content="{{ . }}">{{ end }}
|
||||
{{ with .Site.Params.meta.keywords }}
|
||||
<meta name="keywords" content="{{.}}">{{ end }}
|
||||
|
||||
<title>
|
||||
{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }} {{ if eq $url "" }} {{ .Site.Title }}
|
||||
{{ else }} {{ .Site.Title }} - {{ .Title }} {{ end }}
|
||||
</title>
|
||||
|
||||
{{ hugo.Generator }}
|
||||
|
||||
{{ range .AlternativeOutputFormats -}}
|
||||
<link rel="{{ .Rel }}" type="{{ .MediaType.Type }}" href="{{ .Permalink | safeURL }}">
|
||||
{{ end -}}
|
||||
|
||||
{{ if .Site.Params.extra.highlightjs }}
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/default.min.css">
|
||||
{{ end }}
|
||||
|
||||
<link rel="stylesheet"
|
||||
href="https://fonts.googleapis.com/css2?family=Lato:wght@300;400&family=Roboto+Slab:wght@400;700&family=Roboto:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700" />
|
||||
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" rel="stylesheet"
|
||||
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC"
|
||||
crossorigin="anonymous" />
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
|
||||
<link rel="stylesheet" href="{{ "css/main.css" | absURL }}">
|
||||
<link rel="stylesheet" href="{{ "css/custom.css" | absURL }}">
|
||||
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
|
||||
<link rel="manifest" href="/site.webmanifest">
|
||||
<meta name="theme-color" content="#ffffff">
|
||||
{{- with .OutputFormats.Get "RSS" -}}
|
||||
<link rel="alternate" type="application/rss+xml" title="{{ $.Site.Title }}" href="{{ .RelPermalink }}" />
|
||||
<link rel="alternate" type="application/json" title="{{ $.Site.Title }}" href="{{ "feed.json" | absURL }}" />
|
||||
<link rel="EditURI" type="application/rsd+xml" href="{{ "rsd.xml" | absURL }}" />
|
||||
{{- end -}}
|
||||
|
||||
</head>
|
||||
|
||||
<body lang="{{ .Site.LanguageCode }}">
|
||||
<div class="container my-auto">
|
8
layouts/partials/info.html
Normal file
8
layouts/partials/info.html
Normal file
|
@ -0,0 +1,8 @@
|
|||
<section id="info-pane" class="text-center info">
|
||||
{{ with .Site.Params.intro }}
|
||||
<h3 class="intro">{{ . | markdownify }}</h3>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.description }}
|
||||
<h4 class="description">{{ . | markdownify }}</h4>
|
||||
{{ end }}
|
||||
</section>
|
30
layouts/partials/li.html
Normal file
30
layouts/partials/li.html
Normal file
|
@ -0,0 +1,30 @@
|
|||
<section id="list-pane" class="list">
|
||||
<ul class="list-unstyled">
|
||||
{{ range .Data.Pages.ByPublishDate.Reverse }}
|
||||
<li class="list-entry">
|
||||
<a class="list-entry-link" href="{{ .RelPermalink }}">{{ .Title }}</a>
|
||||
<p class="meta">
|
||||
{{ if not .Date.IsZero }} {{ .Date.Format (default "Jan 2, 2006" .Site.Params.dateformat) | upper }} {{ end }}
|
||||
- {{ math.Round (div (countwords .Content) 220.0) }} MIN READ
|
||||
<span class="category">
|
||||
{{ if isset .Params "categories" }}
|
||||
{{ $total := len .Params.categories }}
|
||||
{{ if gt $total 0 }}
|
||||
—
|
||||
{{ $total := sub $total 1 }}
|
||||
{{ range $i, $cat := sort .Params.categories }}
|
||||
<a class="category-link"
|
||||
href="{{ "categories/" | relURL }}{{ $cat | humanize | urlize }}">{{ $cat | upper }}</a>{{ if lt $i $total }},
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</span>
|
||||
</p>
|
||||
<p class="excerpt">
|
||||
{{ .Description }}
|
||||
</p>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</section>
|
7
layouts/partials/main_menu.html
Normal file
7
layouts/partials/main_menu.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
{{ with .Site.Menus.main }}
|
||||
<section id="main-menu-pane" class="text-center main-menu">
|
||||
{{ range sort . }}
|
||||
<h4><a class="menu-item" href="{{ .URL }}">{{ .Name }}</a></h4>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ end }}
|
32
layouts/partials/menu.html
Normal file
32
layouts/partials/menu.html
Normal file
|
@ -0,0 +1,32 @@
|
|||
<section id="menu-pane" class="menu text-center">
|
||||
{{ if not .IsNode }}
|
||||
<nav aria-label="Page navigation">
|
||||
<ul class="pagination justify-content-center">
|
||||
{{ if .Section }}
|
||||
{{ with .PrevInSection }}
|
||||
<li class="menu-item">
|
||||
<a class="menu-item" href="{{ .Permalink }}">< prev</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
<li class="menu-item">
|
||||
{{ if .PrevInSection}}
|
||||
<span class="menu-item"> | </span>
|
||||
{{ end}}
|
||||
<a class="menu-item" href="{{ .Section | relURL }}">{{ .Section | lower }}</a>
|
||||
{{ if .NextInSection}}
|
||||
<span class="menu-item"> | </span>
|
||||
{{ end}}
|
||||
</li>
|
||||
|
||||
{{ with .NextInSection }}
|
||||
<li class="menu-item">
|
||||
<a class="menu-item" href="{{ .Permalink }}">next ></a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
{{ end }}
|
||||
<h4 class="text-center mt-3"><a class="menu-item" href="{{ .Site.BaseURL }}">home</a></h4>
|
||||
</section>
|
183
layouts/partials/social.html
Normal file
183
layouts/partials/social.html
Normal file
|
@ -0,0 +1,183 @@
|
|||
<section id="social-pane" class="text-center social">
|
||||
{{ with .Site.Params.social.twitter }}
|
||||
<a href="https://x.com/{{.}}" aria-label="X" target="_blank"><i class="fab fa-x-twitter" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.bluesky }}
|
||||
<a href="https://bsky.app/profile/{{.}}" aria-label="Bluesky" target="_blank"><i class="fab fa-bluesky" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.mastodon }}
|
||||
<a href="https://{{.}}" aria-label="Mastodon" target="_blank"><i class="fab fa-mastodon" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.google }}
|
||||
<a href="https://plus.google.com/{{.}}/about" aria-label="Google Plus" target="_blank"><i class="fab fa-google-plus" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.googlescholar}}
|
||||
<a href="https://scholar.google.com/citations?user={{.}}" aria-label="Google Scholar" target="_blank"><i class="fas fa-graduation-cap" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.orcid}}
|
||||
<a href="https://orcid.org/{{.}}" aria-label="ORCID" target="_blank"><i class="fab fa-orcid" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.goodreads }}
|
||||
<a href="https://www.goodreads.com/{{.}}" aria-label="Goodreads" target="_blank"><i class="fab fa-goodreads" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.lastfm }}
|
||||
<a href="https://www.last.fm/user/{{.}}/" aria-label="Last.fm" target="_blank"><i class="fab fa-lastfm" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.facebook }}
|
||||
<a href="https://facebook.com/{{.}}" aria-label="Facebook" target="_blank"><i class="fab fa-facebook" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.github }}
|
||||
<a href="https://github.com/{{.}}" aria-label="Github" target="_blank"><i class="fab fa-github" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.instagram }}
|
||||
<a href="https://instagram.com/{{.}}" aria-label="Instagram" target="_blank"><i class="fab fa-instagram" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.linkedin }}
|
||||
<a href="https://linkedin.com/in/{{.}}" aria-label="LinkedIn" target="_blank"><i class="fab fa-linkedin" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.stackoverflow }}
|
||||
<a href="https://stackoverflow.com/users/{{.}}" aria-label="StackOverflow" target="_blank"><i class="fab fa-stack-overflow" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.medium}}
|
||||
<a href="https://medium.com/{{.}}" aria-label="Medium" target="_blank"><i class="fab fa-medium" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.devto}}
|
||||
<a href="https://dev.to/{{.}}" aria-label="Dev.to" target="_blank"><i class="fas fa-terminal" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.angellist}}
|
||||
<a href="https://angel.co/{{.}}" aria-label="AngelList" target="_blank"><i class="fab fa-angellist" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.xing }}
|
||||
<a href="https://www.xing.com/profile/{{.}}" aria-label="Xing" target="_blank"><i class="fab fa-xing" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.gitlab}}
|
||||
<a href="https://gitlab.com/{{.}}" aria-label="Gitlab" target="_blank"><i class="fab fa-gitlab" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.bitbucket}}
|
||||
<a href="https://bitbucket.org/{{.}}" aria-label="Bitbucket" target="_blank"><i class="fab fa-bitbucket" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.fivehundredpx}}
|
||||
<a href="https://500px.com/{{.}}" aria-label="500px" target="_blank"><i class="fab fa-500px" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.flickr}}
|
||||
<a href="https://flickr.com/photos/{{.}}" aria-label="Flickr" target="_blank"><i class="fab fa-flickr" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.foursquare}}
|
||||
<a href="https://foursquare.com/{{.}}" aria-label="Foursquare" target="_blank"><i class="fab fa-foursquare" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.hackernews}}
|
||||
<a href="https://news.ycombinator.com/user?id={{.}}" aria-label="Y Combinator Hackernews" target="_blank"><i class="fab fa-hacker-news" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.kickstarter}}
|
||||
<a href="https://kickstarter.com/profile/{{.}}" aria-label="Kickstarter" target="_blank"><i class="fab fa-kickstarter" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.patreon}}
|
||||
<a href="https://patreon.com/{{.}}" aria-label="Patreon" target="_blank"><i class="fab fa-patreon" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.pintrest}}
|
||||
<a href="https://pintrest.com/{{.}}" aria-label="Pintrest" target="_blank"><i class="fab fa-pintrest" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.steam}}
|
||||
<a href="https://steamcommunity.com/id/{{.}}" aria-label="Steam" target="_blank"><i class="fab fa-steam" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.reddit}}
|
||||
<a href="https://www.reddit.com/user/{{.}}" aria-label="Reddit" target="_blank"><i class="fab fa-reddit" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.snapchat}}
|
||||
<a href="https://snapchat.com/add/{{.}}" aria-label="Snapchat" target="_blank"><i class="fab fa-snapchat" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.youtube}}
|
||||
<a href="https://youtube.com/channel/{{.}}" aria-label="Youtube" target="_blank"><i class="fab fa-youtube" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.keybase}}
|
||||
<a href="https://keybase.io/{{.}}" aria-label="Keybase" target="_blank"><i class="fab fa-keybase" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.twitch}}
|
||||
<a href="https://www.twitch.tv/{{.}}" aria-label="Twitch" target="_blank"><i class="fab fa-twitch" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.soundcloud}}
|
||||
<a href="https://soundcloud.com/{{.}}" aria-label="Soundcloud" target="_blank"><i class="fab fa-soundcloud" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.tumblr}}
|
||||
<a href="https://{{.}}.tumblr.com" aria-label="Tumblr" target="_blank"><i class="fab fa-tumblr" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.strava}}
|
||||
<a href="https://www.strava.com/athletes/{{.}}" aria-label="Strava" target="_blank"><i class="fab fa-strava" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.skype}}
|
||||
<a href="skype:{{.}}" aria-label="Skype" target="_blank"><i class="fab fa-skype" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.telegram}}
|
||||
<a href="https://t.me/{{.}}" aria-label="Telegram" target="_blank"><i class="fab fa-telegram" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.whatsapp}}
|
||||
<a href="https://wa.me/{{.}}" aria-label="Whatsapp" target="_blank"><i class="fab fa-whatsapp" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.buymeacoffee}}
|
||||
<a href="https://www.buymeacoffee.com//{{.}}" aria-label="Buymeacoffee" target="_blank"><i class="fas fa-coffee" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.kaggle}}
|
||||
<a href="https://kaggle.com/{{.}}" aria-label="Kaggle" target="_blank"><i class="fab fa-kaggle" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.holopin}}
|
||||
<a href="https://www.holopin.io/{{.}}" aria-label="Holopin" target="_blank"><i class="fas fa-certificate" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.email }}
|
||||
<a href="mailto:{{.}}" aria-label="Email"><i class="fas fa-envelope" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ with .Site.Params.social.pgp }}
|
||||
<a href="{{.}}.txt" aria-label="PGP" name="{{.}}"><i class="fas fa-key" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
{{ if and ( .Site.Params.extra.rss ) ( .RSSLink ) }}
|
||||
<a href="{{ .RSSLink }}" aria-label="RSS" target="_blank"><i class="fas fa-rss" aria-hidden="true"></i></a>
|
||||
{{ end }}
|
||||
</section>
|
||||
{{ if .Site.Params.extra.socialmarkup }}
|
||||
<script type="application/ld+json">
|
||||
{
|
||||
"@context": "http://schema.org",
|
||||
"@type": "Person",
|
||||
"name": "{{ .Site.Params.author }}",
|
||||
"url": "{{ .Site.Params.baseURL }}",
|
||||
"sameAs": [
|
||||
{{ with .Site.Params.social.twitter }}"https://twitter.com/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.google }}"https://plus.google.com/{{.}}/about",{{ end }}
|
||||
{{ with .Site.Params.social.googlescholar}}"https://scholar.google.com/citations?user={{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.orcid}}"https://orcid.org/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.goodreads }}"https://www.goodreads.com/user/show/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.lastfm }}"https://www.last.fm/user/{{.}}/",{{ end }}
|
||||
{{ with .Site.Params.social.facebook }}"https://facebook.com/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.github }}"https://github.com/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.instagram }}"https://instagram.com/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.linkedin }}"https://linkedin.com/in/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.stackoverflow }}"https://stackoverflow.com/users/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.medium}}"https://medium.com/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.devto}}"https://dev.to/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.angellist}}"https://angel.co/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.xing }}"https://www.xing.com/profile/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.gitlab}}"https://gitlab.com/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.bitbucket}}"https://bitbucket.org/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.fivehundredpx}}"https://500px.com/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.flickr}}"https://flickr.com/photos/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.foursquare}}"https://foursquare.com/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.hackernews}}"https://news.ycombinator.com/user?id={{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.kickstarter}}"https://kickstarter.com/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.patreon}}"https://patreon.com/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.pintrest}}"https://pintrest.com/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.steam}}"https://steamcommunity.com/id/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.reddit}}"https://www.reddit.com/user/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.snapchat}}"https://snapchat.com{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.youtube}}"https://youtube.com/channel/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.keybase}}"https://keybase.io/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.twitch}}"https://www.twitch.tv/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.soundcloud}}"https://soundcloud.com/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.tumblr}}"https://{{.}}.tumblr.com",{{ end }}
|
||||
{{ with .Site.Params.social.strava}}"https://www.strava.com/athletes/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.buymeacoffee}}"https://www.buymeacoffee.com//{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.kaggle}}"https://www.kaggle.com/{{.}}",{{ end }}
|
||||
{{ with .Site.Params.social.holopin}}"https://www.holopin.io/{{.}}",{{ end }}
|
||||
"{{ .Site.Params.baseURL }}"
|
||||
]
|
||||
}
|
||||
</script>
|
||||
{{ end }}
|
17
layouts/partials/sub_footer.html
Normal file
17
layouts/partials/sub_footer.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<footer class="text-center footer">
|
||||
<hr />
|
||||
{{ with .Site.Params.extra }}
|
||||
<h6 class="text-center copyright">{{ .copyright | markdownify }}</h6>
|
||||
{{ if ne .poweredby false }}
|
||||
<h6 class="text-center powered"><a href="https://gohugo.io/">Hugo</a> <a
|
||||
href="https://github.com/shenoydotme/hugo-goa">Goa</a> by <a href="https://shenoy.me">shenoydotme</a> and <a
|
||||
href="https://incirclemedia.com">Incircle Media</a></h6>
|
||||
{{ end }}
|
||||
{{ if ne .displayrssicon false }}
|
||||
<h6>
|
||||
<a href="{{ "index.xml" | absURL }}" aria-label="RSS Feed"><i class="fas fa-rss" aria-hidden="true"></i></a>
|
||||
</h6>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
|
||||
</footer>
|
Loading…
Add table
Add a link
Reference in a new issue