Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

Commit

Permalink
Merge branch 'frontend'
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizer1v committed Jul 3, 2020
2 parents 29659b4 + 0061a8a commit 0e24bcf
Show file tree
Hide file tree
Showing 28 changed files with 1,829 additions and 1,042 deletions.
14 changes: 8 additions & 6 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
# https://learn-the-web.algonquindesign.ca/topics/markdown-yaml-cheat-sheet/#yaml
# https://learnxinyminutes.com/docs/yaml/

title: fastpages
description: An easy to use blogging platform with support for Jupyter Notebooks.
github_username: DataKind-BLR

title: Panoptic
description: A Face Recognition Tracker
github_username: fastai
# you can comment the below line out if your repo name is not different than your baseurl
github_repo: "panoptic_fp"
github_repo: "DataKind-BLR/panoptic_fp"

# OPTIONAL: override baseurl and url if using a custom domain
# Note: leave out the trailing / from this value.
Expand Down Expand Up @@ -39,8 +40,8 @@ baseurl: "/panoptic_fp" # the subpath of your site, e.g. "/blog".
# Github and twitter are optional:
minima:
social_links:
twitter: fastdotai
github: fastai
twitter: internetfreedomfoundation
github:

# Set this to true to get LaTeX math equation support
use_math:
Expand Down Expand Up @@ -76,6 +77,7 @@ default_badges:
html_escape:
description: false

# -------------------------------------------------
# Everything below here should be left alone. Modifications may break fastpages
future: true
theme: minima
Expand Down
6 changes: 6 additions & 0 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
- title: Abra
link: '/abra'
- title: Cadabra
link: '/cadabra'
- title: Hula
link: '/hula'
2 changes: 2 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css2?family=Merriweather&display=swap" rel="stylesheet">

{%- seo -%}
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
{%- feed_meta -%}
Expand Down
7 changes: 7 additions & 0 deletions _includes/nav.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<ul class="navbar-nav ml-auto">
{% for pl in site.data.navigation %}
<li class="nav-item">
<a class="nav-link" href="{{ pl.link | prepend: site.baseurl }}">{{ pl.title }}</a>
</li>
{% endfor %}
</ul>
6 changes: 6 additions & 0 deletions _includes/post_list.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
<h3>
<!--
<a class="post-link" href="{{ post.url | relative_url }}">
{{ post.title | escape }}
</a>
-->
</h3>
{%- if site.show_description and post.description -%}
<p class="post-meta-description">{{ post.description }}</p>
{{ post.content }}
{%- endif -%}

<!--
<p class="post-meta">{{ post.date | date: date_format }}</p>
-->
15 changes: 15 additions & 0 deletions _layouts/custom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">

{% include head.html %}

{% include nav.html %}

<body>

<div class="home">
<h1>This is a custom Layout</h1>
</div>

</body>
</html>
File renamed without changes.
Loading

0 comments on commit 0e24bcf

Please sign in to comment.