feat: add Home Page layout and styles, including header behavior and language support
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
# PAGE CLASS
|
||||
lib.page.class = COA
|
||||
lib.page.class {
|
||||
// Page alias or id as fallback
|
||||
10 = TEXT
|
||||
10 {
|
||||
field = alias // uid
|
||||
noTrimWrap = |page-||
|
||||
}
|
||||
// Current level of the page within the tree structure
|
||||
20 = TEXT
|
||||
20 {
|
||||
data = level:1
|
||||
noTrimWrap = | pagelevel-||
|
||||
}
|
||||
// Language
|
||||
30 = TEXT
|
||||
30 {
|
||||
data = siteLanguage:languageId
|
||||
noTrimWrap = | language-||
|
||||
}
|
||||
// Backend layout
|
||||
40 = TEXT
|
||||
40 {
|
||||
data = pagelayout
|
||||
replacement.10 {
|
||||
search = pagets__
|
||||
replace =
|
||||
}
|
||||
ifEmpty = default
|
||||
noTrimWrap = | backendlayout-||
|
||||
}
|
||||
// Layout
|
||||
50 = TEXT
|
||||
50 {
|
||||
field = layout
|
||||
noTrimWrap = | layout-||
|
||||
ifEmpty = default
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user