Skip to content

Commit c90aedb

Browse files
committed
📝 changing default template
1 parent b63cdc0 commit c90aedb

File tree

2 files changed

+83
-3
lines changed

2 files changed

+83
-3
lines changed

_layouts/default.html

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
<!DOCTYPE html>
2+
<html lang="{{ site.lang | default: "en-US" }}">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
8+
{% seo %}
9+
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
10+
<!--[if lt IE 9]>
11+
<script src="https://cdnjs.cloudflare.com/ajax/libs/html5shiv/3.7.3/html5shiv.min.js"></script>
12+
<![endif]-->
13+
</head>
14+
<body>
15+
<div class="wrapper">
16+
<header>
17+
{% if site.logo_as_title %}
18+
<a href="{{ "/" | absolute_url }}">{% if site.logo %}
19+
<img src="{{ site.logo | relative_url }}" alt="Logo"/>
20+
{% else %}
21+
<h1>{{ site.title | default: site.github.repository_name }}</h1>
22+
{% endif %}</a>
23+
{% else %}
24+
<h1><a href="{{ "/" | absolute_url }}">{{ site.title | default: site.github.repository_name }}</a></h1>
25+
26+
{% if site.logo %}
27+
<img src="{{ site.logo | relative_url }}" alt="Logo"/>
28+
{% endif %}
29+
{% endif %}
30+
31+
<p>{{ site.description | default: site.github.project_tagline }}</p>
32+
33+
{% if site.github.is_project_page %}
34+
<p class="view"><a href="{{ site.github.repository_url }}">View the Project on GitHub
35+
<small>{{ site.github.repository_nwo }}</small></a></p>
36+
{% endif %}
37+
38+
{% if site.github.is_user_page %}
39+
<p class="view"><a href="{{ site.github.owner_url }}">View My GitHub Profile</a></p>
40+
{% endif %}
41+
42+
{% if site.show_downloads %}
43+
<ul class="downloads">
44+
<li><a href="{{ site.github.zip_url }}">Download <strong>ZIP File</strong></a></li>
45+
<li><a href="{{ site.github.tar_url }}">Download <strong>TAR Ball</strong></a></li>
46+
<li><a href="{{ site.github.repository_url }}">View On <strong>GitHub</strong></a></li>
47+
</ul>
48+
{% endif %}
49+
</header>
50+
<section>
51+
52+
{{ content }}
53+
54+
</section>
55+
<footer>
56+
{% if site.github.is_project_page %}
57+
<p>This project is maintained by <a href="{{ site.github.owner_url }}">{{ site.github.owner_name }}</a></p>
58+
{% endif %}
59+
<p><small>Hosted on GitHub Pages &mdash; Theme by <a
60+
href="https://github.com/orderedlist">orderedlist</a></small></p>
61+
</footer>
62+
</div>
63+
<script src="{{ "/assets/js/scale.fix.js" | relative_url }}"></script>
64+
{% if site.google_analytics %}
65+
<script>
66+
(function (i, s, o, g, r, a, m) {
67+
i['GoogleAnalyticsObject'] = r;
68+
i[r] = i[r] || function () {
69+
(i[r].q = i[r].q || []).push(arguments)
70+
}, i[r].l = 1 * new Date();
71+
a = s.createElement(o),
72+
m = s.getElementsByTagName(o)[0];
73+
a.async = 1;
74+
a.src = g;
75+
m.parentNode.insertBefore(a, m)
76+
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
77+
ga('create', '{{ site.google_analytics }}', 'auto');
78+
ga('send', 'pageview');
79+
</script>
80+
{% endif %}
81+
</body>
82+
</html>

about-us.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
---
22
layout: post
33
title: Acerca de...
4-
tags:
5-
- Acerca
6-
- de
4+
tags: Acerca de
75
---
86
Prograpedia nació en 2011...

0 commit comments

Comments
 (0)