Reverted back to hyde-x theme and removed all meetup related content

This commit is contained in:
Salar Rahmanian 2018-02-18 00:25:45 -08:00
parent 1e44952695
commit 1a64efac69
293 changed files with 6963 additions and 3234 deletions

View file

@ -0,0 +1,9 @@
{{ partial "head.html" . }}
<div class="content container">
<div class="post">
<h1>404 Not Found</h1>
<p>What you're looking for isn't here, sorry!</p>
<p><a href="{{ "/" | absURL }}">&larr; Click here to go back home</a></p>
</div>
</div>
{{ partial "foot.html" . }}

View file

@ -0,0 +1,14 @@
{{ partial "head.html" . }}
<div class="content container">
<ul class="posts">
{{ range .Data.Pages }}
<li><a href="{{ .Permalink }}">{{ .Title }}</a>
{{ if isset .Params "categories" }}
&middot;
{{ range .Params.categories }}<a class="label" href="{{ "/categories/" | absURL }}{{ . | urlize }}">{{ . }}</a>{{ end }}
{{ end }}</span>
&middot; <time>{{ .Date.Format "Jan 2, 2006" }}</time></li>
{{ end }}
</ul>
</div>
{{ partial "foot.html" . }}

View file

@ -0,0 +1,8 @@
{{ partial "head.html" . }}
<div class="content container">
<div class="post">
<h1 class="post-title">{{ .Title }}</h1>
{{ .Content }}
</div>
</div>
{{ partial "foot.html" . }}

View file

@ -0,0 +1,41 @@
{{ partial "head.html" . }}
<div class="content container">
<div class="posts">
{{ $paginator := .Paginate (where .Data.Pages "Type" "post") }}
{{ range $paginator.Pages }}
<div class="post">
<h1 class="post-title">
<a href="{{ .Permalink }}">{{ .Title }}</a>
</h1>
<span class="post-date">{{ .Date.Format "Jan 2, 2006" }}{{ if not .Site.Params.hideReadingTime }} &middot; {{ .ReadingTime }} minute read{{ end }}{{ if .Site.DisqusShortname }} &middot; <a href="{{ .Permalink }}#disqus_thread">Comments</a>{{ end }}
{{ if isset .Params "categories" }}
<br/>
{{ range .Params.categories }}<a class="label" href="{{ "/categories/" | absURL }}{{ . | urlize }}">{{ . }}</a>{{ end }}
{{ end }}</span>
{{ if eq .Site.Params.truncate false }}
{{ .Content }}
{{ else if .Description }}
<p>{{ .Description }}</p>
<a href="{{ .Permalink }}">Read On &rarr;</a>
{{ else }}
{{ .Summary }}
{{ if .Truncated }}<a href="{{ .Permalink }}">Read On &rarr;</a>{{ end }}
{{ end }}
</div>
{{ end }}
{{ template "_internal/pagination.html" . }}
</div>
</div>
{{ with .Site.DisqusShortname }}
<script type="text/javascript">
var disqus_shortname = {{ . }};
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
{{ end }}
{{ partial "foot.html" . }}

View file

@ -0,0 +1,4 @@
{{ if isset .Site.Params "highlight" }}<script src="{{ "/js/highlight.pack.js" | absURL }}"></script>
<script>hljs.initHighlightingOnLoad();</script>{{ end }}
</body>
</html>

View file

@ -0,0 +1,47 @@
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en-us">
<head>
<link href="http://gmpg.org/xfn/11" rel="profile">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<!-- Enable responsiveness on mobile devices-->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1">
<title>{{ .Title }} &middot; {{ .Site.Author.name }}</title>
<!-- CSS -->
<link rel="stylesheet" href="{{ "/css/poole.css" | absURL }}">
<link rel="stylesheet" href="{{ "/css/hyde.css" | absURL }}">
<link rel="stylesheet" href="{{ "/css/poole-overrides.css" | absURL }}">
<link rel="stylesheet" href="{{ "/css/hyde-overrides.css" | absURL }}">
<link rel="stylesheet" href="{{ "/css/hyde-x.css" | absURL }}">
{{ if isset .Site.Params "highlight" }}<link rel="stylesheet" href="{{ "/css/highlight/" | absURL }}{{ .Site.Params.highlight }}.css">{{ end }}
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700|Abril+Fatface">
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
{{ with .Site.Params.customCSS }}<link rel="stylesheet" href="{{ . }}">{{ end }}
<!-- Icons -->
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="{{ "/touch-icon-144-precomposed.png" | absURL }}">
<link href="{{ "/favicon.png" | absURL }}" rel="icon">
<!-- RSS -->
{{ $siteTitle := .Site.Title }}
{{ $authorName := .Site.Author.name }}
{{ with .RSSLink }}<link href="{{ . }}" rel="alternate" type="application/rss+xml" title="{{ $siteTitle }} &middot; {{ $authorName }}" />{{ end }}
<meta name="description" content="{{ if ne .Description "" }}{{ .Description }}{{ else }}{{ .Site.Params.defaultDescription }}{{ end }}">
<meta name="keywords" content="{{ range $index, $element := .Keywords }}{{ if gt $index 0 }},{{ end }}{{ . }}{{ else }}{{ .Site.Params.defaultKeywords }}{{ end }}">
{{ with .Site.Params.googleAnalytics }}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ . }}', 'auto');
ga('send', 'pageview');
</script>
{{ end }}
</head>
<body{{ with .Site.Params.theme }} class="{{ . }}"{{ end }}>
{{ partial "sidebar.html" . }}

View file

@ -0,0 +1,50 @@
<div class="sidebar">
<div class="container sidebar-sticky">
<div class="sidebar-about">
{{ if isset .Site.Params "gravatarHash" }}
<img src="https://www.gravatar.com/avatar/{{ .Site.Params.gravatarHash }}?s=200"
alt="gravatar" title="{{ .Site.Author.name }}">
{{ end }}
<h1>{{ .Site.Author.name }}</h1>
{{ with .Site.Params.tagline }}<p class="lead">{{ . | markdownify }}</p>{{ end }}
</div>
<ul class="sidebar-nav">
<li class="sidebar-nav-item"><a href="{{ "/" | absURL }}">{{ if isset .Site.Params "home"}}{{ .Site.Params.home }}{{ else }}Blog{{ end }}</a></li>
{{ range .Site.Menus.main }}
<li class="sidebar-nav-item">{{ .Pre }}<a href="{{ .URL | absURL }}">{{ .Name }}</a></li>
{{end}}
</ul>
<ul class="sidebar-nav">
<li class="sidebar-nav-item">
{{ with .Site.Params.github }}<a href="{{ . }}"><i class="fa fa-github-square fa-3x"></i></a>{{ end }}
{{ with .Site.Params.bitbucket }}<a href="{{ . }}"><i class="fa fa-bitbucket-square fa-3x"></i></a>{{ end }}
{{ with .Site.Params.stackOverflow }}<a href="{{ . }}"><i class="fa fa-stack-overflow fa-3x"></i></a>{{ end }}
{{ with .Site.Params.linkedin }}<a href="{{ . }}"><i class="fa fa-linkedin-square fa-3x"></i></a>{{ end }}
{{ with .Site.Params.googleplus }}<a href="{{ . }}"><i class="fa fa-google-plus-square fa-3x"></i></a>{{ end }}
{{ with .Site.Params.facebook }}<a href="{{ . }}"><i class="fa fa-facebook-square fa-3x"></i></a>{{ end }}
{{ with .Site.Params.twitter }}<a href="{{ . }}"><i class="fa fa-twitter-square fa-3x"></i></a>{{ end }}
{{ with .Site.Params.youtube }}<a href="{{ . }}"><i class="fa fa-youtube-square fa-3x"></i></a>{{ end }}
{{ if .Site.Params.rss }}<a href="{{ "/index.xml" | absURL }}" type="application/rss+xml"><i class="fa fa-rss-square fa-3x"></i></a>{{ end }}
</li>
</ul>
{{ if isset .Site.Params "flattr" }}
<p><script id='flattr'>
(function(id){
var s = document.getElementById(id);
var f = document.createElement('iframe');
f.src = '//api.flattr.com/button/view/?uid={{ .Site.Params.flattr }}&button=compact&url={{ "/" | absURL }}&title={{ .Site.Title }}';
f.title = 'Flattr';
f.height = 20;
f.width = 110;
f.style.borderWidth = 0;
s.parentNode.insertBefore(f, s);
})('flattr');
</script></p>
{{ end }}
{{ partial "sidebar/footer.html" . }}
</div>
</div>

View file

@ -0,0 +1,2 @@
<p>Copyright &copy; {{ now.Format "2006" }} <a href="{{ "/license/" | absURL }}">License</a><br/>
Powered by <a href="http://gohugo.io">Hugo</a> and <a href="https://github.com/zyro/hyde-x">Hyde-X</a></p>

View file

@ -0,0 +1,39 @@
{{ partial "head.html" . }}
<div class="content container">
<div class="post">
<h1 class="post-title">{{ .Title }}</h1>
<span class="post-date">{{ .Date.Format "Jan 2, 2006" }}{{ if not .Site.Params.hideReadingTime }} &middot; {{ .ReadingTime }} minute read{{ end }}{{ if .Site.DisqusShortname }} &middot; <a href="{{ .Permalink }}#disqus_thread">Comments</a>{{ end }}
{{ if isset .Params "categories" }}
<br/>
{{ range .Params.categories }}<a class="label" href="{{ "/categories/" | absURL }}{{ . | urlize }}">{{ . }}</a>{{ end }}
{{ end }}</span>
{{ .Content }}
</div>
{{ if .Site.DisqusShortname }}<div id="disqus_thread"></div>{{ end }}
</div>
{{ with .Site.DisqusShortname }}
<script type="text/javascript">
var disqus_shortname = {{ . }};
(function () {
var s = document.createElement('script'); s.async = true;
s.type = 'text/javascript';
s.src = '//' + disqus_shortname + '.disqus.com/count.js';
(document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
}());
</script>
{{ end }}
{{ with .Site.DisqusShortname }}
<script type="text/javascript">
var disqus_shortname = {{ . }};
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
<a href="http://disqus.com" class="dsq-brlink">comments powered by <span class="logo-disqus">Disqus</span></a>
{{ end }}
{{ partial "foot.html" . }}