Primer commit de veritat
This commit is contained in:
pare
9dedf0ed19
commit
efbc4ca71e
S'han modificat 31 arxius amb 476 adicions i 0 eliminacions
0
.hugo_build.lock
Normal file
0
.hugo_build.lock
Normal file
6
archetypes/default.md
Normal file
6
archetypes/default.md
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
1
content/.obsidian/app.json
vendido
Normal file
1
content/.obsidian/app.json
vendido
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{}
|
3
content/.obsidian/appearance.json
vendido
Normal file
3
content/.obsidian/appearance.json
vendido
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
"accentColor": ""
|
||||||
|
}
|
29
content/.obsidian/core-plugins-migration.json
vendido
Normal file
29
content/.obsidian/core-plugins-migration.json
vendido
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
{
|
||||||
|
"file-explorer": true,
|
||||||
|
"global-search": true,
|
||||||
|
"switcher": true,
|
||||||
|
"graph": true,
|
||||||
|
"backlink": true,
|
||||||
|
"canvas": true,
|
||||||
|
"outgoing-link": true,
|
||||||
|
"tag-pane": true,
|
||||||
|
"page-preview": true,
|
||||||
|
"daily-notes": true,
|
||||||
|
"templates": true,
|
||||||
|
"note-composer": true,
|
||||||
|
"command-palette": true,
|
||||||
|
"slash-command": false,
|
||||||
|
"editor-status": true,
|
||||||
|
"bookmarks": true,
|
||||||
|
"markdown-importer": false,
|
||||||
|
"zk-prefixer": false,
|
||||||
|
"random-note": false,
|
||||||
|
"outline": true,
|
||||||
|
"word-count": true,
|
||||||
|
"slides": false,
|
||||||
|
"audio-recorder": false,
|
||||||
|
"workspaces": false,
|
||||||
|
"file-recovery": true,
|
||||||
|
"publish": false,
|
||||||
|
"sync": false
|
||||||
|
}
|
20
content/.obsidian/core-plugins.json
vendido
Normal file
20
content/.obsidian/core-plugins.json
vendido
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
[
|
||||||
|
"file-explorer",
|
||||||
|
"global-search",
|
||||||
|
"switcher",
|
||||||
|
"graph",
|
||||||
|
"backlink",
|
||||||
|
"canvas",
|
||||||
|
"outgoing-link",
|
||||||
|
"tag-pane",
|
||||||
|
"page-preview",
|
||||||
|
"daily-notes",
|
||||||
|
"templates",
|
||||||
|
"note-composer",
|
||||||
|
"command-palette",
|
||||||
|
"editor-status",
|
||||||
|
"bookmarks",
|
||||||
|
"outline",
|
||||||
|
"word-count",
|
||||||
|
"file-recovery"
|
||||||
|
]
|
1
content/.obsidian/hotkeys.json
vendido
Normal file
1
content/.obsidian/hotkeys.json
vendido
Normal file
|
@ -0,0 +1 @@
|
||||||
|
{}
|
149
content/.obsidian/workspace.json
vendido
Normal file
149
content/.obsidian/workspace.json
vendido
Normal file
|
@ -0,0 +1,149 @@
|
||||||
|
{
|
||||||
|
"main": {
|
||||||
|
"id": "eac5e97a841da4c0",
|
||||||
|
"type": "split",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "c1e1acac347e7ab5",
|
||||||
|
"type": "tabs",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "80239d167ab71deb",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "empty",
|
||||||
|
"state": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"direction": "vertical"
|
||||||
|
},
|
||||||
|
"left": {
|
||||||
|
"id": "514cc663ff12022d",
|
||||||
|
"type": "split",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "6e5c863a2bfd1264",
|
||||||
|
"type": "tabs",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "793b72c2b1d03340",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "file-explorer",
|
||||||
|
"state": {
|
||||||
|
"sortOrder": "alphabetical"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "397b7dbfb7a49f2c",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "search",
|
||||||
|
"state": {
|
||||||
|
"query": "",
|
||||||
|
"matchingCase": false,
|
||||||
|
"explainSearch": false,
|
||||||
|
"collapseAll": false,
|
||||||
|
"extraContext": false,
|
||||||
|
"sortOrder": "alphabetical"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "2c34aad18a3fc0b3",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "bookmarks",
|
||||||
|
"state": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"direction": "horizontal",
|
||||||
|
"width": 300
|
||||||
|
},
|
||||||
|
"right": {
|
||||||
|
"id": "7d50f556a2378dbd",
|
||||||
|
"type": "split",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "1b7b6b4a1c84cc79",
|
||||||
|
"type": "tabs",
|
||||||
|
"children": [
|
||||||
|
{
|
||||||
|
"id": "adb2dd841c90f76b",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "backlink",
|
||||||
|
"state": {
|
||||||
|
"collapseAll": false,
|
||||||
|
"extraContext": false,
|
||||||
|
"sortOrder": "alphabetical",
|
||||||
|
"showSearch": false,
|
||||||
|
"searchQuery": "",
|
||||||
|
"backlinkCollapsed": false,
|
||||||
|
"unlinkedCollapsed": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "c253aa02e4cb1159",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "outgoing-link",
|
||||||
|
"state": {
|
||||||
|
"linksCollapsed": false,
|
||||||
|
"unlinkedCollapsed": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "165b85d3bc2e47fa",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "tag",
|
||||||
|
"state": {
|
||||||
|
"sortOrder": "frequency",
|
||||||
|
"useHierarchy": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "134a967adcd98614",
|
||||||
|
"type": "leaf",
|
||||||
|
"state": {
|
||||||
|
"type": "outline",
|
||||||
|
"state": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"direction": "horizontal",
|
||||||
|
"width": 300,
|
||||||
|
"collapsed": true
|
||||||
|
},
|
||||||
|
"left-ribbon": {
|
||||||
|
"hiddenItems": {
|
||||||
|
"switcher:Open quick switcher": false,
|
||||||
|
"graph:Open graph view": false,
|
||||||
|
"canvas:Create new canvas": false,
|
||||||
|
"daily-notes:Open today's daily note": false,
|
||||||
|
"templates:Insert template": false,
|
||||||
|
"command-palette:Open command palette": false
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"active": "80239d167ab71deb",
|
||||||
|
"lastOpenFiles": [
|
||||||
|
"post/2023/2023-06-13-segon-post.md",
|
||||||
|
"post/2023/2023-06-13-primer-post.md",
|
||||||
|
"post/2023",
|
||||||
|
"post",
|
||||||
|
"posts/2023/2023-06-13-primer-post.md"
|
||||||
|
]
|
||||||
|
}
|
13
content/post/2023/2023-06-13-primer-post.md
Normal file
13
content/post/2023/2023-06-13-primer-post.md
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
---
|
||||||
|
title: "El meu primer post"
|
||||||
|
date: 2023-06-13T06:54:33+02:00
|
||||||
|
draft: false
|
||||||
|
---
|
||||||
|
|
||||||
|
# El meu primer post
|
||||||
|
Això no dexa de ser una porva, per veure si realment puc gestionar un site estàtic normalet des de Obsidian.
|
||||||
|
Si tot va com ha d'anar, la cosa es veuria bé:
|
||||||
|
- Amb llistes
|
||||||
|
- Ràpid
|
||||||
|
- Haremore
|
||||||
|
- peich
|
9
content/post/2023/2023-06-13-segon-post.md
Normal file
9
content/post/2023/2023-06-13-segon-post.md
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
---
|
||||||
|
title: "2023 06 13 Segon Post"
|
||||||
|
date: 2023-06-13T09:24:59+02:00
|
||||||
|
draft: true
|
||||||
|
---
|
||||||
|
|
||||||
|
## Això és una altra prova
|
||||||
|
|
||||||
|
Ja tocaria que alguna cosa es pogués veure bé, no?
|
2
public/categories/index.html
Normal file
2
public/categories/index.html
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
<h1>Categories</h1>
|
||||||
|
|
10
public/categories/index.xml
Normal file
10
public/categories/index.xml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
<channel>
|
||||||
|
<title>Categories on enricpineda.cat</title>
|
||||||
|
<link>https://www.enrcpineda.cat/categories/</link>
|
||||||
|
<description>Recent content in Categories on enricpineda.cat</description>
|
||||||
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
|
<language>es-ca</language><atom:link href="https://www.enrcpineda.cat/categories/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
</channel>
|
||||||
|
</rss>
|
23
public/index.html
Normal file
23
public/index.html
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html><head>
|
||||||
|
<meta name="generator" content="Hugo 0.92.2" />
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
||||||
|
|
||||||
|
|
||||||
|
<title>enricpineda.cat</title>
|
||||||
|
</head><body><h1>Hola!</h1><div id="content">
|
||||||
|
|
||||||
|
<h1>enricpineda.cat</h1>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<h3><a class="title" href="/post/">Posts</a></h3>
|
||||||
|
<a class="summary" href="/post/">
|
||||||
|
<p></p>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
</div></body>
|
||||||
|
</html>
|
21
public/index.xml
Normal file
21
public/index.xml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
<channel>
|
||||||
|
<title>enricpineda.cat</title>
|
||||||
|
<link>https://www.enrcpineda.cat/</link>
|
||||||
|
<description>Recent content on enricpineda.cat</description>
|
||||||
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
|
<language>es-ca</language>
|
||||||
|
<lastBuildDate>Tue, 13 Jun 2023 06:54:33 +0200</lastBuildDate><atom:link href="https://www.enrcpineda.cat/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
<item>
|
||||||
|
<title>El meu primer post</title>
|
||||||
|
<link>https://www.enrcpineda.cat/post/2023/2023-06-13-primer-post/</link>
|
||||||
|
<pubDate>Tue, 13 Jun 2023 06:54:33 +0200</pubDate>
|
||||||
|
|
||||||
|
<guid>https://www.enrcpineda.cat/post/2023/2023-06-13-primer-post/</guid>
|
||||||
|
<description>El meu primer post Això no dexa de ser una porva, per veure si realment puc gestionar un site estàtic normalet des de Obsidian. Si tot va com ha d&rsquo;anar, la cosa es veuria bé:
|
||||||
|
Amb llistes Ràpid Haremore peich </description>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
25
public/post/2023/2023-06-13-primer-post/index.html
Normal file
25
public/post/2023/2023-06-13-primer-post/index.html
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html><head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
||||||
|
|
||||||
|
|
||||||
|
<title>enricpineda.cat | El meu primer post</title>
|
||||||
|
</head><body><h1>Hola!</h1><div id="content">
|
||||||
|
<h1>El meu primer post</h1>
|
||||||
|
|
||||||
|
<br><br>
|
||||||
|
<h1 id="el-meu-primer-post">El meu primer post</h1>
|
||||||
|
<p>Això no dexa de ser una porva, per veure si realment puc gestionar un site estàtic normalet des de Obsidian.
|
||||||
|
Si tot va com ha d’anar, la cosa es veuria bé:</p>
|
||||||
|
<ul>
|
||||||
|
<li>Amb llistes</li>
|
||||||
|
<li>Ràpid</li>
|
||||||
|
<li>Haremore</li>
|
||||||
|
<li>peich</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
</div></body>
|
||||||
|
</html>
|
10
public/post/index.html
Normal file
10
public/post/index.html
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<h1>Posts</h1>
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<h3><a class="title" href="/post/2023/2023-06-13-primer-post/">El meu primer post</a></h3>
|
||||||
|
<a class="summary" href="/post/2023/2023-06-13-primer-post/">
|
||||||
|
<p>El meu primer post Això no dexa de ser una porva, per veure si realment puc gestionar un site estàtic normalet des de Obsidian. Si tot va com ha d’anar, la cosa es veuria bé:
|
||||||
|
Amb llistes Ràpid Haremore peich </p>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
|
21
public/post/index.xml
Normal file
21
public/post/index.xml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
<channel>
|
||||||
|
<title>Posts on enricpineda.cat</title>
|
||||||
|
<link>https://www.enrcpineda.cat/post/</link>
|
||||||
|
<description>Recent content in Posts on enricpineda.cat</description>
|
||||||
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
|
<language>es-ca</language>
|
||||||
|
<lastBuildDate>Tue, 13 Jun 2023 06:54:33 +0200</lastBuildDate><atom:link href="https://www.enrcpineda.cat/post/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
<item>
|
||||||
|
<title>El meu primer post</title>
|
||||||
|
<link>https://www.enrcpineda.cat/post/2023/2023-06-13-primer-post/</link>
|
||||||
|
<pubDate>Tue, 13 Jun 2023 06:54:33 +0200</pubDate>
|
||||||
|
|
||||||
|
<guid>https://www.enrcpineda.cat/post/2023/2023-06-13-primer-post/</guid>
|
||||||
|
<description>El meu primer post Això no dexa de ser una porva, per veure si realment puc gestionar un site estàtic normalet des de Obsidian. Si tot va com ha d&rsquo;anar, la cosa es veuria bé:
|
||||||
|
Amb llistes Ràpid Haremore peich </description>
|
||||||
|
</item>
|
||||||
|
|
||||||
|
</channel>
|
||||||
|
</rss>
|
18
public/sitemap.xml
Normal file
18
public/sitemap.xml
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||||
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
||||||
|
xmlns:xhtml="http://www.w3.org/1999/xhtml">
|
||||||
|
<url>
|
||||||
|
<loc>https://www.enrcpineda.cat/post/2023/2023-06-13-primer-post/</loc>
|
||||||
|
<lastmod>2023-06-13T06:54:33+02:00</lastmod>
|
||||||
|
</url><url>
|
||||||
|
<loc>https://www.enrcpineda.cat/</loc>
|
||||||
|
<lastmod>2023-06-13T06:54:33+02:00</lastmod>
|
||||||
|
</url><url>
|
||||||
|
<loc>https://www.enrcpineda.cat/post/</loc>
|
||||||
|
<lastmod>2023-06-13T06:54:33+02:00</lastmod>
|
||||||
|
</url><url>
|
||||||
|
<loc>https://www.enrcpineda.cat/categories/</loc>
|
||||||
|
</url><url>
|
||||||
|
<loc>https://www.enrcpineda.cat/tags/</loc>
|
||||||
|
</url>
|
||||||
|
</urlset>
|
2
public/tags/index.html
Normal file
2
public/tags/index.html
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
<h1>Tags</h1>
|
||||||
|
|
10
public/tags/index.xml
Normal file
10
public/tags/index.xml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
|
||||||
|
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||||
|
<channel>
|
||||||
|
<title>Tags on enricpineda.cat</title>
|
||||||
|
<link>https://www.enrcpineda.cat/tags/</link>
|
||||||
|
<description>Recent content in Tags on enricpineda.cat</description>
|
||||||
|
<generator>Hugo -- gohugo.io</generator>
|
||||||
|
<language>es-ca</language><atom:link href="https://www.enrcpineda.cat/tags/index.xml" rel="self" type="application/rss+xml" />
|
||||||
|
</channel>
|
||||||
|
</rss>
|
20
themes/pinitema/LICENSE
Normal file
20
themes/pinitema/LICENSE
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
The MIT License (MIT)
|
||||||
|
|
||||||
|
Copyright (c) 2023 YOUR_NAME_HERE
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy of
|
||||||
|
this software and associated documentation files (the "Software"), to deal in
|
||||||
|
the Software without restriction, including without limitation the rights to
|
||||||
|
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
|
||||||
|
the Software, and to permit persons to whom the Software is furnished to do so,
|
||||||
|
subject to the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be included in all
|
||||||
|
copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
||||||
|
FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
|
||||||
|
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
|
||||||
|
IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
||||||
|
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
5
themes/pinitema/archetypes/post.md
Normal file
5
themes/pinitema/archetypes/post.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
title: "{{ replace .Name "-" " " | title }}"
|
||||||
|
date: {{ .Date }}
|
||||||
|
draft: true
|
||||||
|
---
|
0
themes/pinitema/layouts/404.html
Normal file
0
themes/pinitema/layouts/404.html
Normal file
11
themes/pinitema/layouts/_default/baseof.html
Normal file
11
themes/pinitema/layouts/_default/baseof.html
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
{{- partial "head.html" . -}}
|
||||||
|
<body>
|
||||||
|
{{- partial "header.html" . -}}
|
||||||
|
<div id="content">
|
||||||
|
{{- block "main" . }}{{- end }}
|
||||||
|
</div>
|
||||||
|
{{- partial "footer.html" . -}}
|
||||||
|
</body>
|
||||||
|
</html>
|
9
themes/pinitema/layouts/_default/list.html
Normal file
9
themes/pinitema/layouts/_default/list.html
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
{{ range .Pages.ByPublishDate.Reverse }}
|
||||||
|
<p>
|
||||||
|
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||||
|
<a class="summary" href="{{ .RelPermalink }}">
|
||||||
|
<p>{{ .Summary }}</p>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
{{ end }}
|
6
themes/pinitema/layouts/_default/single.html
Normal file
6
themes/pinitema/layouts/_default/single.html
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
{{ define "main" }}
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
|
||||||
|
<br><br>
|
||||||
|
{{ .Content }}
|
||||||
|
{{ end }}
|
22
themes/pinitema/layouts/index.html
Normal file
22
themes/pinitema/layouts/index.html
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
{{- partial "head.html" . -}}
|
||||||
|
<body>
|
||||||
|
{{- partial "header.html" . -}}
|
||||||
|
<div id="content">
|
||||||
|
{{ define "main" }}
|
||||||
|
<h1>{{ .Title }}</h1>
|
||||||
|
{{ range .Pages.ByPublishDate.Reverse }}
|
||||||
|
<p>
|
||||||
|
<h3><a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a></h3>
|
||||||
|
<a class="summary" href="{{ .RelPermalink }}">
|
||||||
|
<p>{{ .Summary }}</p>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
|
{{ end }}
|
||||||
|
{{ end }}
|
||||||
|
{{- block "main" . }}{{- end }}
|
||||||
|
</div>
|
||||||
|
{{- partial "footer.html" . -}}
|
||||||
|
</body>
|
||||||
|
</html>
|
0
themes/pinitema/layouts/partials/footer.html
Normal file
0
themes/pinitema/layouts/partials/footer.html
Normal file
8
themes/pinitema/layouts/partials/head.html
Normal file
8
themes/pinitema/layouts/partials/head.html
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
<link rel="stylesheet" type="text/css" href="/css/style.css">
|
||||||
|
{{ $title := print .Site.Title " | " .Title }}
|
||||||
|
{{ if .IsHome }}{{ $title = .Site.Title }}{{ end }}
|
||||||
|
<title>{{ $title }}</title>
|
||||||
|
</head>
|
1
themes/pinitema/layouts/partials/header.html
Normal file
1
themes/pinitema/layouts/partials/header.html
Normal file
|
@ -0,0 +1 @@
|
||||||
|
<h1>Hola!</h1>
|
21
themes/pinitema/theme.toml
Normal file
21
themes/pinitema/theme.toml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# theme.toml template for a Hugo theme
|
||||||
|
# See https://github.com/gohugoio/hugoThemes#themetoml for an example
|
||||||
|
|
||||||
|
name = "Pinitema"
|
||||||
|
license = "MIT"
|
||||||
|
licenselink = "https://github.com/yourname/yourtheme/blob/master/LICENSE"
|
||||||
|
description = ""
|
||||||
|
homepage = "https://www.enricpineda.cat/"
|
||||||
|
tags = []
|
||||||
|
features = []
|
||||||
|
min_version = "0.41.0"
|
||||||
|
|
||||||
|
[author]
|
||||||
|
name = "Enric Pineda"
|
||||||
|
homepage = "https://www.enricpineda.cat"
|
||||||
|
|
||||||
|
# If porting an existing theme
|
||||||
|
[original]
|
||||||
|
name = ""
|
||||||
|
homepage = ""
|
||||||
|
repo = ""
|
Loading…
Referencia en una nova incidència