1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 03:24:20 +00:00

💥 Update some more things

This commit is contained in:
Steffo 2021-10-12 19:02:26 +02:00
parent a22308b489
commit b4c8cfb147
Signed by: steffo
GPG key ID: 6965406171929D01
7 changed files with 82 additions and 57 deletions

View file

@ -0,0 +1,23 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="jekyll serve" type="CommandRunConfigurationType" factoryName="Gem Command">
<module name="jekyll-theme-bluelib" />
<COMMAND_RUN_CONFIGURATION NAME="RUBY_ARGS" VALUE="" />
<COMMAND_RUN_CONFIGURATION NAME="WORK DIR" VALUE="$PROJECT_DIR$" />
<COMMAND_RUN_CONFIGURATION NAME="SHOULD_USE_SDK" VALUE="false" />
<COMMAND_RUN_CONFIGURATION NAME="ALTERN_SDK_NAME" VALUE="" />
<COMMAND_RUN_CONFIGURATION NAME="myPassParentEnvs" VALUE="true" />
<EXTENSION ID="BundlerRunConfigurationExtension" bundleExecEnabled="true" />
<EXTENSION ID="JRubyRunConfigurationExtension" NailgunExecEnabled="false" />
<EXTENSION ID="RubyCoverageRunConfigurationExtension" track_test_folders="true" runner="rcov" IGNORE_RCOVRT="true" ENABLE_BRANCH_COVERAGE="true" ENABLE_FORKED_COVERAGE="true">
<COVERAGE_PATTERN ENABLED="true">
<PATTERN REGEXPS="/.rvm/" INCLUDED="false" />
</COVERAGE_PATTERN>
</EXTENSION>
<EXTENSION ID="org.jetbrains.plugins.ruby.rails.run.RailsRunConfigurationExtension" SCRATCH_USE_RAILS_RUNNER="false" />
<COMMAND_CONFIG_SETTINGS_ID NAME="GEM_NAME" VALUE="jekyll" />
<COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_NAME" VALUE="jekyll" />
<COMMAND_CONFIG_SETTINGS_ID NAME="EXECUTABLE_ARGS" VALUE="serve" />
<COMMAND_CONFIG_SETTINGS_ID NAME="WORKING_DIR" VALUE="$PROJECT_DIR$" />
<method v="2" />
</configuration>
</component>

View file

@ -1,15 +1,15 @@
<section class="panel post-summary">
<div class="post-title">
<section class="panel summary">
<div class="summary-title">
<a href="{{ post.url }}">
{{ post.title }}
</a>
</div>
<div class="post-date">
<div class="summary-date">
<time>
{{ post.date }}
</time>
</div>
<div class="post-tags">
<div class="summary-tags">
{% for tag in post.tags %}
{% include tag.html %}
{% endfor %}

View file

@ -9,35 +9,48 @@ layout: base
{{ content }}
</section>
<section class="panel panel-box">
<h2>
Latest posts
</h2>
<p>
These are the latest posts in the blog in reverse chronological order.
</p>
{% for post in site.posts %}
{% include post-summary.html %}
{% endfor %}
</section>
<section class="panel panel-box">
<h2>
Posts by tag
</h2>
<p>
These are all the posts in the blog, grouped by their tag.
</p>
<section class="chapter">
{% for tag_pair in site.tags %}
<section id="tag-{{ tag_pair[0] }}" class="panel panel-box">
<h3>
{{ tag_pair[0] }}
</h3>
{% for post in tag_pair[1] %}
{% include post-summary.html %}
{% endfor %}
</section>
{% if site.posts %}
<section class="panel panel-box">
<h2>
Posts
</h2>
<p>
These are the latest posts in the site in reverse chronological order.
</p>
{% for post in site.posts %}
{% include post-summary.html %}
{% endfor %}
</section>
</section>
<section class="panel panel-box">
<h2>
Posts by tag
</h2>
<p>
These are all the posts in the blog, grouped by their tag.
</p>
<section class="chapter">
{% for tag_pair in site.tags %}
<section id="tag-{{ tag_pair[0] }}" class="panel panel-box">
<h3>
{{ tag_pair[0] }}
</h3>
{% for post in tag_pair[1] %}
{% include post-summary.html %}
{% endfor %}
</section>
{% endfor %}
</section>
</section>
{% else %}
<section class="panel panel-box">
<h2>
Pages
</h2>
<p>
These are the pages in the site in alphabetical order.
</p>
{% for post in site.posts %}
{% include page-summary.html %}
{% endfor %}
</section>
{% endif %}

View file

@ -2,13 +2,13 @@
layout: base
---
<section class="panel panel-box page-info">
<div class="panel page-date">
<section class="panel panel-box info">
<div class="panel info-date">
<time>
{{ page.date }}
</time>
</div>
<div class="page-tags">
<div class="info-tags">
{% for tag in page.tags %}
{% include tag.html %}
{% endfor %}

View file

@ -1,18 +1,7 @@
---
layout: post
title: "Hello world!"
tag: example
tags: example first hello-world
---
This is a sample post made to display posts made using `jekyll-theme-bluelib`.
`:)`
<dl>
<dt>
Definition
</dt>
<dd>
Description!
</dd>
</dl>

View file

@ -1,4 +1,4 @@
.post-summary {
.summary {
display: grid;
grid-template-areas:
@ -12,7 +12,7 @@
white-space: nowrap;
}
.post-summary > .post-title {
.summary > .summary-title {
grid-area: title;
justify-self: start;
@ -20,7 +20,7 @@
font-weight: bold;
}
.post-summary > .post-date {
.summary > .summary-date {
grid-area: date;
justify-self: start;
@ -30,7 +30,7 @@
opacity: 0.7;
}
.post-summary > .post-tags {
.summary > .summary-tags {
grid-area: tags;
justify-self: end;
@ -39,7 +39,7 @@
gap: 4px;
}
.page-info {
.info {
display: flex;
flex-direction: row;
gap: 4px;
@ -48,7 +48,7 @@
font-size: small;
}
.page-info > .page-date {
.info > .info-date {
display: inline !important;
margin: 0 !important;
width: auto !important;
@ -56,7 +56,7 @@
justify-self: start;
}
.page-info > .page-tags {
.info > .info-tags {
display: flex;
flex-direction: row;
gap: 4px;

View file

@ -3,4 +3,4 @@ layout: home
title: "jekyll-theme-bluelib"
---
Appearently, Jekyll needs <code>index.html</code> to exist.
This is the example home page of <code>jekyll-theme-bluelib</code>.