UNPKG

elsewhere

Version:

A node project that aims to replicate the functionality of the Google Social Graph API

102 lines (94 loc) 3.79 kB
--- layout: default --- {% assign category = site.categories.overview %} <nav id="subnav"> <ul> {% for post in category reversed %} {% if forloop.first %} <li> <a href="{{ page_path }}#{{ post.url | replace_first:'/','' }}">{{ post.title }}</a> </li> {% endif %} {% endfor %} <li> <a href="{{ page_path }}#download">Download</a> </li> {% for post in category reversed %} {% unless forloop.first %} <li> <a href="{{ page_path }}#{{ post.url | replace_first:'/','' }}"> {% if post.heading %} {{ post.heading }} {% else %} {{ post.title }} {% endif %} </a> </li> {% endunless %} {% endfor %} </ul> </nav> {% for post in category reversed %} {% if forloop.first %} <section class="overview"> <h1> <a id="{{ post.url | replace_first:'/','' }}" class="permalink" href="#{{ post.url | replace_first:'/','' }}">&#9875;</a>{{ post.title }} </h1> <article class="embedded markdown"> {{ post.content }} </article> </section> {% endif %} {% endfor %} {% include aside.liquid %} {% if site.project_url %} <section> <h1><a id="download" class="permalink" href="#download">&#9875;</a> Download</h1> <p><a href="{{ site.project_url }}" target="_blank">Star the project</a> on GitHub, or {% if site.GITHUB_ZIP_URL %}<a target="_blank" href="{{ site.GITHUB_ZIP_URL }}">{% endif %}download it{% if site.GITHUB_ZIP_URL %}</a>{% endif %}:</p> <p class="buttons"> {% assign version = '{{ version }}' %} <a class="badge github" href="{{ site.project_url }}" title="{{ site.project_name }} on GitHub" target="_blank"><span>{{ site.project_name }} on GitHub</span></a> {% if site.GITHUB_ZIP_URL %} <a class="button" href="{{ site.GITHUB_ZIP_URL }}" target="_blank">{{ site.project_name }} <span class="subtext">v{{ site.version }}</span></a> {% endif %} {% for link in site.download_links %} <a class="button" href="{{ link.href }}" target="_blank"{% if link.title %} title="{{ link.title }}"{% endif %}> {{ link.text }} {% if link.subtext %}<span class="subtext">{{link.subtext | replace:version,site.version }}</span>{% endif %} </a> {% endfor %} </p> </section> {% endif %} {% for post in category reversed %} {% unless forloop.first %} <section> <h1> <a id="{{ post.url | replace_first:'/','' }}" class="permalink" href="#{{ post.url | replace_first:'/','' }}">&#9875;</a> {% if post.heading %} {{ post.heading }} {% else %} {{ post.title }} {% endif %} </h1> <article class="embedded markdown"> {{ post.content }} </article> </section> {% endunless %} {% endfor %} {% comment %} {% for section in site.sections %} {% if section.path == 'reference' %} <section> <h1> <a id="reference" class="permalink" href="#reference">&#9875;</a><a href="{{ relative_path }}{{ section.path }}">{{ section.name }}</a> </h1> <p> {{ site.REFERENCE_LINK_TEXT }} <a href="{{ relative_path }}{{ section.path }}">{{ section.name }}</a> </p> </section> {% endif %} {% endfor %} {% endcomment %}