Finished base for new composer, Messed up old content index, Improved lang include

Update composer.php, content.php, and 6 more files...
This commit is contained in:
2022-06-24 18:43:31 +02:00
parent 099414d541
commit a44ddf3671
8 changed files with 783 additions and 147 deletions

View File

@@ -4,7 +4,7 @@
"page": {"en": "PB-ListComPort", "fr": "PB-ListComPort"},
"card": {
"main": {"en": "PB-ListComPort", "fr": "PB-ListComPort"},
"sub": {"en": "CLI COM port enumerator", "fr": "Enumérateur de port COM pour invité de commande"}
"sub": {"en": "<a href=\"https://github.com/aziascreations/PB-ListComPort\"><i class=\"fab fa-github\"></i></a>"}
}
},
"meta": {
@@ -123,7 +123,7 @@
"type": "spacer", "size": 1
},{
"type": "container", "padding": 0,
"modifiers": ["no-bottom-padding", "no-top-margin", "card"],
"modifiers": ["no-bottom-padding", "no-top-margin", "card", "horizontal-scroll"],
"content": {
"parts": [{
"type": "table",
@@ -193,7 +193,7 @@
"type": "spacer", "size": 1
},{
"type": "container", "padding": 0,
"modifiers": ["no-bottom-padding", "no-top-margin", "card"],
"modifiers": ["no-bottom-padding", "no-top-margin", "card", "horizontal-scroll"],
"content": {
"parts": [{
"type": "table",
@@ -307,7 +307,7 @@
"type": "spacer", "size": 1
},{
"type": "container", "padding": 0,
"modifiers": ["no-bottom-padding", "no-top-margin", "card"],
"modifiers": ["no-bottom-padding", "no-top-margin", "card", "horizontal-scroll"],
"content": {
"parts": [{
"type": "table", "modifiers": ["striped", "inner-bordered"],

56
content/items/test2.json Normal file
View File

@@ -0,0 +1,56 @@
{
"strings": {
"en": {
"title.meta": "Test content",
"title.og": "Test content",
"title.article": "Test content",
"heading.1": "t1",
"text.1": "p1",
"hello.world": "Hello World !"
},
"fr": {
"title.meta": "Test content fr",
"title.og": "Test content fr",
"title.article": "Test content fr",
"heading.1": "t1 fr",
"text.1": "p1 fr",
"hello.world": "Bonjour le monde !"
}
},
"metadata": {
"title": "title.meta",
"template": "article",
"opengraph": {
"title": "title.og",
"description": "",
"type": "",
"url": null,
"image": "",
"imageType": ""
},
"article": {
"icon": "fad fa-terminal",
"title": "title.article",
"tags": ["fuck", "you"]
}
},
"elements": [
{
"type": "container",
"padding": 10,
"modifiers": ["no-bottom-padding", "no-top-margin"],
"parts": [
{
"type": "paragraph",
"modifiers": ["no-top-margin"],
"content": "hello.world"
},{
"type": "paragraph",
"modifiers": [],
"content": "Joe mama !",
"localize": false
}
]
}
]
}

View File

@@ -23,6 +23,6 @@
}
},
"tags": [
"docker", "web", "python"
"docker", "application", "web", "python"
]
}