mirror of
https://github.com/garraflavatra/rolens.git
synced 2025-07-19 14:14:05 +00:00
Documentation website
This commit is contained in:
9
website/includes/githubstars.liquid
Normal file
9
website/includes/githubstars.liquid
Normal file
@ -0,0 +1,9 @@
|
||||
<a class="githubstars" href="https://github.com/garraflavatra/rolens" target="_blank">
|
||||
<span class="star">★</span>
|
||||
|
||||
{% if github.stars %}
|
||||
<span class="count">{{ github.stars }}</span>
|
||||
{% endif %}
|
||||
|
||||
Star on GitHub!
|
||||
</a>
|
3
website/includes/shortcut.liquid
Normal file
3
website/includes/shortcut.liquid
Normal file
@ -0,0 +1,3 @@
|
||||
{%- if shortcut.option -%}<kbd>⌥</kbd>{%- endif -%}
|
||||
{%- if shortcut.ctrl -%}<kbd>⌘</kbd>{%- endif -%}
|
||||
{%- if shortcut.symbol -%}<kbd>{{ shortcut.symbol }}</kbd>{%- endif -%}
|
10
website/includes/shortcuts.liquid
Normal file
10
website/includes/shortcuts.liquid
Normal file
@ -0,0 +1,10 @@
|
||||
<table><thead><tr><th>Shortcut</th><th>Action</th></tr></thead><tbody>
|
||||
{%- for sc in shortcuts -%}
|
||||
<tr><td>
|
||||
{%- if sc.link -%}<a href="{{ sc.link }}">{%- endif -%}
|
||||
{%- render "shortcut", shortcut: sc -%}
|
||||
{%- if sc.link -%}</a>{%- endif -%}
|
||||
</td>
|
||||
<td>{{ sc.description }}</td></tr>
|
||||
{%- endfor -%}
|
||||
</tbody></table>
|
Reference in New Issue
Block a user