Skip to content

Commit

Permalink
Full site conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
Lomeli12 committed May 29, 2017
1 parent 0a734f6 commit 1b5b30b
Show file tree
Hide file tree
Showing 117 changed files with 27,187 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -0,0 +1,3 @@
_site
.sass-cache
files
Empty file added 404.html
Empty file.
21 changes: 21 additions & 0 deletions LICENSE
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2016 Babji P, Chetty

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
118 changes: 118 additions & 0 deletions _config.yml
@@ -0,0 +1,118 @@
# Build settings
# Gems
gems:
- jekyll-paginate
- jekyll-feed

# url is the full website URL
# baseurl is the website's URL without the hostname
# If you are hosting it on Github for some project with name 'projectname', then the url and baseurl should look like:
#url: "http://username.github.io/projectname"
#baseurl: "/projectname"
url: "https://lomeli12.net"
enforce_ssl: ""
baseurl: "https://lomeli12.net"

# Title of website
title: Lomeli's Bloggy Thingy

#Default keywords (used if no keywords are specified on a page basis)
keywords: test1, test2, etc

# Short description of your site
desc: Sample Description

# --- Navigation bar options --- #

# Image to show in the navigation bar - image must be a square (width = height)
# Remove this parameter if you don't want an image in the navbar
avatar: "/img/avatar.jpg"

# List of links in the navigation bar
nav-links: [
["Home", "#"],
["Mods", "hasSubtypes", [
["Mod Packs & Videos", "minecraft-mods/mod-packs"],
["LomLib", "minecraft-mods/lomlib"],
["Simple Condensers", "minecraft-mods/simple-condensers"],
["AchieveSON", "minecraft-mods/achieveson"],
["Gels+", "minecraft-mods/gels"],
["Turtle Gun", "minecraft-mods/turtle-gun"],
["Elemental Creepers", "minecraft-mods/elemental-creepers-rebooted"],
["Trophy Slots", "minecraft-mods/trophy-slots"],
["Craft Cards", "minecraft-mods/craft-cards"],
["Memory", "minecraft-mods/memory"],
["Void Glasses", "minecraft-mods/void-glasses"]
]],
["Apps", "hasSubtypes", [
["BoomBot - A Discord Bot", "isRedirect", "https://boombot.github.io/"],
["PngCap", "apps/pngcap"],
["PlumMod", "apps/plummod"],
["ASMDHT", "apps/asmdht"],
["PasTo for Android", "apps/pasto-for-android"]
]],
["Tutorials", "hasSubtypes", [
["Tutorial: How to make a simple Multiblock Structure",
"tutorials/tutorial-how-to-make-a-simple-multiblock-structure"]
]],
["Information", "hasSubtypes", [
["About Me", "about-me"],
["GitHub Résumé", "isRedirect", "https://resume.github.io/?Lomeli12"],
["Contact", "contact"],
["Links", "about-me/links"]
]],
["Livestreams", "livestreams"]
]

# --- Footer options --- #

# If the values are empty, they are ignored
profile:
name: Anthony Lomeli
email: anthony@lomeli12.net
github: lomeli12
twitter: lomeli12_

# To display link in the footer section
pretty-url: "lomeli12.net"

# --- Misc --- #

# Google Analytics Settings
google_analytics: ""

# Set these options as you need (For more information, check Jekyll's site)
timezone: "America/Los_Angeles"
markdown: kramdown
#highlighter: rouge
kramdown:
input: GFM
syntax_highlighter: rouge
permalink: /post/:title
paginate: 5

# Default YAML values (more information on Jekyll's site)
defaults:
-
scope:
path: ""
type: "posts"
values:
comments: true # add comments to all blog posts
-
scope:
path: "" # all files
values:
layout: "default"
show-avatar: true

# Exclude these files from production site
exclude:
- Gemfile
- Gemfile.lock
- LICENSE
- README.md
- CNAME

created-by: Anthony, Lomeli
creator-url: https://lomeli12.net
17 changes: 17 additions & 0 deletions _includes/footer.html
@@ -0,0 +1,17 @@
<footer class="footer">
<div class="container footerBox">
<p class="copyright text-muted">
Copyright&nbsp;&copy;&nbsp; {{ site.time | date: '%Y' }}
{% if site.pretty-url %} &nbsp;&bull;&nbsp;
<a href="{{ site.url }}">{{ site.pretty-url }}</a>
{% endif %}
</p>

<!-- This is my 'Open Source' work. So, please don't remove the below copyright content. :) -->
<p class="text-muted">
Theme by
<a href="https://github.com/bchetty/jekyllBasicBlog">bchetty</a>
with additional modifications by <a href="{{ site.url }}">Lomeli</a>
</p>
</div>
</footer>
13 changes: 13 additions & 0 deletions _includes/google_analytics.html
@@ -0,0 +1,13 @@
{% if site.google_analytics %}
<!-- Google Analytics -->
<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', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
{% endif %}
64 changes: 64 additions & 0 deletions _includes/head.html
@@ -0,0 +1,64 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="{% if page.desc %}{{ page.desc }}{% else %}{{ site.desc }}{% endif %}">
<meta name="author" content="{{ site.profile.name }}" />
<meta name="keywords" content="{% if page.keywords %}{{ page.keywords }}{% else %}{{ site.keywords }}{% endif %}">

<link rel="icon" type="image/x-icon" href="{{ site.baseurl }}/assets/img/favicon.ico">
<link rel="icon" type="image/png" href="{{ site.baseurl }}/assets/img/favicon.png">
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>

<link rel="alternate" type="application/rss+xml" title="{{ site.title }} - {{ site.description }}" href="{{ site.baseurl }}/feed.xml" />

<!-- Bootstrap core CSS -->
<link href="{{ site.baseurl }}/assets/css/bootstrap.css" rel="stylesheet">

<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<link href="{{ site.baseurl }}/assets/css/ie10-viewport-bug-workaround.css" rel="stylesheet">

<!-- Custom styles for this template -->
<link href="{{ site.baseurl }}/assets/css/custom.css" rel="stylesheet">

<!-- Styles for 'Syntax Highlighting' of code -->
<link href="{{ site.baseurl }}/assets/css/syntax.css" rel="stylesheet">
<link href="{{ site.baseurl }}/assets/css/prism.css" rel="stylesheet">

<link rel="stylesheet" href="{{ site.baseurl }}/assets/css/font-awesome.min.css">

<link href="{{ site.baseurl }}/assets/css/bootstrap-social.css" rel="stylesheet">

<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<script src="{{ site.baseurl }}/assets//js/ie-emulation-modes-warning.js"></script>

<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-5722129317952908",
enable_page_level_ads: true
});
</script>
<script type="text/javascript">
function toggle_visibility(id) {
var e = document.getElementById(id);
if(e.style.display == 'block')
e.style.display = 'none';
else if (e.style.display == 'none')
e.style.display = 'block';
else
e.style.display = 'none';
}
</script>
<script src='https://www.google.com/recaptcha/api.js'></script>
</head>
43 changes: 43 additions & 0 deletions _includes/nav.html
@@ -0,0 +1,43 @@
<!-- Fixed navbar -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false"
aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="{{ site.url }}">{{ site.title }}</a>
</div>

<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
{% for link in site.nav-links %}
{% if link[1] == "hasSubtypes" %}
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button">{{ link[0] }}<span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
{% for sublink in link[2] %}
<li>
{% if sublink[1] == "isRedirect" %}
<a href="{{ sublink[2] }}">{{ sublink[0] }}</a>
{% else %}
<a href="{{ site.baseurl }}/{{ sublink[1] }}">{{ sublink[0] }}</a>
{% endif %}
</li>
{% endfor %}
</ul>
</li>
{% else %}
<li>
<a href="{{ site.baseurl }}/{{ link[1] }}">{{ link[0] }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
<!--/.nav-collapse -->
</div>
</nav>
10 changes: 10 additions & 0 deletions _includes/scripts.html
@@ -0,0 +1,10 @@
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script>
window.jQuery || document.write('<script src="{{ site.baseurl }}/assets//js/jquery.min.js"><\/script>')
</script>
<script src="{{ site.baseurl }}/assets/js/bootstrap.min.js"></script>
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="{{ site.baseurl }}/assets/js/ie10-viewport-bug-workaround.js"></script>
26 changes: 26 additions & 0 deletions _includes/sidebar.html
@@ -0,0 +1,26 @@
<h2>Social Media</h2>
<a href="https://github.com/Lomeli12" class="btn btn-social-icon btn-github"><span class="fa fa-github"></span></a>
<a href="https://twitter.com/Lomeli12_" class="btn btn-social-icon btn-twitter"><span class="fa fa-twitter"></span></a>
<a href="https://reddit.com/u/Lomeli12" class="btn btn-social-icon btn-reddit"><span class="fa fa-reddit"></span></a>
<a href="http://youtube.com/user/AntLomeli" class="btn btn-social-icon btn-youtube"><span class="fa fa-youtube"></span></a>
<a href="https://twitch.tv/Lomeli12" class="btn btn-social-icon btn-twitch"><span class="fa fa-twitch"></span></a>
<a href="http://steamcommunity.com/id/Lomeli12/" class="btn btn-social-icon btn-github"><span class="fa fa-steam"></span></a>
<p><a href="https://player.me/lomeli12" target="_blank">Player.me</a></p>
<p><a href="http://minecraft.curseforge.com/members/Lomeli12/projects" target="_blank">CurseForge Projects Page</a></p>
<p><a href="https://www.patreon.com/lomeli12" target="_blank">Patreon</a></p>
<a class="twitter-timeline" href="https://twitter.com/Lomeli12_" data-widget-id="555979078587531266">Tweets by @Lomeli12_</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<h2>DogeCoins Please</h2>
<center><a class="btn btn-success" onclick="toggle_visibility('dogeCoinQr');"><span class="fa fa-qrcode"></span> Show QR Code</a>
<img src="{{ site.baseurl }}/data/uploads/qrdoge.png" id="dogeCoinQr" style="display:none;" class="gs_image" height="74" width="74" alt=""><br />
DPtzufPJCZFuFEsbakC8shHvm9XHszscES</center>
<!--Ad-->
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<!-- SideBarAd -->
<ins class="adsbygoogle"
style="display:inline-block;width:300px;height:250px"
data-ad-client="ca-pub-5722129317952908"
data-ad-slot="7364265271"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
31 changes: 31 additions & 0 deletions _layouts/post.html
@@ -0,0 +1,31 @@
---
layout: template1
comments: true
hidetitle: true
---

<div class="row">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="text-primary">{{ page.title }}</h3>
<span class="text-muted"><small>Posted on {{ page.date | date: "%B %-d, %Y" }}</small></span>
</div>
<div class="panel-body">
{{ content }}
</div>
<div class="panel-footer">
<ul class="pager blog-pager">
{% if page.previous.url %}
<li class="previous">
<a href="{{ page.previous.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top"
title="{{page.previous.title}}">&larr; Previous Post</a>
</li>
{% endif %} {% if page.next.url %}
<li class="next">
<a href="{{ page.next.url | prepend: site.baseurl | replace: '//', '/' }}" data-toggle="tooltip" data-placement="top" title="{{page.next.title}}">Next Post &rarr;</a>
</li>
{% endif %}
</ul>
</div>
</div>
</div>
31 changes: 31 additions & 0 deletions _layouts/template1.html
@@ -0,0 +1,31 @@
<!DOCTYPE html>
<html lang="en">

{% include head.html %}

<body>
<script src="{{ site.baseurl }}/assets/js/prism.js"></script>
{% include nav.html %}

<div class="container">
<div class="col-md-8 col-xs-12">
{% if page.layout == "template1" %}
{% if page.hidetitle != true %}
<h1>{{ page.title }}</h1>
<hr />
{% endif %}
{% endif %}
{{ content }}
</div>
<!-- space between blocks-->
<div class="col-xs-12 visible-xs"><br></div>
<div class="col-md-4 col-xs-12" style="min-height: 485px">
{% include sidebar.html %}
</div>
</div>

{% include footer.html %}
{% include scripts.html %}
</body>

</html>

0 comments on commit 1b5b30b

Please sign in to comment.