Permalink
Browse files

Shrunk picture size

Shrunk picture size, added last revision, changes to analytics code.
  • Loading branch information...
vibbix committed Jan 29, 2017
1 parent efcbf74 commit 4fb90fd637f8ed68843e2876f73de6c2e5ea7550
@@ -15,6 +15,7 @@ disqusShortname = "mtechnic-me"
googleAnalytics = "UA-90762825-1"
enableGitInfo = true
enableEmoji = true
enablerobotsTXT = true
config = "config.toml"
[params]
@@ -15,4 +15,4 @@ author = "Mark Beznos"
Hello world! This is my new blog. It's still a work-in-progress. There are a ton of changes I have to make to the
theme, including fixing that nasty flexbox categories/tags misalignment in the CSS, tidying up the projects page,
and documenting my work. I'm going to try to keep the site updated often. I also have a custom theme in the works thats
much more aesthetic.
much more aesthetic.
@@ -0,0 +1,142 @@
<!-- Sidebar -->
<section id="sidebar">
<!-- Intro -->
<section id="intro">
{{ $pic := .Site.Params.intro.pic }}
{{ with $pic.src }}
{{ if $pic.circle }}
<img src="{{ . }}" class="intro-circle" width="{{ $pic.width }}" alt="{{ $pic.alt }}" />
{{ else if $pic.imperfect }}
<a href="/" class="logo"><img src="{{ . }}" alt="{{ $pic.alt }}" /></a>
{{ else }}
<img src="{{ . }}" width="{{ $pic.width }}" alt="{{ $pic.alt }}" />
{{ end }}
{{ end }}
{{ with .Site.Params.intro }}
<header>
<h2>{{ .header | safeHTML }}</h2>
<p>{{ .paragraph | safeHTML }}</p>
</header>
{{ end }}
<ul class="icons">
{{ if .RSSLink }}
<li><a href="{{ .RSSLink }}" type="application/rss+xml"
target="_blank" title="RSS" class="fa fa-rss"></a></li>
{{ end }}
{{ if .Site.Params.socialAppearAtTop }}
{{ partial "social" . }}
{{ end }}
</ul>
</section>
<!-- Posts List -->
<section id="recent-posts">
<ul class="posts">
<header>
<h3>Recent Posts</h3>
</header>
{{ if .Site.Params.orderByPublishDate }}
{{ $.Scratch.Set "recentPosts" .Site.Pages.ByPublishDate.Reverse }}
{{ else }}
{{ $.Scratch.Set "recentPosts" .Site.Pages }}
{{ end }}
{{ with .Site.Params.postAmount.sidebar }}
{{ $.Scratch.Set "postLimit" . }}
{{ else }}
{{ $.Scratch.Set "postLimit" 5 }}
{{ end }}
{{ range first ($.Scratch.Get "postLimit") (where ($.Scratch.Get "recentPosts") "Type" "post") }}
<li>
<article>
<header>
<h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3>
{{ if .Site.Params.orderByPublishDate }}
{{ $.Scratch.Set "dateType" .PublishDate }}
{{ else }}
{{ $.Scratch.Set "dateType" .Date }}
{{ end }}
<time class="published" datetime=
'{{ ($.Scratch.Get "dateType").Format "2006-01-02" }}'>
{{ ($.Scratch.Get "dateType").Format "January 2, 2006" }}</time>
</header>
</article>
</li>
{{ end }}
{{ if ge (len (where .Site.Pages "Type" "post")) ($.Scratch.Get "postLimit") }}
<li>
<ul class="actions">
<li><a href=
{{ with .Site.Params.viewMorePostLink }}
{{ . }}
{{ else }}
"/post/"
{{ end }}
class="button">View more posts</a></li>
</ul>
</li>
{{ end }}
</ul>
</section>
<!-- This if statement only applies if someone goes to the /categories url -->
<!-- Otherwise this section is shown for all other links -->
{{ if ne ($.Scratch.Get "showCategories") false }}
<!-- Categories List -->
<section id="categories">
<ul class="posts">
<header>
<h3><a href="/categories/">Categories</a></h3>
</header>
{{ if .Site.Params.categoriesByCount }}
{{ $.Scratch.Set "categories" .Site.Taxonomies.categories.ByCount }}
{{ else }}
{{ $.Scratch.Set "categories" .Site.Taxonomies.categories.Alphabetical }}
{{ end }}
{{ range $key, $value := $.Scratch.Get "categories" }}
<li>
<article>
<header>
<a href="/categories/{{ $value.Name | urlize }}/">{{ $value.Name }}</a>
<span style="float:right;">{{ $value.Count }}</span>
</header>
</article>
</li>
{{ end }}
</ul>
</section>
{{ end }}
<!-- About -->
{{ with .Site.Params.intro.about }}
<section class="blurb">
<h2>About</h2>
<p> {{ . }}</p>
<ul class="actions">
<li><a href="/about/" class="button">Learn More</a></li>
</ul>
</section>
{{ end }}
<!-- Footer -->
<section id="footer">
<ul class="icons">
{{ if .RSSLink }}
<li><a href="{{ .RSSLink }}" type="application/rss+xml"
target="_blank" title="RSS" class="fa fa-rss"></a></li>
{{ end }}
{{ if .Site.Params.socialAppearAtBottom }}
{{ partial "social" . }}
{{ end }}
</ul>
<p class="copyright">&copy; {{ .Site.Title }}. Design: <a href="http://html5up.net" target="_blank">HTML5 UP</a>. Ported by <a href="//github.com/jpescador" target="_blank">Julio Pescador</a>. Powered by <a href="//gohugo.io" target="_blank">Hugo</a></p>
<p class="copyright">Last revision: {{ .Lastmod.Format "Mon Jan _2 15:04:05 2006" }} {{ with .GitInfo }} | <a href="https://github.com/vibbix/vibbix.github.io/commit/{{ .Hash }}">{{ .Subject }} ({{ .AbbreviatedHash }})</a>{{end}}</p>
</section>
</section>
@@ -0,0 +1,3 @@
{{ with .GitInfo }}
<p>{{ .AbbreviatedHash }}</p>
{{ end }}

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.

This file was deleted.

Oops, something went wrong.
BIN -1.12 MB (49%) static/pics/Hapcapp.png
Binary file not shown.
BIN -2.17 KB (96%) static/pics/LG3D.jpg
Binary file not shown.
BIN -22.7 KB (66%) static/pics/matchp.png
Binary file not shown.
BIN -407 KB (60%) static/pics/pic.png
Binary file not shown.
@@ -75,8 +75,11 @@
<!--[if lte IE 9]><link rel="stylesheet" href="/css/ie9.css" /><![endif]-->
<!--[if lte IE 8]><link rel="stylesheet" href="/css/ie8.css" /><![endif]-->
{{ if ne (printf "%v" $.Site.BaseURL) "http://localhost:1313/" }}
{{ if ne (printf "%v" $.Site.BaseURL) "http://localhost:1313/" }}
<!-- rendered analyctics-->
{{ template "_internal/google_analytics_async.html" . }}
{{else}}
<!-- Not rendered, Analyctics-->
{{ end }}
</head>
<body>

0 comments on commit 4fb90fd

Please sign in to comment.