home page fix (#551)

* explicit site.url in config

* infra for custom css

* moves home item to html layout

* adds baseurl to site config
This commit is contained in:
Justin Kiggins
2019-01-28 09:13:09 -08:00
committed by GitHub
parent ecaa32cfb2
commit f87e4bfbd3
3 changed files with 6 additions and 2 deletions

View File

@@ -1,9 +1,8 @@
theme: jekyll-theme-cayman
show_downloads: false
baseurl: /cellxgene
nav:
- title: Home
url: /
- title: Data
url: data.html
- title: FAQ

View File

@@ -25,6 +25,7 @@
<h1 class="project-name">{{ site.title | default: site.github.repository_name }}</h1>
<h2 class="project-tagline">{{ site.description | default: site.github.project_tagline }}</h2>
{% if site.nav %}
<a href="{{ site.baseurl }}/" class="btn">Home</a>
{% for item in site.nav %}
<a href="{{ item.url }}" class="btn">{{ item.title }}</a>
{% endfor %}

View File

@@ -0,0 +1,4 @@
---
---
@import "{{ site.theme }}";