Fixed docs
This commit is contained in:
parent
01ca2ce344
commit
886edb26bf
|
@ -49,12 +49,23 @@ theme: jekyll-theme-slate
|
||||||
changelog: https://github.com/mrstallion/fchat-rising/blob/master/CHANGELOG.md
|
changelog: https://github.com/mrstallion/fchat-rising/blob/master/CHANGELOG.md
|
||||||
|
|
||||||
download:
|
download:
|
||||||
version: v1.2.0
|
version: 1.2.0
|
||||||
win_url: https://github.com/mrstallion/fchat-rising/releases/download/v1.2.0/F-Chat-Rising-1.2.0-win.exe
|
|
||||||
win_size: 75 MB
|
|
||||||
mac_url: https://github.com/mrstallion/fchat-rising/releases/download/v1.2.0/F-Chat-Rising-1.2.0-macos.dmg
|
|
||||||
mac_size: 76 MB
|
|
||||||
linux_url: https://github.com/mrstallion/fchat-rising/releases/download/v1.2.0/F-Chat-Rising-1.2.0-linux.AppImage
|
|
||||||
linux_size: 76 MB
|
|
||||||
|
|
||||||
|
url: https://github.com/mrstallion/fchat-rising/releases/download/v%VERSION%/F-Chat-Rising-%VERSION%-%PLATFORM_TAIL%
|
||||||
|
|
||||||
|
downloads:
|
||||||
|
- type: win
|
||||||
|
name: Windows
|
||||||
|
tail: win.exe
|
||||||
|
size: 75 MB
|
||||||
|
|
||||||
|
- type: mac
|
||||||
|
name: MacOS
|
||||||
|
tail: macos.dmg
|
||||||
|
size: 76 MB
|
||||||
|
|
||||||
|
- type: linux
|
||||||
|
name: Linux
|
||||||
|
tail: linux.AppImage
|
||||||
|
size: 76 MB
|
||||||
|
|
||||||
|
|
|
@ -138,27 +138,19 @@
|
||||||
<header class="inner">
|
<header class="inner">
|
||||||
<a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a>
|
<a id="forkme_banner" href="{{ site.github.repository_url }}">View on GitHub</a>
|
||||||
|
|
||||||
<h1 id="project_title">{{ site.title | default: site.github.repository_name }}</h1>
|
<h1 id="project_title">{{ site.title }}</h1>
|
||||||
<h2 id="project_tagline">{{ site.description | default: site.github.project_tagline }}</h2>
|
<h2 id="project_tagline">{{ site.description }}</h2>
|
||||||
|
|
||||||
{% if site.show_downloads %}
|
{% if site.show_downloads %}
|
||||||
<section id="downloads_small">
|
<section id="downloads_small">
|
||||||
<h3>Downloads <small>| {{site.download.version}} | <a href="{{site.changelog}}">Changelog</a></small></h3>
|
<h3>Downloads <small>| v{{site.download.version}} | <a href="{{site.changelog}}">Changelog</a></small></h3>
|
||||||
|
|
||||||
<div class="download_link win">
|
{% for platform in site.download.downloads %}
|
||||||
<a href="{{ site.download.win_url }}"><i></i> Windows</a>
|
<div class="download_link {{platform.type}}">
|
||||||
<small>({{ site.download.win_size }})</small>
|
<a href="{{ site.download.url | replace: '%PLATFORM_TAIL%', platform.tail | replace: '%VERSION%', site.download.version }}"><i></i> {{platform.name}}</a>
|
||||||
</div>
|
<small>({{ platform.size }})</small>
|
||||||
|
|
||||||
<div class="download_link mac">
|
|
||||||
<a href="{{ site.download.mac_url }}"><i></i> MacOS</a>
|
|
||||||
<small>({{ site.download.mac_size }})</small>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="download_link linux">
|
|
||||||
<a href="{{ site.download.linux_url }}"><i></i> Linux</a>
|
|
||||||
<small>({{ site.download.linux_size }})</small>
|
|
||||||
</div>
|
</div>
|
||||||
|
{% endfor %}
|
||||||
</section>
|
</section>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</header>
|
</header>
|
||||||
|
|
Loading…
Reference in New Issue