瀏覽代碼

Ajout liens Shaarli + git

master
albakham 6 月之前
父節點
當前提交
52b4d3e0a7
沒有連結到貢獻者的電子郵件帳戶。
共有 3 個檔案被更改,包括 5 行新增27 行删除
  1. +0
    -26
      README.md
  2. +3
    -0
      partials/icons/shaarli.hbs
  3. +2
    -1
      partials/site-nav.hbs

+ 0
- 26
README.md 查看文件

@@ -4,32 +4,6 @@ This is the [Ghost](https://github.com/tryghost/ghost/) theme of [www.geber.ga](

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 with the upstream.

List of the modifications made in this fork:

* [Custom CSS (lots of stuff, commented)](https://github.com/Angristan/Casper-XYZ/blob/master/assets/css/custom.css)
* [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)
* [Added Isso for comments](https://github.com/Angristan/Casper-XYZ/blob/master/post.hbs#L71)
* [Host jQuery locally](https://github.com/Angristan/Casper-XYZ/commit/50b425d7c1a370bd44d599d597b25623f8c8936b)
* [Use the Open Sans Pro font](https://github.com/Angristan/Casper-XYZ/blob/master/assets/css/custom.css#L1)
* [Header image is the same width as the content, and the content doesn't step on it](https://github.com/Angristan/Casper-XYZ/commit/1c0fd7d699651d7413028d130f59e20dbcab498e)
* [GitHub, Mastodon and Shaarli links and SVG icons](https://github.com/Angristan/Casper-XYZ/blob/master/partials/site-nav.hbs#L16)
* Added [GitLab CI](https://gitlab.com/angristan/Casper-XYZ/pipelines)
* [Use GitLab-like font for code blocks instead of ugly monospace](https://github.com/angristan/Casper-XYZ/blob/master/assets/css/custom.css#L163)
* [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 block]()
* [GitHub, Mastodon and Shaarli links]()
* [Footer]()

### 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:

+ 3
- 0
partials/icons/shaarli.hbs 查看文件

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1536 1792">
<path d="M877.745 128c161.027 0 253.695 159.492 278.001 478.507h66.062c287.114 44.053 429.182 135.232 426.143 273.471 24.306 162.547-79.767 237.736-312.192 225.584 177.737 156.468 241.523 302.32 191.392 437.52-39.498 107.859-133.657 143.562-282.53 107.102-164.066-82.031-280.287-176.246-348.65-282.585h-43.303c-63.804 188.371-187.59 282.586-371.405 282.586h-63.797c-153.43-47.093-208.905-139.762-166.37-278.002l79.76-221.052H308.1C83.27 1119.229-18.51 1019.74 2.757 852.637 8.832 699.206 162.995 621.724 465.3 620.205c83.551-9.115 118.51-35.706 104.838-79.76C570.138 265.484 672.663 128 877.745 128zM829.69 354.08c-55.987-3.65-83.227 72.17-81.804 227.405l-4.582 127.594c-4.56 63.804-25.075 95.669-61.534 95.669l-360.026 20.546c-56.207 1.52-84.29 24.274-84.29 68.328 0 42.535 30.374 65.343 91.14 68.382 211.156-10.635 309.9 3.807 296.228 43.304l-63.797 136.708c-107.858 162.547-134.449 258.252-79.76 287.115 72.917 44.055 176.19-69.875 309.872-341.797 31.9-28.864 58.492-28.864 79.76 0 94.185 100.261 171.667 182.271 232.432 246.074 62.284 63.804 112.428 82.828 150.406 57.003 45.574-48.612 33.424-101.048-36.455-157.255-68.361-57.727-146.587-136.7-234.696-236.961-9.115-33.422-6.878-50.155 6.794-50.155 297.747 19.748 440.56.778 428.407-56.948 9.115-63.803-120.003-95.722-387.368-95.722-41.016 7.595-74.428-2.262-100.252-29.607V540.445c0-124.569-29.63-186.117-88.875-184.597a69.654 69.654 0 0 0-11.598-1.768z" color="#000"/>
</svg>

+ 2
- 1
partials/site-nav.hbs 查看文件

@@ -17,7 +17,8 @@
<a class="social-link social-link-tw" href="{{twitter_url @site.twitter}}" title="Twitter" target="_blank" rel="noopener">{{> "icons/twitter"}}</a>
{{/if}}
<a rel="me" class="social-link social-link-ms" href="https://miaou.drycat.fr/@albakham" target="_blank" rel="noopener">{{> "icons/mastodon"}}</a>
<a class="social-link social-link-sh" href="https://git.drycat.fr" target="_blank" rel="noopener">{{> "icons/git"}}</a>
<a class="social-link social-link-sh" href="https://framagit.org/albakham" target="_blank" rel="noopener">{{> "icons/git"}}</a>
<a class="social-link social-link-sh" href="https://link.geber.ga" target="_blank" rel="noopener">{{> "icons/shaarli"}}</a>
{{#if @site.facebook}}
<a class="social-link social-link-fb" href="{{facebook_url @site.facebook}}" target="_blank" rel="noopener">{{> "icons/facebook"}}</a>
{{/if}}

Loading…
取消
儲存