V2 #1
|
@ -3,7 +3,7 @@
|
||||||
"hostname": "data02.bitbadger.solutions",
|
"hostname": "data02.bitbadger.solutions",
|
||||||
"database": "myWebLog_dev"
|
"database": "myWebLog_dev"
|
||||||
},
|
},
|
||||||
"Generator": "myWebLog 2.0-alpha11",
|
"Generator": "myWebLog 2.0-alpha12",
|
||||||
"Logging": {
|
"Logging": {
|
||||||
"LogLevel": {
|
"LogLevel": {
|
||||||
"MyWebLog.Handlers": "Debug"
|
"MyWebLog.Handlers": "Debug"
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width">
|
<meta name="viewport" content="width=device-width">
|
||||||
<meta name="generator" content="{{ generator }}">
|
<meta name="generator" content="{{ generator }}">
|
||||||
<title>{{ page_title }} » Bit Badger Solutions</title>
|
<title>{{ page_title }} » Bit Badger Solutions</title>
|
||||||
|
|
|
@ -1,19 +1,33 @@
|
||||||
<article class="content auto">
|
<article class="content auto">
|
||||||
{%- assign parts = page.title | split: ' » ' -%}
|
{%- assign parts = page.title | split: ' » ' -%}
|
||||||
{%- assign parts_count = parts | size -%}
|
{%- assign parts_count = parts | size -%}
|
||||||
|
<h1 class="project-title">
|
||||||
{% if parts_count == 1 -%}
|
{% if parts_count == 1 -%}
|
||||||
<h1>{{ page.title }}</h1>
|
{{ page.title }}<br>
|
||||||
|
<small><small>
|
||||||
|
<a href="https://github.com/bit-badger/{{ page.title }}" target="_blank" rel="noopener"
|
||||||
|
title="{{ parts[0] }} on GitHub">
|
||||||
|
View on GitHub
|
||||||
|
</a>
|
||||||
|
{% if logged_on %} • <a href="{{ page | edit_page_link }}">Edit Page</a>{% endif %}
|
||||||
|
</small></small>
|
||||||
{%- else -%}
|
{%- else -%}
|
||||||
<h1><small><small>{{ parts[0] }}</small></small><br>{{ parts[1] }}</h1>
|
<small><small>
|
||||||
|
<a href="." title="{{ parts[0] }} Home">{{ parts[0] }}</a>
|
||||||
|
{% if logged_on %} • <a href="{{ page | edit_page_link }}">Edit</a>{% endif %}
|
||||||
|
</small></small>
|
||||||
|
<br>
|
||||||
|
{{ parts[1] }}
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
|
</h1>
|
||||||
{{ page.text }}
|
{{ page.text }}
|
||||||
{% if parts_count > 1 -%}
|
{% if parts_count > 1 -%}
|
||||||
{%- assign project = parts[0] | downcase | replace: '\.', '-' -%}
|
<p class="project-footer">
|
||||||
{%- capture project_url %}open-source/{{ project }}/{% endcapture -%}
|
<a href="." title="{{ parts[0] }} Home">« {{ parts[0] }} Home</a>
|
||||||
{% comment %}{{ project_url | relative_link }}{% endcomment %}
|
<a href="https://github.com/bit-badger/{{ parts[0] }}" target="_blank" rel="noopener"
|
||||||
<p><br><a href="." title="{{ parts[0] }} Home">« {{ parts[0] }} Home</a></p>
|
title="{{ parts[0] }} on GitHub">
|
||||||
{%- endif %}
|
View GitHub Repo
|
||||||
{% if logged_on -%}
|
</a>
|
||||||
<p><small><a href="{{ page | edit_page_link }}">Edit This Page</a></small></p>
|
</p>
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
</article>
|
</article>
|
||||||
|
|
|
@ -27,6 +27,10 @@ h1 {
|
||||||
margin: 1.4rem 0;
|
margin: 1.4rem 0;
|
||||||
font-size: 2rem;
|
font-size: 2rem;
|
||||||
}
|
}
|
||||||
|
h1.project-title {
|
||||||
|
margin-top: 0;
|
||||||
|
line-height: 1.2;
|
||||||
|
}
|
||||||
h2 {
|
h2 {
|
||||||
margin: 1.2rem 0;
|
margin: 1.2rem 0;
|
||||||
}
|
}
|
||||||
|
@ -266,6 +270,12 @@ blockquote {
|
||||||
padding-left: 1rem;
|
padding-left: 1rem;
|
||||||
}
|
}
|
||||||
/* Footer */
|
/* Footer */
|
||||||
|
.project-footer {
|
||||||
|
padding-top: 1rem;
|
||||||
|
display: flex;
|
||||||
|
flex-flow: row wrap;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
footer {
|
footer {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row wrap;
|
flex-flow: row wrap;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user