Skip to content

Commit

Permalink
indent tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
tasken committed Apr 10, 2020
1 parent 4c70bea commit 582a1cb
Show file tree
Hide file tree
Showing 12 changed files with 192 additions and 192 deletions.
6 changes: 3 additions & 3 deletions _includes/blueimp-gallery.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div id="blueimp-gallery" class="blueimp-gallery blueimp-gallery-controls">
<div class="slides"></div>
<p class="title"></p>
<a class="close">×</a>
<div class="slides"></div>
<p class="title"></p>
<a class="close">×</a>
</div>

<script src="{{ site.baseurl }}/js/blueimp-helper.js"></script>
Expand Down
12 changes: 6 additions & 6 deletions _includes/google_analytics.html
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-xx-x', 'auto');
ga('send', 'pageview');
ga('create', 'UA-xx-x', 'auto');
ga('send', 'pageview');
</script>
42 changes: 21 additions & 21 deletions _includes/head.html
Original file line number Diff line number Diff line change
@@ -1,27 +1,27 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{ site.description }}">
<title>{{ site.title }}</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="{{ site.description }}">
<title>{{ site.title }}</title>

<link rel="icon" href="{{ site.baseurl }}/favicon.png">
<link rel="stylesheet" href="//cdn.jsdelivr.net/g/[email protected](pure-min.css+grids-responsive-min.css)">
<link rel="icon" href="{{ site.baseurl }}/favicon.png">
<link rel="stylesheet" href="//cdn.jsdelivr.net/g/[email protected](pure-min.css+grids-responsive-min.css)">

<link rel="stylesheet" href="{{ site.baseurl }}/css/side-menu.css">
{% if page.galeria == "si" %}
<link rel="stylesheet" href="{{ site.baseurl }}/css/blueimp-gallery.min.css">
{% endif %}
<link rel="stylesheet" href="{{ site.baseurl }}/css/base.css">
<link rel="stylesheet" href="{{ site.baseurl }}/css/side-menu.css">
{% if page.galeria == "si" %}
<link rel="stylesheet" href="{{ site.baseurl }}/css/blueimp-gallery.min.css">
{% endif %}
<link rel="stylesheet" href="{{ site.baseurl }}/css/base.css">

{% assign posts=site.posts | where:"ref", page.ref | sort: 'lang' %}
{% for post in posts %}
<link rel="alternate" hreflang="{{ post.lang }}" href="{{ site.baseurl }}{{ post.url }}" />
{% endfor %}
{% assign pages=site.pages | where:"ref", page.ref | sort: 'lang' %}
{% for page in pages %}
<link rel="alternate" hreflang="{{ page.lang }}" href="{{ site.baseurl }}{{ page.url }}" />
{% endfor %}
{% assign posts=site.posts | where:"ref", page.ref | sort: 'lang' %}
{% for post in posts %}
<link rel="alternate" hreflang="{{ post.lang }}" href="{{ site.baseurl }}{{ post.url }}" />
{% endfor %}
{% assign pages=site.pages | where:"ref", page.ref | sort: 'lang' %}
{% for page in pages %}
<link rel="alternate" hreflang="{{ page.lang }}" href="{{ site.baseurl }}{{ page.url }}" />
{% endfor %}

</head>
72 changes: 36 additions & 36 deletions _includes/menu.html
Original file line number Diff line number Diff line change
@@ -1,48 +1,48 @@
<!-- Menu toggle -->
<a href="#menu" id="menuLink" class="menu-link">
<!-- Hamburger icon -->
<span></span>
<!-- Hamburger icon -->
<span></span>
</a>
<div id="menu">
<div class="pure-menu">
<a href="
{% if page.lang == "en" %}
{{ site.baseurl }}/en/
{% else %}
{{ site.baseurl }}/
{% endif %}
<div class="pure-menu">
<a href="
{% if page.lang == "en" %}
{{ site.baseurl }}/en/
{% else %}
{{ site.baseurl }}/
{% endif %}

" title="Inicio" class="img">
<img src="{{ site.baseurl }}/img/iso.jpg">
</a>
" title="Inicio" class="img">
<img src="{{ site.baseurl }}/img/iso.jpg">
</a>

{% comment %}<a class="pure-menu-heading" href="#">Head</a>{% endcomment %}
{% comment %}<a class="pure-menu-heading" href="#">Head</a>{% endcomment %}

<ul class="pure-menu-list">
{% assign pages = site.pages | where: "lang", page.lang | sort: 'weight' %}
{% for p in pages %}
<li class="pure-menu-item{% if p.url == page.url %} pure-menu-selected{% endif %}">
<a class="pure-menu-link" href="{{ site.baseurl }}{{ p.url }}">{{ p.title }}</a>
</li>
{% endfor %}
</ul>
<ul class="pure-menu-list">
{% assign pages = site.pages | where: "lang", page.lang | sort: 'weight' %}
{% for p in pages %}
<li class="pure-menu-item{% if p.url == page.url %} pure-menu-selected{% endif %}">
<a class="pure-menu-link" href="{{ site.baseurl }}{{ p.url }}">{{ p.title }}</a>
</li>
{% endfor %}
</ul>

<div class="lang-list">
{% assign posts = site.posts | where: "ref", page.ref | sort: 'lang' %}
{% for post in posts %}
<a href="{{ site.baseurl }}{{ post.url }}" class="{{ post.lang }}">{{ post.lang }}</a>
{% endfor %}
<div class="lang-list">
{% assign posts = site.posts | where: "ref", page.ref | sort: 'lang' %}
{% for post in posts %}
<a href="{{ site.baseurl }}{{ post.url }}" class="{{ post.lang }}">{{ post.lang }}</a>
{% endfor %}

{% assign pages = site.pages | where: "ref", page.ref | sort: 'lang' %}
{% for page in pages %}
<a href="{{ site.baseurl }}{{ page.url }}" class="{{ page.lang }}">{{ page.lang }}</a>
{% endfor %}
</div>
{% assign pages = site.pages | where: "ref", page.ref | sort: 'lang' %}
{% for page in pages %}
<a href="{{ site.baseurl }}{{ page.url }}" class="{{ page.lang }}">{{ page.lang }}</a>
{% endfor %}
</div>

<div class="menu-footer">
<p class="subtle" title="{{ site.time }}">&copy; {{ site.time | date: '%Y' }}</p>
</div>
<div class="menu-footer">
<p class="subtle" title="{{ site.time }}">&copy; {{ site.time | date: '%Y' }}</p>
</div>

</div>
</div>
</div>
38 changes: 19 additions & 19 deletions _layouts/default.en.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@

{% include head.html %}

<body>
<div id="layout">
<body>
<div id="layout">

{% include menu.html %}
{% include menu.html %}

<div id="main">
<div class="header">
<h1>{{ page.title }}</h1>
{% if page.subtitle %}<h2>{{ page.subtitle }}</h2>{% endif %}
</div>
<div class="content">
<div id="main">
<div class="header">
<h1>{{ page.title }}</h1>
{% if page.subtitle %}<h2>{{ page.subtitle }}</h2>{% endif %}
</div>
<div class="content">

{{ content }}
{{ content }}

</div>
</div>
</div>
</div>
</div>
</div>

{% include js.html %}
{% include js.html %}

{% if page.galeria == "si" %}
{% include blueimp-gallery.html %}
{% endif %}
{% if page.galeria == "si" %}
{% include blueimp-gallery.html %}
{% endif %}

{% comment %} {% include google_analytics.html %} {% endcomment %}
{% comment %} {% include google_analytics.html %} {% endcomment %}

</body>
</body>
</html>
38 changes: 19 additions & 19 deletions _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,31 @@

{% include head.html %}

<body>
<div id="layout">
<body>
<div id="layout">

{% include menu.html %}
{% include menu.html %}

<div id="main">
<div class="header">
<h1>{{ page.title }}</h1>
{% if page.subtitle %}<h2>{{ page.subtitle }}</h2>{% endif %}
</div>
<div class="content">
<div id="main">
<div class="header">
<h1>{{ page.title }}</h1>
{% if page.subtitle %}<h2>{{ page.subtitle }}</h2>{% endif %}
</div>
<div class="content">

{{ content }}
{{ content }}

</div>
</div>
</div>
</div>
</div>
</div>

{% include js.html %}
{% include js.html %}

{% if page.galeria == "si" %}
{% include blueimp-gallery.html %}
{% endif %}
{% if page.galeria == "si" %}
{% include blueimp-gallery.html %}
{% endif %}

{% comment %} {% include google_analytics.html %} {% endcomment %}
{% comment %} {% include google_analytics.html %} {% endcomment %}

</body>
</body>
</html>
60 changes: 30 additions & 30 deletions css/base.css
Original file line number Diff line number Diff line change
@@ -1,84 +1,84 @@
@import url(//fonts.googleapis.com/css?family=Roboto+Mono:400,400italic,700,700italic);

html {
color: #777;
font-family: 'Roboto Mono', monospace;
background-color: ghostwhite;
font-size: 13px;
color: #777;
font-family: 'Roboto Mono', monospace;
background-color: ghostwhite;
font-size: 13px;
}

body.fixed {
overflow: hidden;
position: fixed;
overflow: hidden;
position: fixed;
}

#menu a.img {
padding: 0;
padding: 0;
}

#menu .pure-menu li a:hover,
#menu .pure-menu li a:focus {
background: initial;
background: initial;
}

.header {
margin: 0 auto;
max-width: 800px;
margin: 0 auto;
max-width: 800px;
}

h1:after {
content: " ";
display: block;
width: 2rem;
margin-top: 1rem;
margin-bottom: 2rem;
border-bottom: 4px solid #333;
content: " ";
display: block;
width: 2rem;
margin-top: 1rem;
margin-bottom: 2rem;
border-bottom: 4px solid #333;
}

p.subtle {
color: lightgray;
color: lightgray;
}

.content > .pure-g {
margin-top: 1rem;
margin-top: 1rem;
}

.content .pure-g + p,
.lang-list {
margin-top: 2em;
margin-top: 2em;
}

p {
margin-top: 0;
margin-top: 0;
}

.en:lang(en),
.es:lang(es) {
font-weight: bold;
font-weight: bold;
}

.menu-footer {
margin: 2.5em 0 .6em .6em;
bottom: 1em;
margin: 2.5em 0 .6em .6em;
bottom: 1em;
}

@media (max-width: 48em) {

#layout.active #main {
opacity: .2;
}
#layout.active #main {
opacity: .2;
}

}

.pure-g.gutters {
margin: -.5em;
margin: -.5em;
}

.pure-g.gutters > [class *=pure-u] {
box-sizing: border-box;
padding: .5em;
box-sizing: border-box;
padding: .5em;
}

.pure-img {
width: 100%;
width: 100%;
}
4 changes: 2 additions & 2 deletions css/img/error.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 582a1cb

Please sign in to comment.