Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions content/covidcast.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: COVIDCast
type: covidcast
scripts:
- https://deploy-preview-631--cmu-delphi-covidcast.netlify.app/vendors.js
- https://deploy-preview-631--cmu-delphi-covidcast.netlify.app/styles.js
- https://deploy-preview-631--cmu-delphi-covidcast.netlify.app/bundle.js
styles:
- https://deploy-preview-631--cmu-delphi-covidcast.netlify.app/vendors.css
- https://deploy-preview-631--cmu-delphi-covidcast.netlify.app/styles.css
---

{{<covidcast >}}
11 changes: 11 additions & 0 deletions layouts/covidcast/baseof.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!DOCTYPE html>
<!-- Default base template. Other templates define the "main" portion in this template -->
<html lang="{{ $.Site.LanguageCode | default "en" }}">
{{ partial "head.html" . }}
<body style="height: 100vh; display: flex; flex-direction: column;">
{{ partial "nav.html" . }}
{{ block "main" . }}
{{ end }}
{{ partial "footer.html" . }}
</body>
</html>
1 change: 1 addition & 0 deletions layouts/covidcast/single.html
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{{ define "main" }} {{ .Content }} {{ end }}
8 changes: 8 additions & 0 deletions layouts/shortcodes/covidcast.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<div id="vizbox">
<div class="ie-banner" style="display: none">
<div>
Internet Explorer 11 is no longer supported. We encourage you to use a more modern web browser, such as Firefox,
Chrome, or Safari.
</div>
</div>
</div>
6 changes: 3 additions & 3 deletions themes/delphi/assets/js/main.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import UIKit from '../uikit/dist/js/uikit.js';
import UIkit from '../uikit/dist/js/uikit.js';
import plugin from '../uikit/dist/js/uikit-icons.js';

UIKit.use(plugin);
UIkit.use(plugin);

window.UIKit = UIKit;
window.UIkit = UIkit;