Browse Source

end update

master
Albakham 3 months ago
parent
commit
10986f0a06
Signed by: albakham <dev@geber.ga> GPG Key ID: 6CE390277A579221
8 changed files with 2 additions and 87 deletions
  1. +0
    -37
      README.md
  2. +0
    -5
      author.hbs
  3. +0
    -6
      default.hbs
  4. +0
    -10
      error-404.hbs
  5. +0
    -4
      error.hbs
  6. +0
    -7
      package.json
  7. +0
    -7
      partials/site-nav.hbs
  8. +2
    -11
      post.hbs

+ 0
- 37
README.md View File

@@ -1,46 +1,9 @@
# Casper

<<<<<<< HEAD
This is the [Ghost](https://github.com/tryghost/ghost/) theme of [www.geber.ga](https://www.geber.ga), based on [Casper](https://github.com/TryGhost/Casper).

For more information regarding how to use the theme with Ghost, please refer to the [original README](https://github.com/TryGhost/Casper)

=======
This is the [Ghost](https://github.com/tryghost/ghost/) theme of [angristan.xyz](https://angristan.xyz), based on [Casper](https://github.com/TryGhost/Casper).

For more information regarding how to use the theme with Ghost, please refer to the [original README](https://github.com/TryGhost/Casper)

## Fork

I keep my fork [up-to-date](https://github.com/angristan/Casper-XYZ/wiki/Maintaining-the-fork) with the upstream.

List of the modifications made in this fork:

* [Custom CSS](https://github.com/angristan/Casper-XYZ/blob/master/assets/css/custom.css)
* Use the Open Sans Pro font
* Header image is the same width as the content, and the content doesn't step on it
* Use GitLab-like font for code blocks instead of ugly monospace
* Disable dark mode
* Isso (comments) style enhancements
* A lot more, check the comments!
* [Removed share buttons in the header](https://github.com/angristan/Casper-XYZ/commit/b4530b973a71bcdfce82c02572525171a5fa9159)
* [Replaced Feedly links by original RSS links](https://github.com/angristan/Casper-XYZ/commit/c618bc702969c217b6f48277244b6bf04b4e46bd)
* [Host jQuery locally](https://github.com/angristan/Casper-XYZ/commit/d9105f2667ed7ae8de32a3cd36d1bea8a910f77d)
* [GitHub, Mastodon, Linkedin, Instagram and Shaarli links and SVG icons](https://github.com/angristan/Casper-XYZ/blob/master/partials/site-nav.hbs#L16)
* [Use GitHub Actions for CI instead of Travis (test + deploy)](https://github.com/angristan/Casper-XYZ/tree/master/.github/workflows)
* [Replaced estimated reading time on posts list by the release date](https://github.com/angristan/Casper-XYZ/pull/4)

### Hardcoded stuff

I try to make the theme reusable as possible, but I still have to hardcode some stuff.

* [Isso comments](https://github.com/angristan/Casper-XYZ/blob/master/post.hbs)
* [GitHub, Mastodon, Linkedin, Instagram and Shaarli links](https://github.com/angristan/Casper-XYZ/blob/master/partials/site-nav.hbs)
* [Vultr affiliate link](https://github.com/angristan/Casper-XYZ/blob/master/default.hbs)

**MAKE SURE TO UPDATE/REMOVE THEM IF YOU PLAN ON REUSING MY THEME!**

>>>>>>> upstream/master
### External assets embedded

Here are the assets that are downloaded and included in the repo as I don't want to make call to 3rd-party services:


+ 0
- 5
author.hbs View File

@@ -13,10 +13,6 @@
{{#if profile_image}}
<img class="author-profile-image" src="{{profile_image}}" alt="{{name}}" />
{{/if}}
<<<<<<< HEAD
<div class="author-stats">
{{plural ../pagination.total empty=(t "No posts") singular=(t "1 post") plural=(t "% posts")}}
=======
<div class="author-header-content">
<h1 class="site-title">{{name}}</h1>
{{#if bio}}
@@ -39,7 +35,6 @@
<span class="author-social-link"><a href="{{facebook_url}}" target="_blank" rel="noopener">Facebook</a></span>
{{/if}}
</div>
>>>>>>> upstream/master
</div>
</div>
</div>


+ 0
- 6
default.hbs View File

@@ -53,11 +53,6 @@
{{#if @site.logo}}
<img class="subscribe-overlay-logo" src="{{@site.logo}}" alt="{{@site.title}}" />
{{/if}}
<<<<<<< HEAD
<h1 class="subscribe-overlay-title">S'abonnez à {{@site.title}}</h1>
<p class="subscribe-overlay-description">Restez au courant ! Recevez toutes les dernières nouveautés &amp; meilleures publications délivrées directement dans votre boîte de réception.</p>
{{subscribe_form placeholder="youremail@example.com"}}
=======
<div class="subscribe-form">
<h1 class="subscribe-overlay-title">Subscribe to {{@site.title}}</h1>
<p class="subscribe-overlay-description">Stay up to date! Get all the latest & greatest posts delivered straight to your inbox</p>
@@ -78,7 +73,6 @@
</div>
</form>
</div>
>>>>>>> upstream/master
</div>
</div>
{{/if}}


+ 0
- 10
error-404.hbs View File

@@ -11,15 +11,6 @@ into the {body} of the default.hbs template --}}
{{> site-header}}
</header>

<<<<<<< HEAD
<section class="error-message">
<h1 class="error-code">{{error.statusCode}}</h1>
<p class="error-description">{{message}}</p>
<a class="error-link" href="{{@site.url}}">Go to the front page →</a>
</section>
</div>
</main>
=======
<main id="site-main" class="site-main outer error-content">
<div class="inner">
<section class="error-message">
@@ -27,7 +18,6 @@ into the {body} of the default.hbs template --}}
<p class="error-description">{{message}}</p>
<a class="error-link" href="{{@site.url}}">Go to the front page →</a>
</section>
>>>>>>> upstream/master

{{#get "posts" limit="3" include="authors,tags"}}
<div class="post-feed">


+ 0
- 4
error.hbs View File

@@ -37,11 +37,7 @@ You'll notice that we *don't* use any JavaScript, or ghost_head / ghost_foot in
<div class="inner">

<section class="error-message">
<<<<<<< HEAD
<h1 class="error-code">{{error.statusCode}}</h1>
=======
<h1 class="error-code">{{statusCode}}</h1>
>>>>>>> upstream/master
<p class="error-description">{{message}}</p>
<a class="error-link" href="{{@site.url}}">Go to the front page →</a>
</section>


+ 0
- 7
package.json View File

@@ -1,15 +1,8 @@
{
<<<<<<< HEAD
"name": "casper-geber",
"description": "This is the Ghost theme of www.geber.ga, based on Casper.",
"demo": "https://www.geber.ga",
"version": "2.11.1",
=======
"name": "casper-xyz",
"description": "This is the Ghost theme of angristan.xyz, based on Casper.",
"demo": "https://angristan.xyz",
"version": "3.0.6",
>>>>>>> upstream/master
"engines": {
"ghost": ">=3.0.0",
"ghost-api": "v3"


+ 0
- 7
partials/site-nav.hbs View File

@@ -31,12 +31,6 @@
{{#if @site.facebook}}
<a class="social-link social-link-fb" href="{{facebook_url @site.facebook}}" target="_blank" rel="noopener">{{> "icons/facebook"}}</a>
{{/if}}
<<<<<<< HEAD
<a class="rss-button" href="{{@site.url}}/rss/" title="RSS" target="_blank" rel="noopener">{{> "icons/rss"}}</a>
</div>
{{#if @labs.subscribers}}
<a class="subscribe-button" href="#subscribe">S'abonner</a>
=======
</div>
{{#unless @labs.members}}
<a class="rss-button" href="{{@site.url}}/rss/" title="RSS" target="_blank" rel="noopener">{{> "icons/rss"}}</a>
@@ -45,7 +39,6 @@

{{#if @labs.members}}
<a class="subscribe-button" href="#subscribe">Subscribe</a>
>>>>>>> upstream/master
{{/if}}
</div>
</nav>

+ 2
- 11
post.hbs View File

@@ -127,17 +127,8 @@ into the {body} of the default.hbs template --}}
<section id="isso-thread"></section>
</section>

<<<<<<< HEAD
{{!-- Isso (hardcoded) --}}
<<<<<<< HEAD
<script data-isso="https://isso.geber.ga/" src="https://isso.geber.ga/js/embed.min.js"></script>
=======
<script data-isso="https://isso.angristan.xyz/" data-isso-gravatar="true" data-isso-avatar="false"
src="https://isso.angristan.xyz/js/embed.min.js"></script>
>>>>>>> upstream/master
<section id="isso-thread"></section>
=======
>>>>>>> upstream/master
<script data-isso="https://isso.geber.ga/" data-isso-gravatar="true" data-isso-avatar="false"
src="https://isso.geber.ga/js/embed.min.js"></script>

</article>
</div>


Loading…
Cancel
Save