1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 11:34:21 +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"> <section class="panel summary">
<div class="post-title"> <div class="summary-title">
<a href="{{ post.url }}"> <a href="{{ post.url }}">
{{ post.title }} {{ post.title }}
</a> </a>
</div> </div>
<div class="post-date"> <div class="summary-date">
<time> <time>
{{ post.date }} {{ post.date }}
</time> </time>
</div> </div>
<div class="post-tags"> <div class="summary-tags">
{% for tag in post.tags %} {% for tag in post.tags %}
{% include tag.html %} {% include tag.html %}
{% endfor %} {% endfor %}

View file

@ -9,35 +9,48 @@ layout: base
{{ content }} {{ content }}
</section> </section>
<section class="panel panel-box"> {% if site.posts %}
<h2> <section class="panel panel-box">
Latest posts <h2>
</h2> Posts
<p> </h2>
These are the latest posts in the blog in reverse chronological order. <p>
</p> These are the latest posts in the site in reverse chronological order.
{% for post in site.posts %} </p>
{% include post-summary.html %} {% for post in site.posts %}
{% endfor %} {% include post-summary.html %}
</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 %} {% endfor %}
</section> </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 layout: base
--- ---
<section class="panel panel-box page-info"> <section class="panel panel-box info">
<div class="panel page-date"> <div class="panel info-date">
<time> <time>
{{ page.date }} {{ page.date }}
</time> </time>
</div> </div>
<div class="page-tags"> <div class="info-tags">
{% for tag in page.tags %} {% for tag in page.tags %}
{% include tag.html %} {% include tag.html %}
{% endfor %} {% endfor %}

View file

@ -1,18 +1,7 @@
--- ---
layout: post layout: post
title: "Hello world!" title: "Hello world!"
tag: example tags: example first hello-world
--- ---
This is a sample post made to display posts made using `jekyll-theme-bluelib`. 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; display: grid;
grid-template-areas: grid-template-areas:
@ -12,7 +12,7 @@
white-space: nowrap; white-space: nowrap;
} }
.post-summary > .post-title { .summary > .summary-title {
grid-area: title; grid-area: title;
justify-self: start; justify-self: start;
@ -20,7 +20,7 @@
font-weight: bold; font-weight: bold;
} }
.post-summary > .post-date { .summary > .summary-date {
grid-area: date; grid-area: date;
justify-self: start; justify-self: start;
@ -30,7 +30,7 @@
opacity: 0.7; opacity: 0.7;
} }
.post-summary > .post-tags { .summary > .summary-tags {
grid-area: tags; grid-area: tags;
justify-self: end; justify-self: end;
@ -39,7 +39,7 @@
gap: 4px; gap: 4px;
} }
.page-info { .info {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
gap: 4px; gap: 4px;
@ -48,7 +48,7 @@
font-size: small; font-size: small;
} }
.page-info > .page-date { .info > .info-date {
display: inline !important; display: inline !important;
margin: 0 !important; margin: 0 !important;
width: auto !important; width: auto !important;
@ -56,7 +56,7 @@
justify-self: start; justify-self: start;
} }
.page-info > .page-tags { .info > .info-tags {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
gap: 4px; gap: 4px;

View file

@ -3,4 +3,4 @@ layout: home
title: "jekyll-theme-bluelib" 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>.