Update Title Formatting

This commit is contained in:
deathrow 2022-05-19 14:21:13 -04:00
parent ea9246c1a5
commit 90130b1d69
No known key found for this signature in database
GPG Key ID: FF39D67A22069F73
5 changed files with 98 additions and 3 deletions

View File

@ -1,5 +1,5 @@
--- ---
layout: page layout: default1
description: Just... a guide description: Just... a guide
title: Another Guide :/ title: Another Guide :/
--- ---

View File

@ -1,5 +1,5 @@
--- ---
layout: default layout: default1
description: Tools to use for your benefit description: Tools to use for your benefit
title: Tools title: Tools
--- ---

91
_layouts/default1.html Normal file
View File

@ -0,0 +1,91 @@
---
---
<!DOCTYPE html>
<html>
{% include head.html %}
<body class="animated fadeIn">
<div class="container">
<div id="background-div">
<svg id="background-svg">
<lineargradient id="Gradient1" x1="0" x2="0" y1="0" y2="1">
<stop stop-opacity="0" class="bgColor2" offset="0%" />
<stop stop-opacity="0.5" class="bgColor2" offset="10%" />
<stop stop-opacity="0.5" class="bgColor1" offset="40%" />
<stop stop-opacity="0" class="bgColor1" offset="100%" />
</lineargradient>
<g id="bg-layer1"></g>
<g id="bg-layer2" class="hide"></g>
<g id="bg-layer3"></g>
<g id="bg-layer4"></g>
</svg>
</div>
<div style="text-align:center;">
<section class="header">
{% include header.html %}
</section>
</div>
<section class="content">
<div class="row">
<!-- <div class="col-sm-2">
<div class="pane-separator hidden-xs" style="margin-bottom:30em;"></div>
<div class="left-pane">
</div>
</div> -->
<div class="col-sm-8 col-sm-offset-2 content-div">
<div class="page-separator hidden-xs">
<h1 class="h1-strip" style="padding-bottom:8em; margin-bottom: 0;"></h1>
</div>
<div class="page-separator visible-xs">
<h1 class="h1-strip" style="padding-bottom:2em; margin-bottom: 0;"></h1>
</div>
<h1 class="post-title page-title" id="title">
<div style="text-align:center;">
<a href="#title">{{ page.title }}</a></div></h1>
{{ content }}
</div>
<div class="col-sm-2">
<div class="pane-separator hidden-xs" style="margin-bottom:30em;"></div>
<div class="pane-separator visible-xs" style="margin-bottom:5em;"></div>
<div class="right-pane" style="margin-left: 1em;">
{% if site.avatar == true %}
<div class="avatar">
<center>
{% if site.avatar_image != null %}
<img src="{{ site.avatar_image | prepend: '/' | prepend: site.baseurl }}" alt="me" class="avatar-image">
{% endif %}
{% if site.avatar_description != null %}
<p class="avatar-description">{{site.avatar_description}}</p>
{% endif %}
<div class="right-links">
{% include links.html %}
</div>
</center>
</div>
{% endif %}
{% if site.blog == true %}
<div class="posts-list">
<a href="{{ '/blog' | prepend: site.baseurl }}">
<h4>Recent Posts:</h4>
</a>
<ul>
{% for i in (1..site.recent_posts) %}
{% assign post = site.posts[i] %}
<li>
<a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
</div>
</div>
</div>
</section>
<section class="footer">
{% include footer.html %}
</section>
</div>
</body>
</html>

4
_layouts/page1.html Normal file
View File

@ -0,0 +1,4 @@
---
layout: default1
---
{{ content }}

View File

@ -1,5 +1,5 @@
--- ---
layout: default layout: default1
title: Anonymous Land title: Anonymous Land
description: A fun happy place. description: A fun happy place.
--- ---