This commit is contained in:
elvira committed 2026-10-26 16:06:55 +02:00
1 parent 50ec0eebf2
commit 1e4da2c8cc
73 files changed
+763 -43

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use JacobJoergensen\LaravelPaper\Attributes\ContentPath;
use JacobJoergensen\LaravelPaper\Attributes\Driver;
use JacobJoergensen\LaravelPaper\Paper;
// A question and its answer (markdown body), listed by an FAQ section.
// Default-locale entries, like StoicPage; Stoic::localizedRelation() layers
// the current locale's fields on top.
#[Driver("markdown")]
#[ContentPath("resources/stoic/content/el/faqs")]
class StoicFaq extends Model
{
use Paper;
}
+18
View File
@@ -0,0 +1,18 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
use JacobJoergensen\LaravelPaper\Attributes\ContentPath;
use JacobJoergensen\LaravelPaper\Attributes\Driver;
use JacobJoergensen\LaravelPaper\Paper;
// A titled group of FAQs on the FAQ page, ordered by its faqs relation.
// Default-locale entries, like StoicPage; Stoic::localizedRelation() layers
// the current locale's fields on top.
#[Driver("markdown")]
#[ContentPath("resources/stoic/content/el/faq-sections")]
class StoicFaqSection extends Model
{
use Paper;
}