Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit78e8155

Browse files
committed
fix references to nonexistent submodule
1 parent6428574 commit78e8155

File tree

2 files changed

+30
-79
lines changed

2 files changed

+30
-79
lines changed

‎_includes/head.html‎

Lines changed: 14 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,22 @@
11
<metacharset="utf-8">
2+
<metaname="viewport"content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
23

34
<title>{% if post.title %}{{ post.title }} | {{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
45

5-
<metaname="author"content="{{ site.author }}">
6-
<metaname="description"content="{{ site.description }}">
7-
8-
<metaname="apple-mobile-web-app-capable"content="yes">
9-
<metaname="apple-mobile-web-app-status-bar-style"content="black-translucent">
6+
<linkrel="stylesheet"href="{{ site.baseurl }}/node_modules/reveal.js/css/reveal.css">
107

11-
<metaname="viewport"content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
8+
<linkrel="stylesheet"href="{{site.baseurl}}/node_modules/reveal.js/css/reset.css">
9+
<linkrel="stylesheet"href="{{site.baseurl}}/node_modules/reveal.js/css/reveal.css">
10+
<linkrel="stylesheet"href="{{site.baseurl}}/node_modules/reveal.js/css/theme/moon.css">
1211

13-
<linkrel="stylesheet"href="{{ site.baseurl }}/assets/css/style.css">
14-
<!-- jQuery -->
15-
<scriptsrc="{{ site.baseurl }}/assets/js/jquery-1.11.1.min.js"></script>
12+
<!-- Theme used for syntax highlighting of code -->
13+
<linkrel="stylesheet"href="{{site.baseurl}}/node_modules/reveal.js/lib/css/monokai.css">
1614

17-
<!--If the query includes 'print-pdf', include thePDFprint sheet -->
15+
<!--Printing andPDFexports -->
1816
<script>
19-
if(window.location.search.match(/print-pdf/gi)){
20-
varlink=document.createElement('link');
21-
link.rel='stylesheet';
22-
link.type='text/css';
23-
link.href='{{ site.baseurl }}/reveal.js/css/print/pdf.css';
24-
document.getElementsByTagName('head')[0].appendChild(link);
25-
}
26-
</script>
27-
28-
<!--[if lt IE 9]>
29-
<script src="{{ site.baseurl }}/reveal.js/lib/js/html5shiv.js"></script>
30-
<![endif]-->
17+
varlink=document.createElement('link');
18+
link.rel='stylesheet';
19+
link.type='text/css';
20+
link.href=window.location.search.match(/print-pdf/gi) ?'css/print/pdf.css' :'node_modules/reveal.js/css/print/paper.css';
21+
document.getElementsByTagName('head')[0].appendChild(link);
22+
</script>

‎_includes/script.html‎

Lines changed: 16 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,16 @@
1-
<scriptsrc="{{ site.baseurl }}/reveal.js/lib/js/head.min.js"></script>
2-
<scriptsrc="{{ site.baseurl }}/reveal.js/js/reveal.js"></script>
3-
4-
<!-- reveal.js init -->
5-
<script>
6-
varbaseUrl="{{ site.baseurl }}"
7-
// Full list of configuration options available here:
8-
// https://github.com/hakimel/reveal.js#configuration
9-
Reveal.initialize({
10-
{%ifsite.reveal%}
11-
{%forattrinsite.reveal%}{{attr[0]}}:{%unless{attr[1]}==falseor{attr[1]}==trueor{attr[0]}=="width"or{attr[0]}=="height"%}'{{attr[1]}}',{%else%}{{attr[1]}},{%endunless%}
12-
{%endfor%}
13-
{%endif%}
14-
15-
theme:Reveal.getQueryHash().theme,// available themes are in /css/theme
16-
transition:Reveal.getQueryHash().transition||{%ifsite.reveal.transition%}'{{ site.reveal.transition }}',{%else%}'default',{%endif%}// default/cube/page/concave/zoom/linear/fade/none
17-
18-
// Optional libraries used to extend on reveal.js
19-
dependencies:[
20-
// Cross-browser shim that fully implements classList - https://github.com/eligrey/classList.js/
21-
{src:baseUrl+'/reveal.js/lib/js/classList.js',condition:function(){return!document.body.classList;}},
22-
23-
// Zoom in and out with Alt+click
24-
{src:baseUrl+'/reveal.js/plugin/zoom-js/zoom.js',async:true},
25-
26-
// Speaker notes
27-
{src:baseUrl+'/reveal.js/plugin/notes/notes.js',async:true},
28-
29-
// Remote control your reveal.js presentation using a touch device
30-
//{ src: baseUrl + '/reveal.js/plugin/remotes/remotes.js', async: true, condition: function() { return !!document.body.classList; }}
31-
]
32-
});
33-
34-
{%ifsite.slideNumber.formatandsite.slideNumber.format!="none"%}
35-
// Shows the slide number using default formatting
36-
Reveal.configure({slideNumber:true});
37-
Reveal.configure({slideNumber:'{{ site.slideNumber.format }}'});
38-
{%endif%}
39-
</script>
40-
<!-- End reveal.js init -->
41-
42-
<!-- Fontawesome -->
43-
<scripttype="text/javascript">
44-
$(document).ready(function(){
45-
//$("a[href*='youtube.com/']").prepend( $( "<i class='fa fa-youtube-play'>&nbsp;</i>" ) );
46-
//$("a[href*='vimeo.com/']").prepend( $( "<i class='fa fa-vimeo-square'>&nbsp;</i>" ) );
47-
//$("a[href$='/download']").prepend( $( "<i class='fa fa-cloud-download'>&nbsp;</i>" ) );
48-
//$("a.download").prepend( $( "<i class='fa fa-cloud-download'>&nbsp;</i>" ) );
49-
$("a.external").append($("<i class='fa fa-external-link'></i>"));
50-
$("a.twitter").append($("<i class='fa fa-twitter'></i>"));
51-
$("a.github").append($("<i class='fa fa-github'></i>"));
52-
$("blockquote").prepend($("<i class='fa fa-quote-left'></i>"));
53-
$("a.button.lighter").click(function(){$("html.dark").removeClass("dark").addClass("light");});
54-
$("a.button.darker").click(function(){$("html.light").removeClass("light").addClass("dark");});
55-
});
56-
</script>
57-
<!-- End Fontawesome -->
1+
<scriptsrc="{{ site.baseurl }}/node_modules/reveal.js/js/reveal.js"></script>
2+
3+
<script>
4+
// More info about config & dependencies:
5+
// - https://github.com/hakimel/reveal.js#configuration
6+
// - https://github.com/hakimel/reveal.js#dependencies
7+
Reveal.initialize({
8+
hash:true,
9+
dependencies:[
10+
{src:'node_modules/reveal.js/plugin/markdown/marked.js'},
11+
{src:'node_modules/reveal.js/plugin/markdown/markdown.js'},
12+
{src:'node_modules/reveal.js/plugin/highlight/highlight.js'},
13+
{src:'node_modules/reveal.js/plugin/notes/notes.js',async:true}
14+
]
15+
});
16+
</script>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp