Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ preferences:
flashcards:
enabled: false #Not supported in NotesGadern theme
homepage:
enabled: false ##If you need a homepage, change this to true and edit _includes/Homepage.html
enabled: true ##If you need a homepage, change this to true and edit _includes/Homepage.html

encoding: utf-8

Expand Down
10 changes: 7 additions & 3 deletions _includes/Homepage.html
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
<div class="block">
<div class="column is-4">
<div class="block homeblock">
<h1>Jekyll Garden Homepage</h1>

<p>
If you are seeing this as homepage, it means your configuration is set to have homepage.
Edit _includes/Homepage.html to modify this content. </br>
Edit _includes/Homepage.html to modify this content. </br>
To disable this, change homepage enabled to false at _config.yml
Go to URL/notes to see Digital Garden Feed.

</p>

</div>
</div>
</div>
4 changes: 2 additions & 2 deletions _layouts/Post.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,13 @@
<!--- CASE 1 : Homepage-->

{%- if page.permalink == "/" -%}
<div class="column is-half">
{%- if site.preferences.homepage.enabled -%}
<!--- Show Homepage -->
{%- include Homepage.html -%}
{%- include Footer.html -%}
<script src="/assets/js/modeswitcher.js"></script>
{%- else -%}
<!--- Show Feed Part -->
<div class="column is-half">
{%- include FeedContent.html -%}
{%- include Feed.html -%}
{%- include Footer.html -%}
Expand Down
12 changes: 12 additions & 0 deletions assets/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -3908,4 +3908,16 @@ a.tag:hover {
margin-bottom: 8px;
letter-spacing: 0.2em;
padding-top: 16px;
}

.homeblock a {
color : var(--link);
}

.homeblock h1 a {
color : var(--text-main);
}

.homeblock h1 a:hover {
color : var(--link);
}
24 changes: 0 additions & 24 deletions pages/tags.md

This file was deleted.