Skip to content
Snippets Groups Projects
Commit 689180f2 authored by Jennifer Mankoff's avatar Jennifer Mankoff
Browse files

Initial commit of core website

with simplified text and removal of
most cse340 specific information
parent 60439ed9
No related branches found
No related tags found
No related merge requests found
Showing with 692 additions and 0 deletions
_site/
.sass-cache/
\ No newline at end of file
404.html 0 → 100644
---
layout: default
---
<style type="text/css" media="screen">
.container {
margin: 10px auto;
max-width: 600px;
text-align: center;
}
h1 {
margin: 30px 0;
font-size: 4em;
line-height: 1;
letter-spacing: -1px;
}
</style>
<div class="container">
<h1>404</h1>
<p><strong>Page not found :(</strong></p>
<p>The requested page could not be found.</p>
</div>
Gemfile 0 → 100644
source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
# bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "3.7.4"
# If you have any plugins, put them here!
group :jekyll_plugins do
gem 'execjs'
gem 'jekyll-seo-tag'
gem 'jekyll-redirect-from'
gem 'jekyll-target-blank'
gem "jekyll-feed"
gem "jekyll-paginate"
gem "jekyll-contentblocks"
gem "jekyll-assets", "2.4.0"
gem 'jekyll-font-awesome-sass'
gem 'remark'
gem 'jekyll-mermaid'
gem 'uglifier'
gem 'therubyracer'
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem "tzinfo-data", platforms: [:mingw, :mswin, :x64_mingw, :jruby]
# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.0" if Gem.win_platform?
gemspec
PATH
remote: .
specs:
jekyll-theme-cayman (0.1.1)
jekyll (~> 3.1)
jekyll-seo-tag (~> 2.0)
GEM
remote: https://rubygems.org/
specs:
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
ast (2.4.0)
colorator (1.1.0)
concurrent-ruby (1.1.6)
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
ethon (0.12.0)
ffi (>= 1.3.0)
eventmachine (1.2.7)
execjs (2.7.0)
extras (0.3.0)
forwardable-extended (~> 2.5)
fastimage (2.1.7)
ffi (1.12.2)
font-awesome-sass (5.12.0)
sassc (>= 1.11)
forwardable-extended (2.6.0)
hpricot (0.8.6)
html-proofer (3.15.1)
addressable (~> 2.3)
mercenary (~> 0.3)
nokogumbo (~> 2.0)
parallel (~> 1.3)
rainbow (~> 3.0)
typhoeus (~> 1.3)
yell (~> 2.0)
http_parser.rb (0.6.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
jaro_winkler (1.5.4)
jekyll (3.7.4)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 0.7)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 2.0)
kramdown (~> 1.14)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
safe_yaml (~> 1.0)
jekyll-assets (2.4.0)
concurrent-ruby (~> 1.0)
extras (~> 0.2)
fastimage (~> 2.0, >= 1.8)
jekyll (~> 3.1, >= 3.0)
pathutil (>= 0.8)
rack (~> 1.6)
sprockets (~> 3.3, < 3.8)
jekyll-contentblocks (1.2.0)
jekyll
jekyll-feed (0.13.0)
jekyll (>= 3.7, < 5.0)
jekyll-font-awesome-sass (0.1.1)
font-awesome-sass (>= 4)
jekyll (>= 2.5, < 4.0)
jekyll-mermaid (1.0.0)
jekyll-paginate (1.1.0)
jekyll-redirect-from (0.16.0)
jekyll (>= 3.3, < 5.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-seo-tag (2.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-target-blank (2.0.0)
jekyll (>= 3.0, < 5.0)
nokogiri (~> 1.10)
jekyll-watch (2.2.1)
listen (~> 3.0)
json (2.3.0)
kramdown (1.17.0)
libv8 (3.16.14.19)
liquid (4.0.3)
listen (3.2.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
mini_portile2 (2.4.0)
nokogiri (1.10.8)
mini_portile2 (~> 2.4.0)
nokogumbo (2.0.2)
nokogiri (~> 1.8, >= 1.8.4)
parallel (1.19.1)
parser (2.7.0.2)
ast (~> 2.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.3)
rack (1.6.10)
rainbow (3.0.0)
rb-fsevent (0.10.3)
rb-inotify (0.10.1)
ffi (~> 1.0)
ref (2.0.0)
remark (0.3.2)
hpricot (~> 0.8.2)
rexml (3.2.4)
rouge (3.16.0)
rubocop (0.80.0)
jaro_winkler (~> 1.5.1)
parallel (~> 1.10)
parser (>= 2.7.0.1)
rainbow (>= 2.2.2, < 4.0)
rexml
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 1.7)
ruby-progressbar (1.10.1)
safe_yaml (1.0.5)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sassc (2.2.1)
ffi (~> 1.9)
sprockets (3.7.2)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
therubyracer (0.12.3)
libv8 (~> 3.16.14.15)
ref
typhoeus (1.3.1)
ethon (>= 0.9.0)
uglifier (4.2.0)
execjs (>= 0.3.0, < 3)
unicode-display_width (1.6.1)
w3c_validators (1.3.4)
json (>= 1.8)
nokogiri (~> 1.6)
yell (2.2.2)
PLATFORMS
ruby
DEPENDENCIES
execjs
html-proofer (~> 3.0)
jekyll (= 3.7.4)
jekyll-assets (= 2.4.0)
jekyll-contentblocks
jekyll-feed
jekyll-font-awesome-sass
jekyll-mermaid
jekyll-paginate
jekyll-redirect-from
jekyll-seo-tag
jekyll-target-blank
jekyll-theme-cayman!
remark
rubocop (~> 0.50)
therubyracer
tzinfo-data
uglifier
w3c_validators (~> 1.3)
BUNDLED WITH
1.17.3
......@@ -18,3 +18,8 @@ To use this website, the following steps are necessary:
# Basic use:
rvm use ruby 2.4
bundle exec jekyll build
bundle exec jekyll serve &
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Name and number of your class
description: Description of your class
baseurl: "/courses/csexxx/xxqq"
url: https://courses.cs.washington.edu # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: username
git_username: username
git_url: https://gitlab.cs.washington.edu/jmankoff/class-website-core
git_branch: CSExxx-xxQQ
piazza: https://us.edstem.org/courses/xxx/discussion/
canvas: https://canvas.uw.edu/courses/xxxxx
gitlab: https://gitlab.cs.washington.edu/students-group-for-assignments
gitgrade: https://gitgrade.cs.washington.edu/student/summary/xxxx
paginate: 5
quarter: "Quarter YYYY"
copydate: "3/30/20"
status: draft
author:
name: Name
url: "https://website"
email: "email@university.edu" # Your contact email
# probably want to update this to be the class teaching staff mailing list
# The Reveal theme
reveal_theme: black.css
# Build settings
markdown: kramdown
theme: jekyll-theme-cayman
plugins:
- jekyll-feed
- jekyll-seo-tag
- jekyll-font-awesome-sass
- jekyll-paginate
- jekyll-redirect-from
- jekyll-assets
- uglifier
- jekyll-mermaid
- jekyll-target-blank
highlighter: rouge
bootstrap:
assets: true
assets:
digest: false
prefix: "/assets"
sources:
- "*"
sass:
sass_dir: "./_scss"
# style: compressed
kramdown:
toc_levels: '1'
mermaid:
src: '/assets/js/mermaid.js'
src_config: '/assets/js/mermaid_config.js'
remarkConfig:
# possible highlight options:
# arta, ascetic, dark, default, far, github, googlecode, idea, ir_black,
# magula, monokai, rainbow, solarized-dark, solarized-light, sunburst,
# tomorrow, tomorrow-night-blue, tomorrow-night-bright, tomorrow-night,
# tomorrow-night-eighties, vs, zenburn.
highlightStyle: 'solarized-light'
highlightLanguage: 'remark'
highlightLines: true
# Custom vars
version: 1.1.0
# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
# to override the default setting.
exclude:
- Gemfile
- Gemfile.lock
- node_modules
- vendor
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
- .jekyll-cache
font-awesome:
assets: true
captioning:
link: https://webcaptioner.com/s/e3meZZyQ?broadcast
# Site settings
# These are used to personalize your new site. If you look in the HTML files,
# you will see them accessed via {{ site.title }}, {{ site.email }}, and so on.
# You can create any custom variable you would like, and they will be accessible
# in the templates via {{ site.myvariable }}.
title: Name and number of your class
description: Description of your class
baseurl: "/courses/csexxx/xxqq"
url: https://courses.cs.washington.edu # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: username
git_username: username
git_url: https://gitlab.cs.washington.edu/jmankoff/class-website-core
git_branch: CSExxx-xxQQ
piazza: https://us.edstem.org/courses/xxx/discussion/
canvas: https://canvas.uw.edu/courses/xxxxx
gitlab: https://gitlab.cs.washington.edu/students-group-for-assignments
gitgrade: https://gitgrade.cs.washington.edu/student/summary/xxxx
paginate: 5
quarter: "Quarter YYYY"
copydate: "3/30/20"
status: draft
author:
name: Name
url: "https://website"
email: "email@university.edu" # Your contact email
# probably want to update this to be the class teaching staff mailing list
# The Reveal theme
reveal_theme: black.css
# Build settings
markdown: kramdown
theme: jekyll-theme-cayman
plugins:
- jekyll-feed
- jekyll-seo-tag
- jekyll-font-awesome-sass
- jekyll-paginate
- jekyll-redirect-from
- jekyll-assets
- uglifier
- jekyll-mermaid
- jekyll-target-blank
highlighter: rouge
bootstrap:
assets: true
assets:
digest: false
prefix: "/assets"
sources:
- "*"
sass:
sass_dir: "./_scss"
# style: compressed
kramdown:
toc_levels: '1'
mermaid:
src: '/website/assets/js/mermaid.js'
src_config: '/website/assets/js/mermaid_config.js'
remarkConfig:
# possible highlight options:
# arta, ascetic, dark, default, far, github, googlecode, idea, ir_black,
# magula, monokai, rainbow, solarized-dark, solarized-light, sunburst,
# tomorrow, tomorrow-night-blue, tomorrow-night-bright, tomorrow-night,
# tomorrow-night-eighties, vs, zenburn.
highlightStyle: 'solarized-light'
highlightLanguage: 'remark'
highlightLines: true
# Custom vars
version: 1.1.0
# Exclude from processing.
# The following items will not be processed, by default. Create a custom list
# to override the default setting.
exclude:
- Gemfile
- Gemfile.lock
- node_modules
- vendor
- vendor/bundle/
- vendor/cache/
- vendor/gems/
- vendor/ruby/
- .jekyll-cache
font-awesome:
assets: true
captioning:
link: https://webcaptioner.com/s/e3meZZyQ?broadcast
nav_list_title: CSE 340
nav_list:
- title: Syllabus
url: /
- title: Schedule
url: /schedule
- title: Assignments
url: /assignments/
sublinks:
- title: Doodle
url: /assignments/doodle
- title: Assignment 2
url: /a2
- title: Assignment 3
url: /a3
- title: Documentation
url: /docs
sublinks:
- title: Debugging
url: /docs/devmode
- title: Canvas
url: canvas
- title: Ed
url: piazza
- title: Zoom
url: /docs/zoom
{%- if page.comments != false and jekyll.environment == "production" -%}
<div id="disqus_thread"></div>
<script>
var disqus_config = function () {
this.page.url = '{{ page.url | absolute_url }}';
this.page.identifier = '{{ page.url | absolute_url }}';
};
(function() {
var d = document, s = d.createElement('script');
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
{%- endif -%}
<figure>
<p class="slide-img">
<!-- Image: {{include.title}} at -->
<!-- {{site.baseurl}}/assets/img/{{include.file}} with alt text {{include.alt}} -->
<img src="{{site.baseurl}}/assets/img/{{include.file}}" alt="{{include.alt }}" align="{{include.align}}" height="{{include.height}}">
<small>{{ include.caption }}</small></p>
</figure>
<footer class="site-footer h-card">
<data class="u-url" href="{{ "/" | relative_url }}"></data>
<div class="wrapper">
<h2 class="footer-heading">{{ site.title | escape }}</h2>
<span class="site-footer-owner"><a href="{{ site.url }}">{{ site.title }}</a> is maintained by
<a href="{{ site.author.url }}">{{ site.author.name }}</a> &nbsp;
{%- if site.email -%}
<a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a>
{%- endif -%}
</span>.
{% if site.github.is_project_page %}
<span class="site-footer-owner"><a href="{{
site.github.repository_url }}">{{ site.github.repository_name }}'s
github repository </a> is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a>@github.</span>
{% endif %}
<!-- <div class="footer-col footer-col-2"> -->
<!-- {%- include social.html -%} -->
<!-- </div> -->
</div>
</div>
</footer>
{% if site.google_analytics %}
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
</script>
{% endif %}
<script>
if(!(window.doNotTrack === "1" || navigator.doNotTrack === "1" || navigator.doNotTrack === "yes" || navigator.msDoNotTrack === "1")) {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', '{{ site.google_analytics }}', 'auto');
ga('send', 'pageview');
}
</script>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#157878">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/site.css">
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/style.css">
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/rouge.css">
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/scrolling-nav.css">
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/mermaid.css">
{%- feed_meta -%}
{%- if jekyll.environment == 'production' and site.google_analytics -%}
{%- include google-analytics.html -%}
{%- endif -%}
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<!-- Favicon head tag -->
<link rel="icon" href="{{site.baseurl}}/assets/img/favicon.ico" type="image/x-icon">
{% seo %}
</head>
<header class="page-header" role="banner">
{% include navigation.html %}
<br> <br> <br> <br> <br>
<h1 class="project-name">{{ site.title | default: site.github.repository_name }}</h1>
<h2 class="project-tagline">{{ site.description | default: site.github.project_tagline }}</h2>
<script type="text/javascript">
var menubar = new Menubar(document.getElementById('menubar1'));
menubar.init();
</script>
{% if site.show_downloads %}
<a href="{{ site.github.zip_url }}" class="btn">Download .zip</a>
<a href="{{ site.github.tar_url }}" class="btn">Download .tar.gz</a>
{% endif %}
</header>
<a href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a>
<svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/></svg>
<a href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a>
<svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/></svg>
<!-- Much of this code copied from pdarragh at https://gist.github.com/pdarragh/c7ca120604c1a1d8b8de -->
{% for entry in site.data.navigation %}
{% if entry.url == "canvas" %}
{% assign current_page = page.url %}
{% elsif entry.url == "piazza" %}
{% assign current_page = page.url %}
{% else %}
{% capture fullurl %}{{ site.baseurl }}{{ entry.url }}{% endcapture %}
{% if fullurl == page.url %}
{% assign current_page = fullurl %}
{% break %}
{% elsif page.url contains fullurl %}
{% assign current_page = fullurl %}
{% endif %}
{% endif %}
{% endfor %}
<nav aria-label="{{site.data.navigation.nav_list_title}}" id="mainNav"
class="navbar navbar-expand-lg navbar-dark fixed-top">
<div class="container">
<a class="navbar-brand js-scroll-trigg"
href="https://www.cs.washington.edu" aria-label="{{site.data.navigation.nav_list_title}}">
<img src="{{site.baseurl}}/assets/img/Allen-School-white-RGB-sm.png" alt="Allen School Logo" align=left style="max-width: 100%; height: auto;">
</a>
</div>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarResponsive" aria-controls="navbarResponsive" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarResponsive">
<ul class="navbar-nav ml-auto" id="menubar1" role="menubar"
aria-label="{{site.data.navigation.nav_list_title}}">
{% for entry in site.data.navigation.nav_list %}
{% if entry.url == "canvas" %}
{% assign itemurl = site.canvas %}
{% elsif entry.url == "piazza" %}
{% assign itemurl = site.piazza %}
{% elsif entry.url == "none" %}
{% assign current = null %}
{% else %}
{% assign itemurl = entry.url %}
{% endif %}
{% if itemurl == current_page %}
{% assign current = "current" %}
{% else %}
<!-- We have to declare it 'null' to ensure it doesn't propagate. -->
{% assign current = null %}
{% endif %}
{% assign sublinks = entry.sub links %}
{% if sublinks %}
<li class = "nav-item {{ current }}">
{% if entry.url contains "http" %}
{% assign base = "" %}
{% else %}
{% assign base = site.baseurl %}
{% endif %}
<a class="navbar-brand js-scroll-trigger" role="menuitem" href="{{ base }}{{ itemurl }}">{{ entry.title }}</a>
<ul>
{% for sublink in sublinks %}
{% if sublink.url contains "http" %}
{% assign base = "" %}
{% else %}
{% assign base = site.baseurl %}
{% endif %}
<li><a class="navbar-brand js-scroll-trigger" role="menuitem" href="{{ base }}{{ sublink.url }}">{{ sublink.title }}</a></li>
{% endfor %}
</ul>
</li>
{% else %}
<li class = "nav-item {{ current }}">
{% if itemurl contains "http" %}
{% assign base = "" %}
{% else %}
{% assign base = site.baseurl %}
{% endif %}
<a class="navbar-brand js-scroll-trigger" role="menuitem" href="{{base}}{{itemurl}}">{{ entry.title }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</div>
</nav>
<a href="{{site.baseurl}}/slides/{{include.loc}}" target="_blank" rel="noopener noreferrer">{{include.title}}</a>
<div class="marknav"><a href="{{site.git_url}}/website/raw/{{site.git_branch}}/slides/{{include.loc}}" >Accessible Markdown for {{include.title}}</a> </div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment