replace baseurl with github.url
This commit is contained in:
		
							parent
							
								
									b228bab7a0
								
							
						
					
					
						commit
						b784700a30
					
				|  | @ -25,28 +25,28 @@ | ||||||
| 
 | 
 | ||||||
|     <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/css/reveal.css" | prepend: site.baseurl }}"/> |     <link rel="stylesheet" href="{{ "/reveal.js/css/reveal.css" | prepend: site.github.url }}"/> | ||||||
|     {%if page.theme %} |     {%if page.theme %} | ||||||
|       <link rel="stylesheet" href="{{ "/reveal.js/css/theme/" | prepend: site.baseurl | append: page.theme | append: '.css' }}" id="theme"/> |       <link rel="stylesheet" href="{{ "/reveal.js/css/theme/" | prepend: site.github.url | append: page.theme | append: '.css' }}" id="theme"/> | ||||||
|     {% else %} |     {% else %} | ||||||
|       <link rel="stylesheet" href="{{ "/reveal.js/css/theme/black.css" | prepend: site.baseurl }}" id="theme"/> |       <link rel="stylesheet" href="{{ "/reveal.js/css/theme/black.css" | prepend: site.github.url }}" id="theme"/> | ||||||
|     {% endif %} |     {% endif %} | ||||||
| 
 | 
 | ||||||
|     <!-- Code syntax highlighting --> |     <!-- Code syntax highlighting --> | ||||||
|     <link rel="stylesheet" href="{{ "/reveal.js/lib/css/zenburn.css" | prepend: site.baseurl }}"/> |     <link rel="stylesheet" href="{{ "/reveal.js/lib/css/zenburn.css" | prepend: site.github.url }}"/> | ||||||
| 
 | 
 | ||||||
|     <!-- Printing and PDF exports --> |     <!-- Printing and PDF exports --> | ||||||
|     <script> |     <script> | ||||||
|       var link = document.createElement( 'link' ); |       var link = document.createElement( 'link' ); | ||||||
|       link.rel = 'stylesheet'; |       link.rel = 'stylesheet'; | ||||||
|       link.type = 'text/css'; |       link.type = 'text/css'; | ||||||
|       link.href = window.location.search.match( /print-pdf/gi ) ? '{{ "/reveal.js/css/print/pdf.css" | prepend: site.baseurl }}' : '{{ "/reveal.js/css/print/paper.css" | prepend: site.baseurl }}'; |       link.href = window.location.search.match( /print-pdf/gi ) ? '{{ "/reveal.js/css/print/pdf.css" | prepend: site.github.url }}' : '{{ "/reveal.js/css/print/paper.css" | prepend: site.github.url }}'; | ||||||
|       document.getElementsByTagName( 'head' )[0].appendChild( link ); |       document.getElementsByTagName( 'head' )[0].appendChild( link ); | ||||||
|     </script> |     </script> | ||||||
| 
 | 
 | ||||||
|     <link rel="apple-touch-icon" href="{{ "/apple-touch-icon.png" | prepend: site.baseurl }}" /> |     <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.baseurl | prepend: site.url }}"> |     <link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.github.url }}"> | ||||||
| 
 | 
 | ||||||
|     <!--[if lt IE 9]> |     <!--[if lt IE 9]> | ||||||
|     <script src="lib/js/html5shiv.js"></script> |     <script src="lib/js/html5shiv.js"></script> | ||||||
|  | @ -61,8 +61,8 @@ | ||||||
|       </div> |       </div> | ||||||
|     </div> |     </div> | ||||||
| 
 | 
 | ||||||
|     <script src="{{ "/reveal.js/lib/js/head.min.js" | prepend: site.baseurl }}"></script> |     <script src="{{ "/reveal.js/lib/js/head.min.js" | prepend: site.github.url }}"></script> | ||||||
|     <script src="{{ "/reveal.js/js/reveal.js" | prepend: site.baseurl }}"></script> |     <script src="{{ "/reveal.js/js/reveal.js" | prepend: site.github.url }}"></script> | ||||||
|     <script> |     <script> | ||||||
|       // Full list of configuration options available at: |       // Full list of configuration options available at: | ||||||
|       // https://github.com/hakimel/reveal.js#configuration |       // https://github.com/hakimel/reveal.js#configuration | ||||||
|  | @ -79,12 +79,12 @@ | ||||||
| 
 | 
 | ||||||
|         // Optional reveal.js plugins |         // Optional reveal.js plugins | ||||||
|         dependencies: [ |         dependencies: [ | ||||||
|           { src: '{{ "/reveal.js/lib/js/classList.js" | prepend: site.baseurl }}', condition: function() { return !document.body.classList; } }, |           { src: '{{ "/reveal.js/lib/js/classList.js" | prepend: site.github.url }}', condition: function() { return !document.body.classList; } }, | ||||||
|           { src: '{{ "/reveal.js/plugin/markdown/marked.js" | prepend: site.baseurl }}', condition: function() { return !!document.querySelector( '[data-markdown]' ); } }, |           { 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.baseurl }}', 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.baseurl }}', async: true, condition: function() { return !!document.querySelector( 'pre code' ); }, callback: function() { hljs.initHighlightingOnLoad(); } }, |           { 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-js/zoom.js" | prepend: site.baseurl }}', async: true }, |           { src: '{{ "/reveal.js/plugin/zoom-js/zoom.js" | prepend: site.github.url }}', async: true }, | ||||||
|           { src: '{{ "/reveal.js/plugin/notes/notes.js" | prepend: site.baseurl }}', async: true } |           { src: '{{ "/reveal.js/plugin/notes/notes.js" | prepend: site.github.url }}', async: true } | ||||||
|         ] |         ] | ||||||
|       }); |       }); | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Luke Aeschleman
						Luke Aeschleman