updating jekyll and reveal templates

This commit is contained in:
jcraitz 2021-06-15 15:07:53 -04:00
parent 33ca5bc0b7
commit bab787a8d6
4 changed files with 72 additions and 75 deletions

View File

@ -1,6 +1,6 @@
source "https://rubygems.org"
gem "jekyll", "~> 3.9"
gem "jekyll"
gem "jekyll-sitemap"
gem "jekyll-seo-tag"
gem "jekyll-gist"

View File

@ -4,37 +4,50 @@ GEM
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
concurrent-ruby (1.1.7)
concurrent-ruby (1.1.9)
em-websocket (0.5.2)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
faraday (1.0.1)
faraday (1.4.2)
faraday-em_http (~> 1.0)
faraday-em_synchrony (~> 1.0)
faraday-excon (~> 1.1)
faraday-net_http (~> 1.0)
faraday-net_http_persistent (~> 1.1)
multipart-post (>= 1.2, < 3)
ffi (1.13.1)
ruby2_keywords (>= 0.0.4)
faraday-em_http (1.0.0)
faraday-em_synchrony (1.0.0)
faraday-excon (1.1.0)
faraday-net_http (1.0.1)
faraday-net_http_persistent (1.1.0)
ffi (1.15.1)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (0.9.5)
i18n (1.8.10)
concurrent-ruby (~> 1.0)
jekyll (3.9.0)
jekyll (4.0.1)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
i18n (~> 0.7)
jekyll-sass-converter (~> 1.0)
i18n (>= 0.9.5, < 2)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (>= 1.17, < 3)
kramdown (~> 2.1)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.3.3)
pathutil (~> 0.9)
rouge (>= 1.7, < 4)
rouge (~> 3.0)
safe_yaml (~> 1.0)
terminal-table (~> 1.8)
jekyll-gist (1.5.0)
octokit (~> 4.2)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-seo-tag (2.6.1)
jekyll (>= 3.3, < 5.0)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-seo-tag (2.7.1)
jekyll (>= 3.8, < 5.0)
jekyll-sitemap (1.4.0)
jekyll (>= 3.7, < 5.0)
jekyll-watch (2.2.1)
@ -44,12 +57,12 @@ GEM
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.2.1)
listen (3.5.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
multipart-post (2.1.1)
octokit (4.18.0)
octokit (4.21.0)
faraday (>= 0.9)
sawyer (~> 0.8.0, >= 0.5.3)
octopress (3.0.11)
@ -62,35 +75,36 @@ GEM
titlecase
octopress-deploy (1.3.0)
colorator
octopress-escape-code (2.1.1)
jekyll (~> 3.0)
octopress-escape-code (2.0.6)
octopress-hooks (~> 2.0)
octopress-hooks (2.6.2)
jekyll (>= 2.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.6)
rb-fsevent (0.10.4)
rb-fsevent (0.11.0)
rb-inotify (0.10.1)
ffi (~> 1.0)
redcarpet (3.5.1)
rexml (3.2.5)
rouge (3.24.0)
rouge (3.26.0)
ruby2_keywords (0.0.4)
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.4.0)
ffi (~> 1.9)
sawyer (0.8.2)
addressable (>= 2.3.5)
faraday (> 0.8, < 2.0)
terminal-table (1.8.0)
unicode-display_width (~> 1.1, >= 1.1.1)
titlecase (0.1.1)
unicode-display_width (1.7.0)
PLATFORMS
ruby
DEPENDENCIES
jekyll (~> 3.9)
jekyll
jekyll-gist
jekyll-seo-tag
jekyll-sitemap
@ -98,4 +112,4 @@ DEPENDENCIES
octopress
BUNDLED WITH
2.0.0.pre.1
2.2.19

View File

@ -20,24 +20,24 @@
<meta name="description" content="{{ site.description }}">
{% endif %}
<meta name="apple-mobile-web-app-capable" content="yes" />
{# <meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui"> #}
<link rel="stylesheet" href="{{ "/reveal.js/dist/reveal.css" | prepend: site.github.url }}"/>
<link rel="stylesheet" href="{{ "/reveal.js/dist/reveal.css" }}"/>
{%if page.theme %}
<link rel="stylesheet" href="{{ "/reveal.js/dist/theme/" | prepend: site.github.url | append: page.theme | append: '.css' }}" id="theme"/>
<link rel="stylesheet" href="{{ "/reveal.js/dist/theme/" | append: page.theme | append: '.css' }}" id="theme"/>
{% else %}
<link rel="stylesheet" href="{{ "/reveal.js/dist/theme/black.css" | prepend: site.github.url }}" id="theme"/>
<link rel="stylesheet" href="{{ "/reveal.js/dist/theme/white.css" }} "/>
{% endif %}
<!-- Code syntax highlighting -->
<link rel="stylesheet" href="{{ "/reveal.js/plugin/highlight/monokai.css" | prepend: site.github.url }}"/>
<link rel="stylesheet" href="{{ "/reveal.js/plugin/highlight/monokai.css" }}"/>
<link rel="apple-touch-icon" href="{{ "/apple-touch-icon.png" | prepend: site.github.url }}" />
{# <link rel="apple-touch-icon" href="{{ "/apple-touch-icon.png" | prepend: site.github.url }}" /> #}
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.github.url }}">
<link rel="canonical" href="{{ page.url | replace:'index.html','' }}">
<!--[if lt IE 9]>
<script src="lib/js/html5shiv.js"></script>
@ -52,31 +52,26 @@
</div>
</div>
<script src="{{ "/reveal.js/dist/reveal.js" | prepend: site.github.url }}"></script>
<script src="{{ "/reveal.js/dist/reveal.js" }}"></script>
<script src="/reveal.js/plugin/markdown/markdown.js"></script>
<script src="/reveal.js/plugin/notes/notes.js"></script>
<script src="/reveal.js/plugin/markdown/markdown.js"></script>
<script src="/reveal.js/plugin/highlight/highlight.js"></script>
<script>
// Full list of configuration options available at:
// https://github.com/hakimel/reveal.js#configuration
// https://revealjs.com/config/
Reveal.initialize({
plugins: [ RevealMarkdown, RevealHighlight, RevealNotes ],
controls: true,
progress: true,
history: true,
center: true,
{%if page.transition %}
transition: '{{page.transition}}',
{% else %}
transition: 'slide', // none/fade/slide/convex/concave/zoom
{% endif %}
// Optional reveal.js plugins
dependencies: [
//{ src: '{{ "/reveal.js/plugin/markdown/marked.js" | prepend: site.github.url }}', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '{{ "/reveal.js/plugin/markdown/markdown.js" | prepend: site.github.url }}', condition: function() { return !!document.querySelector( '[data-markdown]' ); } },
{ src: '{{ "/reveal.js/plugin/highlight/highlight.js" | prepend: site.github.url }}', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: '{{ "/reveal.js/plugin/zoom/zoom.js" | prepend: site.github.url }}', async: true },
{ src: '{{ "/reveal.js/plugin/notes/notes.js" | prepend: site.github.url }}', async: true }
]
center: true
});
</script>
</body>

View File

@ -2,36 +2,24 @@
layout: slide
title: Example Reveal.js Presentation Deck
excerpt: A sample file showing the correct markup for creating a Reveal.js slide deck"
theme: simple
# theme: simple
transition: convex
tags: [presentation]
category: presentation
modified: 6/15/2016, 2:38pm
---
<section data-markdown>
# Reveal.js and Jekyll Academic
</section>
<section data-markdown>
## HTML or Markdown
Reveal.js works with either. Use whatever you are more comfortable with.
</section>
<section data-markdown>
## Works Anywhere
By creating presentations using Reveal.js and hosting them on your Jekyll Academic site you will have access to them anywhere. No need to worry about software compatibility, no need to sign in to email accounts on public machines. Simply load your website and select the presentation.
</section>
<section data-markdown>
## More Information
Jekyll Academic includes everything that you need in order to make Reveal.js work. Copy this file and edit it to begin making your own slide deck.
For more information about all of the options available in Reveal.js please the [Reveal.js Demo Website](https://lab.hakim.se/reveal-js/#/)
<textarea data-template>
## Reveal.js and Jekyll Academic
---
## HTML or Markdown
Reveal.js works with either. Use whatever you are more comfortable with.
---
## Works Anywhere
By creating presentations using Reveal.js and hosting them on your Jekyll Academic site you will have access to them anywhere. No need to worry about software compatibility, no need to sign in to email accounts on public machines. Simply load your website and select the presentation.
---
## More Information
Jekyll Academic includes everything that you need in order to make Reveal.js work. Copy this file and edit it to begin making your own slide deck.
For more information about all of the options available in Reveal.js please the [Reveal.js Demo Website](https://lab.hakim.se/reveal-js/#/)
</textarea>
</section>