Skip to content
This repository was archived by the owner on Sep 30, 2020. It is now read-only.

Commit b38465b

Browse files
committed
Add Spanish layout
1 parent 85ef02b commit b38465b

File tree

2 files changed

+70
-0
lines changed

2 files changed

+70
-0
lines changed

_layouts/es/basic.html

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
<!DOCTYPE html>
2+
<!-- Page last generated {{ site.time }} -->
3+
<html lang="es">
4+
<head>
5+
<meta charset="utf-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width, initial-scale=1">
8+
<title>{{ page.title }}</title>
9+
<meta name="keywords" content="Rust, Rust programming language, langage de programación Rust, rustlang, rust-lang, Mozilla Rust">
10+
<meta name="description" content="Un lenguage de programación de sistemas veloz, que previene fallas de segmento y garantiza la seguridad de los hilos de ejecución">
11+
12+
<link rel="stylesheet" href="/css/bootstrap.css">
13+
<link rel="stylesheet" href="/css/style.css">
14+
</head>
15+
16+
<body class="container">
17+
<a href="https://github.com/rust-lang/rust">
18+
<img class="ribbon" style="display: none" src="/logos/forkme.png" alt="Fork me on GitHub" width="298" height="298">
19+
</a>
20+
21+
<header>
22+
<ul class="row menu">
23+
<li class="col-xs-12 col-md-2">
24+
<a href="/es/index.html">
25+
<img class="img-responsive" src="/logos/rust-logo-blk.svg" onerror="this.src='/logos/rust-logo-256x256-blk.png'" height="128" width="128" alt="Rust logo" />
26+
</a>
27+
</li>
28+
<li class="col-xs-12 col-md-10 menu">
29+
<h2><a href="/es/documentation.html">Documentation</a></h2>
30+
<h2><a href="/es/install.html">Instalación</a></h2>
31+
<h2><a href="/es/community.html">Comunidad</a></h2>
32+
<h2><a href="/es/contribute.html">Contribuir</a></h2>
33+
</li>
34+
</ul>
35+
</header>
36+
37+
{{ content }}
38+
39+
<footer>
40+
<p>Nuestro sitio en otros idiomas&nbsp;:
41+
<a href="/en-US/">English</a>,
42+
<a href="/fr/">Francés</a>,
43+
<a href="/ja-JP/">日本語</a>,
44+
<a href="/ko-KR/">한국어</a>,
45+
<a href="/pt-BR/">Português</a>,
46+
<a href="/ru-RU/">Русский</a>,
47+
<a href="/vi-VN/">Tiếng việt</a>,
48+
<a href="/zh-CN/">简体中文</a>
49+
</p>
50+
</footer>
51+
52+
<script>
53+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
54+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
55+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
56+
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
57+
58+
ga('create', 'UA-58390457-1', 'auto');
59+
ga('send', 'pageview');
60+
61+
</script>
62+
</body>
63+
</html>

_layouts/es/default.html

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
layout: es/basic
3+
---
4+
5+
<div class="content">
6+
{{ content }}
7+
</div>

0 commit comments

Comments
 (0)