Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions assets/apps/_template/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ platforms:
# Or just boolean for platforms without store links
windows: true
linux: true
freebsd: true
# Web app with hosted URL
web:
url: https://my-awesome.netlify.app
Expand Down
1 change: 1 addition & 0 deletions assets/apps/app-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@
]
},
"linux": { "type": "boolean" },
"freebsd": { "type": "boolean" },
"web": {
"oneOf": [
{ "type": "boolean" },
Expand Down
1 change: 1 addition & 0 deletions assets/apps/firmium/index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ platforms:
macos: false
windows: true
linux: true
freebsd: true
web: false
docker: false
other: false
Expand Down
1 change: 1 addition & 0 deletions content/en/docs/developers/adding-apps.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ The `isOpenSource` field controls whether the app displays an open source badge
- `macos` - macOS (optionally with Mac App Store link)
- `windows` - Windows
- `linux` - Linux
- `freebsd` - FreeBSD
- `web` - Web browser
- `docker` - Docker container (optionally with Docker Hub link)
- `other` - CLI tools, other platforms
Expand Down
4 changes: 4 additions & 0 deletions layouts/apps/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,10 @@
<input type="checkbox" name="platform" value="macos">
<span><i class="fab fa-apple"></i> macOS</span>
</label>
<label class="filter-checkbox">
<input type="checkbox" name="platform" value="freebsd">
<span><i class="fab fa-freebsd"></i> FreeBSD</span>
</label>
<label class="filter-checkbox">
<input type="checkbox" name="platform" value="web">
<span><i class="fas fa-globe"></i> Web</span>
Expand Down
4 changes: 4 additions & 0 deletions layouts/partials/app-card.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
{{ if $platforms.windows }}{{ $platformsList = $platformsList | append "windows" }}{{ end }}
{{ if $platforms.linux }}{{ $platformsList = $platformsList | append "linux" }}{{ end }}
{{ if $platforms.macos }}{{ $platformsList = $platformsList | append "macos" }}{{ end }}
{{ if $platforms.freebsd }}{{ $platformsList = $platformsList | append "freebsd" }}{{ end }}
{{ if $platforms.web }}{{ $platformsList = $platformsList | append "web" }}{{ end }}
{{ if $platforms.docker }}{{ $platformsList = $platformsList | append "docker" }}{{ end }}
{{ if $platforms.other }}{{ $platformsList = $platformsList | append "other" }}{{ end }}
Expand Down Expand Up @@ -166,6 +167,9 @@ <h3 class="app-name">
{{ if $platforms.linux }}
<span title="Linux"><i class="fab fa-linux"></i></span>
{{ end }}
{{ if $platforms.freebsd }}
<span title="FreeBSD"><i class="fab fa-freebsd"></i></span>
{{ end }}
{{ if $platforms.web }}
{{ if and (ne (printf "%T" $platforms.web) "bool") (isset $platforms.web "url") }}
<a href="{{ $platforms.web.url }}" target="_blank" rel="noopener" title="Web">
Expand Down
Loading