Commit b32fb700 authored by Lukas Matt's avatar Lukas Matt

Fix profile entry and compress documentation links

parent b9890868
title: GangGo
description: A Decentralized Social Network
show_downloads: true
github:
slug: ganggo/ganggo
<!DOCTYPE html>
<html lang="{{ site.lang | default: "en-US" }}">
<head>
<title>{{ site.title }} - {{ site.description }}</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="chrome=1">
......
{% assign navigation_pages = site.html_pages | sort: 'navigation_order' %}
<a href="https://github.com/ganggo"><img style="position: absolute; top: 0; left: 0; border: 0; z-index: 9999;" src="https://camo.githubusercontent.com/82b228a3648bf44fc1163ef44c62fcc60081495e/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f7265645f6161303030302e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_red_aa0000.png"></a>
<nav class="navbar navbar-expand navbar-dark bg-dark">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarsExample08" aria-controls="navbarsExample08" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
......@@ -13,13 +14,21 @@
</li>
{% endif %}
{% endfor %}
<li class="nav-item">
<a class="nav-link" href="/api/index.html">API Docs</a>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">Documentation</a>
<div class="dropdown-menu">
{% for page in navigation_pages %}
{% if page.documentation %}
<a class="dropdown-item" href="{{ page.url }}">{{ page.title }}</a>
{% endif %}
{% endfor %}
<a class="dropdown-item" href="/api/index.html">API Docs</a>
</div>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">GitHub</a>
<div class="dropdown-menu">
<a class="dropdown-item" href="https://github.com/{{ site.github.slug }}">View On GitHub</a>
<div id="github" class="dropdown-menu">
<a class="dropdown-item" href="{{ site.github.owner_url }}">GitHub Profile</a>
</div>
</li>
</ul>
......
......@@ -4,26 +4,7 @@
<div class="container">
<main role="main">
<div class="jumbotron">
<div class="col text-center">
<h1>{{ site.title | default: site.github.repository_name }}</h1>
<p class="header">{{ site.description | default: site.github.project_tagline }}</p>
</div>
</div>
<div class="row">
<div class="col">
{% if site.github.is_project_page %}
<p class="header">This project is maintained by <a class="header name" href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
{% endif %}
{% if site.github.is_user_page %}
<ul>
<li><a class="buttons github" href="{{ site.github.owner_url }}">GitHub Profile</a></li>
</ul>
{% endif %}
</div>
</div>
<div class="row">
<div class="row py-5">
<div class="col">
{{ content }}
</div>
......
......@@ -6,7 +6,7 @@
var a = $("<a>").attr("class", "dropdown-item")
.attr("href", asset.browser_download_url).append("Download " + name[1]);
// append download link to the menu
$(".dropdown-menu").append(a);
$("#github").append(a);
});
});
})();
---
title: Development
layout: default
navigation_order: 3
documentation: true
---
# Dependencies
......
---
title: Locales
layout: default
navigation_order: 4
documentation: true
---
# Translation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment