Skip to content

Commit a820465

Browse files
committed
First Jekyll Site Layout
1 parent 8ca3313 commit a820465

23 files changed

+876
-1
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_site
2+
.sass-cache
3+
.jekyll-metadata

README.md

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,28 @@
1-
utPLSQL Website.
1+
#utPLSQL Website
2+
3+
The [utPLSQL website](https://utplsql.github.io) is powered by [Jekyll](https://jekyllrb.com/). Which generated HTML when you push a commit to the master repository.
4+
5+
[GitHub](https://github.com/) hosts the site and stores the [source code of the web site](https://github.com/utPLSQL/utPLSQL.github.io)
6+
7+
8+
## How to make an announcement post.
9+
10+
Create a File in the `_posts` directory with the file name of `YYYY-MM-DD-Blog-Post-Name.md`
11+
12+
This file will be a standard [Markdown file](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet) which can be editing with any text editor although there are many offline and online editors for Markdown.
13+
14+
The file will also need a YAML Front Matter section at the top of the file.
15+
16+
---
17+
layout: post
18+
title: "Title of Blog Post"
19+
date: 2016-06-20 15:00:00 -0600
20+
categories: moving
21+
---
22+
23+
Look at an existing post if you want an example.
24+
25+
26+
27+
28+

_config.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole blog, values
4+
# which you are expected to set up once and rarely need to edit after that.
5+
# For technical reasons, this file is *NOT* reloaded automatically when you use
6+
# 'jekyll serve'. If you change this file, please restart the server process.
7+
8+
# Site settings
9+
title: utPLSQL
10+
email:
11+
description: > # this means to ignore newlines until "baseurl:"
12+
utPLSQL <br/>
13+
Unit Testing Framework for Oracle PL/SQL.
14+
baseurl: "" # the subpath of your site, e.g. /blog
15+
url: "https://utPLSQL.github.iom" # the base hostname & protocol for your site
16+
twitter_username: utplsql
17+
github_username: utplsql
18+
# Build settings
19+
markdown: kramdown
20+
exclude: ["README.md","dl-files"]

_includes/footer.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<footer class="site-footer">
2+
3+
<div class="wrapper">
4+
5+
<div class="footer-col-wrapper">
6+
7+
<div class="footer-col footer-col-1">
8+
<ul class="social-media-list">
9+
{% if site.github_username %}
10+
<li>
11+
{% include icon-github.html username=site.github_username %}
12+
</li>
13+
{% endif %}
14+
15+
{% if site.twitter_username %}
16+
<li>
17+
{% include icon-twitter.html username=site.twitter_username %}
18+
</li>
19+
{% endif %}
20+
</ul>
21+
</div>
22+
23+
<div class="footer-col footer-col-3">
24+
<p>{{ site.description }}</p>
25+
</div>
26+
</div>
27+
Copyright &copy; 2016 - utPLSQL Team
28+
</div>
29+
30+
</footer>

_includes/head.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<head>
2+
<meta charset="utf-8">
3+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
4+
<meta name="viewport" content="width=device-width, initial-scale=1">
5+
6+
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
7+
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
8+
9+
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}">
10+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
11+
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
12+
</head>

_includes/header.html

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
<header class="site-header">
2+
3+
<div class="wrapper">
4+
5+
<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
6+
7+
<nav class="site-nav">
8+
<a href="#" class="menu-icon">
9+
<svg viewBox="0 0 18 15">
10+
<path fill="#424242" d="M18,1.484c0,0.82-0.665,1.484-1.484,1.484H1.484C0.665,2.969,0,2.304,0,1.484l0,0C0,0.665,0.665,0,1.484,0 h15.031C17.335,0,18,0.665,18,1.484L18,1.484z"/>
11+
<path fill="#424242" d="M18,7.516C18,8.335,17.335,9,16.516,9H1.484C0.665,9,0,8.335,0,7.516l0,0c0-0.82,0.665-1.484,1.484-1.484 h15.031C17.335,6.031,18,6.696,18,7.516L18,7.516z"/>
12+
<path fill="#424242" d="M18,13.516C18,14.335,17.335,15,16.516,15H1.484C0.665,15,0,14.335,0,13.516l0,0 c0-0.82,0.665-1.484,1.484-1.484h15.031C17.335,12.031,18,12.696,18,13.516L18,13.516z"/>
13+
</svg>
14+
</a>
15+
16+
<div class="trigger">
17+
{% for my_page in site.pages %}
18+
{% if my_page.title %}
19+
<a class="page-link" href="{{ my_page.url | prepend: site.baseurl }}">{{ my_page.title }}</a>
20+
{% endif %}
21+
{% endfor %}
22+
</div>
23+
</nav>
24+
25+
</div>
26+
27+
</header>

_includes/icon-github.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<a href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a>

_includes/icon-github.svg

Lines changed: 1 addition & 0 deletions
Loading

_includes/icon-twitter.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<a href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a>

_includes/icon-twitter.svg

Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)