mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-15 12:47:56 +08:00
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:
@@ -1,9 +1,8 @@
|
||||
theme: jekyll-theme-cayman
|
||||
show_downloads: false
|
||||
baseurl: /cellxgene
|
||||
|
||||
nav:
|
||||
- title: Home
|
||||
url: /
|
||||
- title: Data
|
||||
url: data.html
|
||||
- title: FAQ
|
||||
|
||||
@@ -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 %}
|
||||
|
||||
4
docs/assets/css/style.scss
Normal file
4
docs/assets/css/style.scss
Normal file
@@ -0,0 +1,4 @@
|
||||
---
|
||||
---
|
||||
|
||||
@import "{{ site.theme }}";
|
||||
Reference in New Issue
Block a user