-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9b8d8b5
commit 8f2ef15
Showing
21 changed files
with
208 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-us"> | ||
|
||
{% include head.html %} | ||
|
||
<body class="theme-base-{{site.color-scheme}}"> | ||
|
||
<!-- This if statement decides which sidebar to use --> | ||
{% if page.toc %} | ||
{% include sidebar-toc.html %} | ||
{% else %} | ||
{% include sidebar.html %} | ||
{% endif %} | ||
|
||
<!-- | ||
Wrap is the content to shift when toggling the sidebar. We wrap the content to avoid any CSS | ||
collisions with our real content. | ||
--> | ||
<div class="wrap"> | ||
<header class="masthead_investigacion"> | ||
<!-- <div class="container"> | ||
<h3 class="masthead-title"> | ||
<a href="{{ site.baseurl }}/" title="Home">{{ site.title | newline_to_br }}</a> | ||
<br><small>{{ site.tagline }}</small> | ||
</h3> | ||
</div> --> | ||
</header> | ||
|
||
<main class="container content" id="main"> | ||
{{ content }} | ||
</main> | ||
</div> | ||
|
||
<label for="sidebar-checkbox" class="sidebar-toggle"></label> | ||
|
||
<script> | ||
|
||
// Highlight search Query | ||
var url = window.location.href; | ||
if (url.lastIndexOf("?q=") > 0) { | ||
// get the index of the parameter, add three (to account for length) | ||
var stringloc = url.lastIndexOf("?q=") + 3; | ||
// get the substring (query) and decode | ||
var searchquery = decodeURIComponent(url.substr(stringloc)); | ||
// regex matches at beginning of line, end of line or word boundary, useful for poetry | ||
var regex = new RegExp("(?:^|\\b)(" + searchquery + ")(?:$|\\b)", "gim"); | ||
// get, add mark and then set content | ||
var content = document.getElementById("main").innerHTML; | ||
document.getElementById("main").innerHTML = content.replace(regex, "<mark>$1</mark>"); | ||
} | ||
|
||
// Toggle sidebar | ||
(function(document) { | ||
var toggle = document.querySelector('.sidebar-toggle'); | ||
var sidebar = document.querySelector('#sidebar'); | ||
var checkbox = document.querySelector('#sidebar-checkbox'); | ||
|
||
document.addEventListener('click', function(e) { | ||
var target = e.target; | ||
|
||
if(!checkbox.checked || | ||
!sidebar.contains(target) || | ||
(target === checkbox || target === toggle)) return; | ||
|
||
checkbox.checked = false; | ||
}, false); | ||
})(document); | ||
</script> | ||
|
||
<!-- Facebook SDK for JavaScript --> | ||
<script> | ||
window.fbAsyncInit = function() { | ||
FB.init({ | ||
appId : '589495744558280', | ||
xfbml : true, | ||
version : 'v2.6' | ||
}); | ||
}; | ||
|
||
(function(d, s, id){ | ||
var js, fjs = d.getElementsByTagName(s)[0]; | ||
if (d.getElementById(id)) {return;} | ||
js = d.createElement(s); js.id = id; | ||
js.src = "//connect.facebook.net/en_US/sdk.js"; | ||
fjs.parentNode.insertBefore(js, fjs); | ||
}(document, 'script', 'facebook-jssdk')); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-us"> | ||
|
||
{% include head.html %} | ||
|
||
<body class="theme-base-{{site.color-scheme}}"> | ||
|
||
<!-- This if statement decides which sidebar to use --> | ||
{% if page.toc %} | ||
{% include sidebar-toc.html %} | ||
{% else %} | ||
{% include sidebar.html %} | ||
{% endif %} | ||
|
||
<!-- | ||
Wrap is the content to shift when toggling the sidebar. We wrap the content to avoid any CSS | ||
collisions with our real content. | ||
--> | ||
<div class="wrap"> | ||
<header class="masthead_vocab_ctrl"> | ||
<!-- <div class="container"> | ||
<h3 class="masthead-title"> | ||
<a href="{{ site.baseurl }}/" title="Home">{{ site.title | newline_to_br }}</a> | ||
<br><small>{{ site.tagline }}</small> | ||
</h3> | ||
</div> --> | ||
</header> | ||
|
||
<main class="container content" id="main"> | ||
{{ content }} | ||
</main> | ||
</div> | ||
|
||
<label for="sidebar-checkbox" class="sidebar-toggle"></label> | ||
|
||
<script> | ||
|
||
// Highlight search Query | ||
var url = window.location.href; | ||
if (url.lastIndexOf("?q=") > 0) { | ||
// get the index of the parameter, add three (to account for length) | ||
var stringloc = url.lastIndexOf("?q=") + 3; | ||
// get the substring (query) and decode | ||
var searchquery = decodeURIComponent(url.substr(stringloc)); | ||
// regex matches at beginning of line, end of line or word boundary, useful for poetry | ||
var regex = new RegExp("(?:^|\\b)(" + searchquery + ")(?:$|\\b)", "gim"); | ||
// get, add mark and then set content | ||
var content = document.getElementById("main").innerHTML; | ||
document.getElementById("main").innerHTML = content.replace(regex, "<mark>$1</mark>"); | ||
} | ||
|
||
// Toggle sidebar | ||
(function(document) { | ||
var toggle = document.querySelector('.sidebar-toggle'); | ||
var sidebar = document.querySelector('#sidebar'); | ||
var checkbox = document.querySelector('#sidebar-checkbox'); | ||
|
||
document.addEventListener('click', function(e) { | ||
var target = e.target; | ||
|
||
if(!checkbox.checked || | ||
!sidebar.contains(target) || | ||
(target === checkbox || target === toggle)) return; | ||
|
||
checkbox.checked = false; | ||
}, false); | ||
})(document); | ||
</script> | ||
|
||
<!-- Facebook SDK for JavaScript --> | ||
<script> | ||
window.fbAsyncInit = function() { | ||
FB.init({ | ||
appId : '589495744558280', | ||
xfbml : true, | ||
version : 'v2.6' | ||
}); | ||
}; | ||
|
||
(function(d, s, id){ | ||
var js, fjs = d.getElementsByTagName(s)[0]; | ||
if (d.getElementById(id)) {return;} | ||
js = d.createElement(s); js.id = id; | ||
js.src = "//connect.facebook.net/en_US/sdk.js"; | ||
fjs.parentNode.insertBefore(js, fjs); | ||
}(document, 'script', 'facebook-jssdk')); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: investigacionlayout | ||
title: Investigación | ||
permalink: investigacion | ||
--- | ||
<div type="titulo"> | ||
<h1>Título</h1> | ||
</div> | ||
|
||
<div type="cuerpo del texto"> | ||
<p>Texto texto texto texto texto texto</p> | ||
</div> |
Empty file.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
layout: vocabctrllayout | ||
title: Vocabulario Controlado | ||
permalink: vocab_ctrl | ||
--- | ||
<div type="titulo"> | ||
<br/> | ||
<h1>Título</h1> | ||
</div> | ||
|
||
<div type="cuerpo del texto"> | ||
<p>Texto texto texto texto texto texto</p> | ||
</div> |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.