diff --git a/.hugo_build.lock b/.hugo_build.lock new file mode 100644 index 0000000..e69de29 diff --git a/archetypes/default.md b/archetypes/default.md new file mode 100644 index 0000000..00e77bd --- /dev/null +++ b/archetypes/default.md @@ -0,0 +1,6 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- + diff --git a/content/.obsidian/app.json b/content/.obsidian/app.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/content/.obsidian/app.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/content/.obsidian/appearance.json b/content/.obsidian/appearance.json new file mode 100644 index 0000000..c8c365d --- /dev/null +++ b/content/.obsidian/appearance.json @@ -0,0 +1,3 @@ +{ + "accentColor": "" +} \ No newline at end of file diff --git a/content/.obsidian/core-plugins-migration.json b/content/.obsidian/core-plugins-migration.json new file mode 100644 index 0000000..5c13490 --- /dev/null +++ b/content/.obsidian/core-plugins-migration.json @@ -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 +} \ No newline at end of file diff --git a/content/.obsidian/core-plugins.json b/content/.obsidian/core-plugins.json new file mode 100644 index 0000000..9405bfd --- /dev/null +++ b/content/.obsidian/core-plugins.json @@ -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" +] \ No newline at end of file diff --git a/content/.obsidian/hotkeys.json b/content/.obsidian/hotkeys.json new file mode 100644 index 0000000..9e26dfe --- /dev/null +++ b/content/.obsidian/hotkeys.json @@ -0,0 +1 @@ +{} \ No newline at end of file diff --git a/content/.obsidian/workspace.json b/content/.obsidian/workspace.json new file mode 100644 index 0000000..016102d --- /dev/null +++ b/content/.obsidian/workspace.json @@ -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" + ] +} \ No newline at end of file diff --git a/content/post/2023/2023-06-13-primer-post.md b/content/post/2023/2023-06-13-primer-post.md new file mode 100644 index 0000000..747c89e --- /dev/null +++ b/content/post/2023/2023-06-13-primer-post.md @@ -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 \ No newline at end of file diff --git a/content/post/2023/2023-06-13-segon-post.md b/content/post/2023/2023-06-13-segon-post.md new file mode 100644 index 0000000..47b0317 --- /dev/null +++ b/content/post/2023/2023-06-13-segon-post.md @@ -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? \ No newline at end of file diff --git a/public/categories/index.html b/public/categories/index.html new file mode 100644 index 0000000..0cee95a --- /dev/null +++ b/public/categories/index.html @@ -0,0 +1,2 @@ +

Categories

+ diff --git a/public/categories/index.xml b/public/categories/index.xml new file mode 100644 index 0000000..8384b78 --- /dev/null +++ b/public/categories/index.xml @@ -0,0 +1,10 @@ + + + + Categories on enricpineda.cat + https://www.enrcpineda.cat/categories/ + Recent content in Categories on enricpineda.cat + Hugo -- gohugo.io + es-ca + + diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..02c777c --- /dev/null +++ b/public/index.html @@ -0,0 +1,23 @@ + + + + + + + + + enricpineda.cat +

Hola!

+ +

enricpineda.cat

+ +

+

Posts

+ +

+
+

+ + +
+ diff --git a/public/index.xml b/public/index.xml new file mode 100644 index 0000000..0f690de --- /dev/null +++ b/public/index.xml @@ -0,0 +1,21 @@ + + + + enricpineda.cat + https://www.enrcpineda.cat/ + Recent content on enricpineda.cat + Hugo -- gohugo.io + es-ca + Tue, 13 Jun 2023 06:54:33 +0200 + + El meu primer post + https://www.enrcpineda.cat/post/2023/2023-06-13-primer-post/ + Tue, 13 Jun 2023 06:54:33 +0200 + + https://www.enrcpineda.cat/post/2023/2023-06-13-primer-post/ + 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 + + + + diff --git a/public/post/2023/2023-06-13-primer-post/index.html b/public/post/2023/2023-06-13-primer-post/index.html new file mode 100644 index 0000000..afd3313 --- /dev/null +++ b/public/post/2023/2023-06-13-primer-post/index.html @@ -0,0 +1,25 @@ + + + + + + + + enricpineda.cat | El meu primer post +

Hola!

+

El meu primer post

+ +

+

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é:

+ + + +
+ diff --git a/public/post/index.html b/public/post/index.html new file mode 100644 index 0000000..9315fbc --- /dev/null +++ b/public/post/index.html @@ -0,0 +1,10 @@ +

Posts

+ +

+

El meu primer post

+ +

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

+
+

+ diff --git a/public/post/index.xml b/public/post/index.xml new file mode 100644 index 0000000..006ff4a --- /dev/null +++ b/public/post/index.xml @@ -0,0 +1,21 @@ + + + + Posts on enricpineda.cat + https://www.enrcpineda.cat/post/ + Recent content in Posts on enricpineda.cat + Hugo -- gohugo.io + es-ca + Tue, 13 Jun 2023 06:54:33 +0200 + + El meu primer post + https://www.enrcpineda.cat/post/2023/2023-06-13-primer-post/ + Tue, 13 Jun 2023 06:54:33 +0200 + + https://www.enrcpineda.cat/post/2023/2023-06-13-primer-post/ + 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 + + + + diff --git a/public/sitemap.xml b/public/sitemap.xml new file mode 100644 index 0000000..c7070bc --- /dev/null +++ b/public/sitemap.xml @@ -0,0 +1,18 @@ + + + + https://www.enrcpineda.cat/post/2023/2023-06-13-primer-post/ + 2023-06-13T06:54:33+02:00 + + https://www.enrcpineda.cat/ + 2023-06-13T06:54:33+02:00 + + https://www.enrcpineda.cat/post/ + 2023-06-13T06:54:33+02:00 + + https://www.enrcpineda.cat/categories/ + + https://www.enrcpineda.cat/tags/ + + diff --git a/public/tags/index.html b/public/tags/index.html new file mode 100644 index 0000000..0a05c9a --- /dev/null +++ b/public/tags/index.html @@ -0,0 +1,2 @@ +

Tags

+ diff --git a/public/tags/index.xml b/public/tags/index.xml new file mode 100644 index 0000000..3bf2597 --- /dev/null +++ b/public/tags/index.xml @@ -0,0 +1,10 @@ + + + + Tags on enricpineda.cat + https://www.enrcpineda.cat/tags/ + Recent content in Tags on enricpineda.cat + Hugo -- gohugo.io + es-ca + + diff --git a/themes/pinitema/LICENSE b/themes/pinitema/LICENSE new file mode 100644 index 0000000..17993f6 --- /dev/null +++ b/themes/pinitema/LICENSE @@ -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. diff --git a/themes/pinitema/archetypes/post.md b/themes/pinitema/archetypes/post.md new file mode 100644 index 0000000..8e4b597 --- /dev/null +++ b/themes/pinitema/archetypes/post.md @@ -0,0 +1,5 @@ +--- +title: "{{ replace .Name "-" " " | title }}" +date: {{ .Date }} +draft: true +--- \ No newline at end of file diff --git a/themes/pinitema/layouts/404.html b/themes/pinitema/layouts/404.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/pinitema/layouts/_default/baseof.html b/themes/pinitema/layouts/_default/baseof.html new file mode 100644 index 0000000..5f8e2ec --- /dev/null +++ b/themes/pinitema/layouts/_default/baseof.html @@ -0,0 +1,11 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+ {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/themes/pinitema/layouts/_default/list.html b/themes/pinitema/layouts/_default/list.html new file mode 100644 index 0000000..6ebf454 --- /dev/null +++ b/themes/pinitema/layouts/_default/list.html @@ -0,0 +1,9 @@ +

{{ .Title }}

+{{ range .Pages.ByPublishDate.Reverse }} +

+

{{ .Title }}

+ +

{{ .Summary }}

+
+

+{{ end }} diff --git a/themes/pinitema/layouts/_default/single.html b/themes/pinitema/layouts/_default/single.html new file mode 100644 index 0000000..a7e8795 --- /dev/null +++ b/themes/pinitema/layouts/_default/single.html @@ -0,0 +1,6 @@ +{{ define "main" }} +

{{ .Title }}

+ +

+{{ .Content }} +{{ end }} \ No newline at end of file diff --git a/themes/pinitema/layouts/index.html b/themes/pinitema/layouts/index.html new file mode 100644 index 0000000..083680c --- /dev/null +++ b/themes/pinitema/layouts/index.html @@ -0,0 +1,22 @@ + + + {{- partial "head.html" . -}} + + {{- partial "header.html" . -}} +
+ {{ define "main" }} +

{{ .Title }}

+{{ range .Pages.ByPublishDate.Reverse }} +

+

{{ .Title }}

+ +

{{ .Summary }}

+
+

+{{ end }} +{{ end }} + {{- block "main" . }}{{- end }} +
+ {{- partial "footer.html" . -}} + + diff --git a/themes/pinitema/layouts/partials/footer.html b/themes/pinitema/layouts/partials/footer.html new file mode 100644 index 0000000..e69de29 diff --git a/themes/pinitema/layouts/partials/head.html b/themes/pinitema/layouts/partials/head.html new file mode 100644 index 0000000..f1d9bc1 --- /dev/null +++ b/themes/pinitema/layouts/partials/head.html @@ -0,0 +1,8 @@ + + + + + {{ $title := print .Site.Title " | " .Title }} + {{ if .IsHome }}{{ $title = .Site.Title }}{{ end }} + {{ $title }} + \ No newline at end of file diff --git a/themes/pinitema/layouts/partials/header.html b/themes/pinitema/layouts/partials/header.html new file mode 100644 index 0000000..4f93b15 --- /dev/null +++ b/themes/pinitema/layouts/partials/header.html @@ -0,0 +1 @@ +

Hola!

\ No newline at end of file diff --git a/themes/pinitema/theme.toml b/themes/pinitema/theme.toml new file mode 100644 index 0000000..f4ba762 --- /dev/null +++ b/themes/pinitema/theme.toml @@ -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 = ""