Various work

This commit is contained in:
Atlas Cove 2021-02-16 23:52:34 +00:00
parent a4edcf6806
commit 795be80470
6 changed files with 40 additions and 5 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
.sass-cache .sass-cache
_site _site
Gemfile.lock Gemfile.lock
*.bak

View File

@ -16,7 +16,7 @@
{{ content }} {{ content }}
<hr /> <hr />
{% if basic.display_info %} {% if basic.display_info %}
This is {{ site.url | get_domain }} running Jekyll. This is {{ site.url }} running Jekyll.
{% endif %} {% endif %}
{% include links.lqd.html top: false %} {% include links.lqd.html top: false %}
<hr /> <hr />

16
_layouts/home.lqd.html Normal file
View File

@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<title>{{ site.title }}</title>
<link rel="stylesheet" type="text/css" href="{{ "main.css" | relative_url }}" />
</head>
<body>
<h1 id="title">{{ site.title }}</h1>
<hr />
{{ content }}
{% if basic.display_info %}
<hr />
<p>This is {{ site.url }} running Jekyll.</p>
{% endif %}
</body>
</html>

View File

@ -4,7 +4,7 @@ layout: default
<h2>{{ page.title }}</h2> <h2>{{ page.title }}</h2>
<div id="metadata"> <div id="metadata">
<span id="url>{{ page.url }} <span id="url">{{ page.url }}</span>
{% if page.date %} {% if page.date %}
<span id="date">{{ page.date }}</span> by <span id="author">{{ page.author }}</span> <span id="date">{{ page.date }}</span> by <span id="author">{{ page.author }}</span>
{% else %} {% else %}

View File

@ -2,7 +2,7 @@
Gem::Specification.new do |spec| Gem::Specification.new do |spec|
spec.name = "jekyll-theme-basic" spec.name = "jekyll-theme-basic"
spec.version = "0.1.0" spec.version = "1.0.0"
spec.authors = ["Atlas48"] spec.authors = ["Atlas48"]
spec.email = ["Atlas48@gmx.com"] spec.email = ["Atlas48@gmx.com"]
spec.summary = "An incredibly rudimentary jekyll theme. Paper-thin, nothing but what's needed." spec.summary = "An incredibly rudimentary jekyll theme. Paper-thin, nothing but what's needed."

View File

@ -4,9 +4,27 @@ An incredibly rudimentary jekyll theme. Paper-thin, nothing but what's needed fo
You can see it up and running on my [blog](https://atlas48.sdf.org/) and my [website](https://atlas48.neocities.org), which this theme was originally made for. You can see it up and running on my [blog](https://atlas48.sdf.org/) and my [website](https://atlas48.neocities.org), which this theme was originally made for.
**NB**: This theme is still being tweaked and developed, and is on a more "rolling release" style of update.
## Layouts
### `default`
The default layout (natch). Has some things surrounding the core content.
### `page`
For non-blog related pages, this contains more content and metadata than default.
### `post`
For blog posts, this has the most metadata out of all the layouts.
### `bare`
Just a basic scaffold, nothing but boilerplate surrounding the content.
### `home`
Intended for use as a landing page. This is a mix between default and post.
## Config ## Config
This theme has a few options that one may use. Every option is under the `basic_theme` hierachy. This theme has a few options that one may use. Every option is under the `basic_theme` hierarchy.
### `header_links` ### `header_links`
@ -31,4 +49,4 @@ basic:
`bool` `bool`
Wherever or not to display the site's title at the top of the page. Wherever or not to display the site's title at the top of the page.