_layouts
Directory actions
More options
Directory actions
More options
_layouts
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
---
layout: page
---
<style>
h1:not(.post-title-main) { display: none; }
</style>
{% if page.source %}
{% if page.branch %}
{% assign repo-branch = page.source | append: '/tree/' | append: page.branch %}
{% assign readme-file = page.source | append: '-' | append: page.branch | append: '.md' %}
{% else %}
{% assign repo-branch = page.source %}
{% assign readme-file = page.source | append: '.md' %}
{% endif %}
{% assign readme-loc = page.file | default: 'README.md' %}
{% if page.file %}
{% if page.branch %}
{% assign readme-file = page.source | append: '-' | append: page.branch | append: '/' | append: page.file %}
{% assign repo-branch = page.source | append: '/tree/' | append: page.branch | append: '/' | append: page.file %}
{% else %}
{% assign readme-file = page.source | append: '/' | append: page.file %}
{% assign repo-branch = page.source | append: '/tree/' | append: 'master' | append: '/' | append: page.file %}
{% endif %}
{% endif %}
{% assign org = page.org | default: "strongloop" %}
<div class="alert alert-info" role="alert"><i class="fa fa-info-circle"></i>
<b>Note:</b> This page was generated from the
<a href="https://github.com/{{org}}/{{repo-branch}}">{{page.source}}/{{readme-loc}}</a>.
</div>
{{content}}
{% capture included-readme %}{% include_relative readmes/{{readme-file}} %}{% endcapture %}
{{ included-readme | markdownify }}
{% else %}
<h3>ERROR: No source specified for README</h3>
{% endif %}