Skip to content

Commit 758e99e

Browse files
JP MarquesJP Marques
JP Marques
authored and
JP Marques
committed
Added book reviews Disqus comments, and refactored the includes and other layouts.
1 parent b479baf commit 758e99e

20 files changed

+136
-26
lines changed

_book-hunters/chapter-1.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: subpage
2+
layout: book-hunters
33
navbar:
44
- Back: light-novels/book-hunters
55
title: The Infinite Book

_book-hunters/chapter-2.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
layout: subpage
2+
layout: book-hunters
33
navbar:
44
- Back: light-novels/book-hunters
55
title: The Trial

_book-reviews/books.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
layout: book-reviews
3+
title: Book Reviews
4+
---
5+
6+
These are the reviews for all the books I read.

_book-reviews/short-stories.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
layout: book-reviews
3+
title: Short Story Reviews
4+
---
5+
6+
These are the reviews for all the short stories I read.

_book-reviews/short-stories/test.md

-4
This file was deleted.

_book-reviews/writing-prompts.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
layout: book-reviews
3-
title: Writing Prompts Reviews
4-
navbar:
5-
- Back: book-reviews
3+
title: Writing Prompt Reviews
64
---
75

86
These are the reviews for Writing Prompts I see on reddit, always linking to the original content, and notifying the creator of said review.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
---
2+
layout: writing-prompt-review
3+
original-url: https://www.reddit.com/r/Hydrael_Writes/comments/6gosoj/bloodlines_part_8_training_session/
4+
title: Bloodlines Part 8
5+
final-rating: 7.75
6+
character-development: 7
7+
universe-development: 8
8+
consistency: 6
9+
flow: 10
10+
comments: true
11+
---
12+
13+
Like said in the post, the story has begun to drag. The story didn't move much from last time: all that changed was that the MC did some
14+
training we don't see, and is only referenced by the lesser gods wanting to capitalize on Cross' rise to power to gain political themselves.
15+
16+
We don't see much in the ways of character development, only part that develops the main character is `"And makes sense. Let's do this again - I think I bled some energy off that one."`, where we are teased that he may be starting to learn some magic that not many magicians know (Absorption). Nate doesn't
17+
develop much from how he was introduced to us, and we don't learn anything about him besides what was previously established.
18+
19+
Consitency is what I had the most issues with. At first, while in courtship, the MC is basicly "immune" to aggression from the courtees and their family. Then, on the party, he learns that women take a more active role and can themselves decide to break off the courtship, instead of being passed as merchandise like it seemed they would be on the first chapters (this being addressed by the women themselves in the party). Then all of a sudden, should the courtee be offended, they can just duel and kill you? What?
20+
21+
The flow, however, was in my opinion flawless - organic and seemed like an actual lesson, with the little story development it had being interweaved with the dialogue seamlessly.

_book-reviews/writing-prompts/test.md

-4
This file was deleted.

_config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
markdown: kramdown
22
highlighter: rouge
33
baseurl: ""
4-
exclude: ["README.md", "Gemfile", "Gemfile.lock", "_apps/rsappcentral.md"]
4+
exclude: ["README.md", "Gemfile", "Gemfile.lock", "_apps/rsappcentral.md", "_book-hunters/chapter-2.md"]
55
title: JPCMarques' personal website
66
theme: jekyll-theme-cayman
77
permalink: pretty
File renamed without changes.

_includes/book-review-ratings.html

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<h3>Overall ratings (1-10)</h3>
2+
<ul>
3+
<li>Character development: {{page.character-development}}</li>
4+
<li>Universe development: {{page.universe-development}}</li>
5+
<li>Consistency: {{page.consistency}}</li>
6+
<li>Flow: {{page.flow}}</li>
7+
</ul>
8+
<strong>Final verdict: {{page.final-rating}}</strong>

_includes/book-reviews-disqus.html

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{% if page.comments %}
2+
<div id="disqus_thread"></div>
3+
<script>
4+
5+
/**
6+
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
7+
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
8+
/*
9+
var disqus_config = function () {
10+
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
11+
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
12+
};
13+
*/
14+
(function() { // DON'T EDIT BELOW THIS LINE
15+
var d = document, s = d.createElement('script');
16+
s.src = 'https://book-reviews-1.disqus.com/embed.js';
17+
s.setAttribute('data-timestamp', +new Date());
18+
(d.head || d.body).appendChild(s);
19+
})();
20+
</script>
21+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
22+
23+
{% endif %}

_includes/general-sidebar.html

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
<div class="sidebar no-print">
3+
{% if layout.sidebarlinks %}
4+
{% for sidebarlink in layout.sidebarlinks %}
5+
{% for sidebarlinkdata in sidebarlink %}
6+
<a href="{{page.url}}{{sidebarlinkdata[1]}}/" style="padding-left: 5px;">{{sidebarlinkdata[0]}}</a><br><br>
7+
{% endfor %}
8+
{% endfor %}
9+
{% else %}
10+
{% for sidebarlink in page.sidebarlinks %}
11+
{% for sidebarlinkdata in sidebarlink %}
12+
<a href="{{page.url}}{{sidebarlinkdata[1]}}/" style="padding-left: 5px;">{{sidebarlinkdata[0]}}</a><br><br>
13+
{% endfor %}
14+
{% endfor %}
15+
{% endif%}
16+
</div>

_includes/regular-sidebar.html

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
2+
<div class="sidebar no-print">
3+
{% if layout.sidebarlinks %}
4+
{% for sidebarlink in layout.sidebarlinks %}
5+
{% for sidebarlinkdata in sidebarlink %}
6+
<a href="#{{sidebarlinkdata[1]}}" style="padding-left: 5px;">{{sidebarlinkdata[0]}}</a><br><br>
7+
{% endfor %}
8+
{% endfor %}
9+
{% else %}
10+
{% for sidebarlink in page.sidebarlinks %}
11+
{% for sidebarlinkdata in sidebarlink %}
12+
<a href="#{{sidebarlinkdata[1]}}" style="padding-left: 5px;">{{sidebarlinkdata[0]}}</a><br><br>
13+
{% endfor %}
14+
{% endfor %}
15+
{% endif %}
16+
</div>

_layouts/book-hunters.html

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: subpage
3+
---
4+
5+
{{content}}
6+
7+
{% include book-hunters-disqus.html %}

_layouts/book-reviews.html

+4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
---
22
layout: subpagedir
33
sidebarClass: sidebar
4+
navbar:
5+
- Back: book-reviews
46
---
57

68
{{content}}
@@ -14,3 +16,5 @@
1416
{% endif %}
1517
{% endfor %}
1618
</ul>
19+
20+
{% include book-reviews-disqus.html %}

_layouts/subpage.html

+1-10
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,5 @@
1919
{{content}}
2020
{% endif %}
2121
</div>
22-
<div
23-
class="{{page.sidebarClass | default: sidebar }} no-print">
24-
{% for sidebarlink in page.sidebarlinks %}
25-
{% for sidebarlinkdata in sidebarlink %}
26-
<a href="#{{sidebarlinkdata[1]}}" style="padding-left: 5px;">{{sidebarlinkdata[0]}}</a><br><br>
27-
{% endfor %}
28-
{% endfor %}
29-
</div>
22+
{% include regular-sidebar.html %}
3023
{% endif %}
31-
32-
{% include disqus.html %}

_layouts/subpagedir.html

+7-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,10 @@
33
---
44
{% include navbar.html %}
55

6-
{{content}}
6+
<div class="regular-text" style="float:left;">
7+
{% if page.wip %}
8+
This page is a work in progress, please wait for a new update
9+
{% else %}
10+
{{content}}
11+
{% endif %}
12+
</div>

_layouts/writing-prompt-review.html

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
---
2+
layout: subpage
3+
comments: true
4+
navbar:
5+
- Back: book-reviews/writing-prompts/
6+
---
7+
8+
<h2><a href="{{page.original-url}}">Read the original on Reddit!</a></h2>
9+
10+
{% include book-review-ratings.html %}
11+
12+
<h3>Full review</h3>
13+
14+
{{content}}
15+
16+
{% include book-reviews-disqus.html %}

book-reviews.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,4 @@ I will try to organize the reviews neatly so that they're easy to find. Without
1313

1414
- [Writing Prompts](writing-prompts/)
1515
- [Short Stories](short-stories/)
16-
- [Full novels](full-novels/)
16+
- [Books](books/)

0 commit comments

Comments
 (0)