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
|
||||
|
||||
download:
|
||||
version: v1.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
|
||||
version: 1.2.0
|
||||
|
||||
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">
|
||||
<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>
|
||||
<h2 id="project_tagline">{{ site.description | default: site.github.project_tagline }}</h2>
|
||||
<h1 id="project_title">{{ site.title }}</h1>
|
||||
<h2 id="project_tagline">{{ site.description }}</h2>
|
||||
|
||||
{% if site.show_downloads %}
|
||||
<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">
|
||||
<a href="{{ site.download.win_url }}"><i></i> Windows</a>
|
||||
<small>({{ site.download.win_size }})</small>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
{% for platform in site.download.downloads %}
|
||||
<div class="download_link {{platform.type}}">
|
||||
<a href="{{ site.download.url | replace: '%PLATFORM_TAIL%', platform.tail | replace: '%VERSION%', site.download.version }}"><i></i> {{platform.name}}</a>
|
||||
<small>({{ platform.size }})</small>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</section>
|
||||
{% endif %}
|
||||
</header>
|
||||
|
|
Loading…
Reference in New Issue