Commit d617da06 authored by Jeffrey Randow's avatar Jeffrey Randow

Initial Structured Data

parent eecad714
Pipeline #6973034 passed with stages
in 1 minute and 23 seconds
......@@ -125,7 +125,7 @@ googleAnalytics = "UA-50848309-1"
weight = 12
parent = "Who Am I?"
[[menu.main]]
name = "Photo Gallery"
name = "Photos"
url = "/picasa/"
weight = 3
pre = "<i class='fa fa-camera'></i>"
......@@ -167,3 +167,9 @@ googleAnalytics = "UA-50848309-1"
weight = 1
url = "/notes/netsectools/"
parent = "Notes"
[[menu.main]]
name = "Events"
weight = 7
pre = "<i class='fa fa-calendar'></i>"
url = "/events/"
<div class="thumbnail">
<img src="{{ .Site.Params.author.image }}" alt="" class="img-rounded">
<div class="caption text-center">
<h2>{{ .Site.Params.author.name }}</h2>
<h5>{{ .Site.Params.author.description }}</h5>
<div class="thumbnail" itemscope itemtype="schema.org/Person">
<img itemprop="image" src="{{ .Site.Params.author.image }}" alt="" class="img-rounded">
<div class="caption text-center" >
<h2 itemprop="name">{{ .Site.Params.author.name }}</h2>
<h5 itemprop="description">{{ .Site.Params.author.description }}</h5>
<h3>
{{ with .Site.Params.social.facebook }}<a href="https://www.facebook.com/{{ . }}" data-toggle="tooltip" title="Facebook"><i class="fa fa-facebook" aria-hidden="true"></i></a>&nbsp;{{ end }}
{{ with .Site.Params.social.twitter }}<a href="https://www.twitter.com/{{ . }}" data-toggle="tooltip" title="Twitter"><i class="fa fa-twitter" aria-hidden="true"></i></a>&nbsp;{{ end }}
{{ with .Site.Params.social.instagram}}<a href="https://www.instagram.com/{{.}}" data-toggle="tooltip" title="Instagram"><i class="fa fa-instagram" aria-hidden="true"></i></a>&nbsp;{{ end }}
{{ with .Site.Params.social.googleplus}}<a href="https://plus.google.com/u/0/+{{.}}" data-toggle="tooltip" title="Google Plus"><i class="fa fa-google-plus" aria-hidden="true"></i></a>&nbsp;{{ end }}
{{ with .Site.Params.social.pinterest}}<a href="https://www.pinterest.com/{{.}}" data-toggle="tooltip" title="Pinterest"><i class="fa fa-pinterest" aria-hidden="true"></i></a>&nbsp;{{ end }}
{{ with .Site.Params.social.github }}<a href="https://www.github.com/{{ . }}" data-toggle="tooltip" title="Github"><i class="fa fa-github"></i></a>&nbsp; {{ end }}
{{ with .Site.Params.social.gitlab }}<a href="https://www.gitlab.com/{{ . }}" data-toggle="tooltip" title="Gitlab"><i class="fa fa-gitlab"></i></a>&nbsp; {{ end }}
{{ with .Site.Params.social.bitbucket }}<a href="https://www.bitbucket.com/{{ . }}" data-toggle="tooltip" title="Bitbucket"><i class="fa fa-bitbucket"></i></a>&nbsp; {{ end }}
{{ with .Site.Params.social.linkedin }}<a href="https://www.linkedin.com/in/{{.}}" data-toggle="tooltip" title="LinkedIn"><i class="fa fa-linkedin"></i></a>&nbsp; {{ end }}
{{ with .Site.Params.social.stackoverflow }}<a href="http://stackexchange.com/users/{{.}}" data-toggle="tooltip" title="StackOverflow"><i class="fa fa-stack-overflow"></i></a>&nbsp;{{ end }}
{{ with .Site.Params.social.quora }}<a href="https://www.quora.com/profile/{{.}}" data-toggle="tooltip" title="Quora"><i class="fa fa-quora"></i></a>&nbsp;{{ end }}
{{ with .Site.Params.social.fitbit }}<a href="https://www.fitbit.com/user/{{.}}" data-toggle="tooltip" title="Fitbit"><i class="fa fa-th"></i></a>&nbsp;{{ end }}
{{ with .Site.Params.social.youtube }}<a href="https://www.youtube.com/{{.}}" data-toggle="tooltip" title="Youtube"><i class="fa fa-youtube"></i></a>&nbsp;{{ end }}
<a href="/index.xml" data-toggle="tooltip" title="RSS/XML"><i class="fa fa-rss"></i></a>
{{ with .Site.Params.social.facebook }}<a itemprop="sameAs" href="https://www.facebook.com/{{ . }}" data-toggle="tooltip" title="Facebook"><i class="sb fa fa-facebook" aria-hidden="true"></i></a>&nbsp;{{ end }}
{{ with .Site.Params.social.twitter }}<a itemprop="sameAs" href="https://www.twitter.com/{{ . }}" data-toggle="tooltip" title="Twitter"><i class="sb fa fa-twitter" aria-hidden="true"></i></a>&nbsp;{{ end }}
{{ with .Site.Params.social.instagram}}<a itemprop="sameAs" href="https://www.instagram.com/{{.}}" data-toggle="tooltip" title="Instagram"><i class="sb fa fa-instagram" aria-hidden="true"></i></a>&nbsp;{{ end }}
{{ with .Site.Params.social.googleplus}}<a itemprop="sameAs" href="https://plus.google.com/u/0/+{{.}}" data-toggle="tooltip" title="Google Plus"><i class="sb fa fa-google-plus" aria-hidden="true"></i></a>&nbsp;{{ end }}
{{ with .Site.Params.social.pinterest}}<a itemprop="sameAs" href="https://www.pinterest.com/{{.}}" data-toggle="tooltip" title="Pinterest"><i class="sb fa fa-pinterest" aria-hidden="true"></i></a>&nbsp;{{ end }}
{{ with .Site.Params.social.github }}<a itemprop="sameAs" href="https://www.github.com/{{ . }}" data-toggle="tooltip" title="Github"><i class="sb fa fa-github"></i></a>&nbsp; {{ end }}
{{ with .Site.Params.social.gitlab }}<a itemprop="sameAs" href="https://www.gitlab.com/{{ . }}" data-toggle="tooltip" title="Gitlab"><i class="sb fa fa-gitlab"></i></a>&nbsp; {{ end }}
{{ with .Site.Params.social.bitbucket }}<a itemprop="sameAs" href="https://www.bitbucket.com/{{ . }}" data-toggle="tooltip" title="Bitbucket"><i class="sb fa fa-bitbucket"></i></a>&nbsp; {{ end }}
{{ with .Site.Params.social.linkedin }}<a itemprop="sameAs" href="https://www.linkedin.com/in/{{.}}" data-toggle="tooltip" title="LinkedIn"><i class="sb fa fa-linkedin"></i></a>&nbsp; {{ end }}
{{ with .Site.Params.social.stackoverflow }}<a itemprop="sameAs" href="http://stackexchange.com/users/{{.}}" data-toggle="tooltip" title="StackOverflow"><i class="sb fa fa-stack-overflow"></i></a>&nbsp;{{ end }}
{{ with .Site.Params.social.quora }}<a itemprop="sameAs" href="https://www.quora.com/profile/{{.}}" data-toggle="tooltip" title="Quora"><i class="sb fa fa-quora"></i></a>&nbsp;{{ end }}
{{ with .Site.Params.social.fitbit }}<a itemprop="sameAs" href="https://www.fitbit.com/user/{{.}}" data-toggle="tooltip" title="Fitbit"><i class="sb fa fa-th"></i></a>&nbsp;{{ end }}
{{ with .Site.Params.social.youtube }}<a itemprop="sameAs" href="https://www.youtube.com/{{.}}" data-toggle="tooltip" title="Youtube"><i class="sb fa fa-youtube"></i></a>&nbsp;{{ end }}
<a href="/index.xml" data-toggle="tooltip" title="RSS/XML"><i class="sb fa fa-rss"></i></a>
</h3>
</div>
</div>
......
<div class = "container">
<h5>{{.Site.Params.copyright | safeHTML}} {{.Site.Params.license | safeHTML}} Hugo Theme "Mountains" by Jeffrey Randow.</h5>
<p><small>{{.Site.Params.copyright | safeHTML}} {{.Site.Params.license | safeHTML}} <br/>
Hugo Theme "Mountains" by Jeffrey Randow. Hugo Version {{.Hugo.Version}}. Last Rebuild: {{.Site.LastChange}} </small></p>
</div>
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
......@@ -13,10 +14,33 @@
{{if .Params.music -}}<script src="https://cdn.bootcss.com/aplayer/1.5.8/APlayer.min.js"></script>
<script> var player = new APlayer({ element: document.getElementById('player'), narrow: false, autoplay: false,
showlrc: false, mutex: true, theme: '#000000', mode: 'random',
music: [ {{ $cdn := .Site.Params.musiccdn }}{{ $group := .Params.music}}{{$coverart := .Params.coverart}}
music: [ {{ $cdn := .Site.Params.musiccdn }}{{ $group := .Params.music}}{{$coverart := .Params.coverart}}{{$location := .Params.location}}
{{ range .Params.playlist}}{{range .songs }}
{ title: '{{.title}}', author: '{{ $group }}', url: '{{ $cdn }}{{ .url }}', pic: '{{ $coverart}}' },
{{end}}{{end}}
]}); </script>{{end}}
]}); </script>
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "MusicGroup",
"event": [{
"@type": "Event",
"startDate": "{{.Date}}",
"url": "{{.Permalink}}",
"name": "{{ $group }}"
}],
"name": "{{ $group }}",
"url": "{{.Permalink}}",
"track": [
{{ range .Params.playlist}}{{range .songs }}
{
"@type": "MusicRecording",
"audio": [{"contentURL":"{{ $cdn }}{{ .url }}","encodingFormat": "mp3"}],
"name": "{{.title}}"
},
{{end}}{{end}}{}]
}
</script>
{{end}}
</body>
</html>
......@@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="author" content="{{.Site.Params.author.name}}">
{{.Hugo.Generator}}
<meta property="article:author" content="https://www.facebook.com/{{ .Site.Params.social.facebook }}" />
<meta name="description" content="{{ if .Description }}{{ .Description }}{{ else if .IsPage }}{{ .Summary }}{{ else }}{{ .Site.Params.description }}{{ end }}">
<meta name="keywords" content="{{ range $index, $element := .Keywords }}{{ if gt $index 0 }},{{ end }}{{ . }}{{ else }}{{ .Site.Params.defaultKeywords }}{{ end }}">
......
......@@ -7,3 +7,4 @@ h1#title {color: black; font-variant: small-caps; font-weight: bold;}
h5#date {font-weight: bold;}
span.label a {color: white;}
span.label a:hover {text-decoration: none;}
.sb {color: black;}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment