Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
suckless web
tantum.
Commits
7a21f491
Commit
7a21f491
authored
Mar 04, 2019
by
Barbarella1337
Browse files
Merge branch 'development' into feature/playground
parents
fb157954
8db8dac1
Changes
47
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
7a21f491
...
...
@@ -2,3 +2,9 @@
docs/_*
vendor
webcontent/*/
cache
node_modules
*-lock.json
*.css
.DS_Store
.htaccess
0 → 100644
View file @
7a21f491
RewriteEngine
On
RewriteCond
%{QUERY_STRING} !path=
RewriteCond
%{REQUEST_FILENAME} !-f
RewriteRule
^(.*)$ ?path=$1 [QSA,L]
cache/__Mustache_45edf89e96223291f211f7218b75ef14.php
0 → 100644
View file @
7a21f491
<?php
class
__Mustache_45edf89e96223291f211f7218b75ef14
extends
Mustache_Template
{
private
$lambdaHelper
;
public
function
renderInternal
(
Mustache_Context
$context
,
$indent
=
''
)
{
$this
->
lambdaHelper
=
new
Mustache_LambdaHelper
(
$this
->
mustache
,
$context
);
$buffer
=
''
;
$buffer
.
=
$indent
.
'<ul>
'
;
// 'children' section
$value
=
$context
->
find
(
'children'
);
$buffer
.
=
$this
->
section581ee18c92f5a631c9b44c7cb3afd0ba
(
$context
,
$indent
,
$value
);
$buffer
.
=
$indent
.
'</ul>
'
;
return
$buffer
;
}
private
function
section581ee18c92f5a631c9b44c7cb3afd0ba
(
Mustache_Context
$context
,
$indent
,
$value
)
{
$buffer
=
''
;
if
(
!
is_string
(
$value
)
&&
is_callable
(
$value
))
{
$source
=
'
<li>
<a href="{{path}}">{{name}}</a>
{{> submenu}}
</li>
'
;
$result
=
call_user_func
(
$value
,
$source
,
$this
->
lambdaHelper
);
if
(
strpos
(
$result
,
'{{'
)
===
false
)
{
$buffer
.
=
$result
;
}
else
{
$buffer
.
=
$this
->
mustache
->
loadLambda
((
string
)
$result
)
->
renderInternal
(
$context
);
}
}
elseif
(
!
empty
(
$value
))
{
$values
=
$this
->
isIterable
(
$value
)
?
$value
:
array
(
$value
);
foreach
(
$values
as
$value
)
{
$context
->
push
(
$value
);
$buffer
.
=
$indent
.
' <li>
'
;
$buffer
.
=
$indent
.
' <a href="'
;
$value
=
$this
->
resolveValue
(
$context
->
find
(
'path'
),
$context
);
$buffer
.
=
htmlspecialchars
(
$value
,
2
,
'UTF-8'
);
$buffer
.
=
'">'
;
$value
=
$this
->
resolveValue
(
$context
->
find
(
'name'
),
$context
);
$buffer
.
=
htmlspecialchars
(
$value
,
2
,
'UTF-8'
);
$buffer
.
=
'</a>
'
;
if
(
$partial
=
$this
->
mustache
->
loadPartial
(
'submenu'
))
{
$buffer
.
=
$partial
->
renderInternal
(
$context
,
$indent
.
' '
);
}
$buffer
.
=
$indent
.
' </li>
'
;
$context
->
pop
();
}
}
return
$buffer
;
}
}
cache/__Mustache_7cffdb0161f8abf60f05ada051d1a1c6.php
0 → 100644
View file @
7a21f491
<?php
class
__Mustache_7cffdb0161f8abf60f05ada051d1a1c6
extends
Mustache_Template
{
public
function
renderInternal
(
Mustache_Context
$context
,
$indent
=
''
)
{
$buffer
=
''
;
$buffer
.
=
$indent
.
'<!DOCTYPE html>
'
;
$buffer
.
=
$indent
.
'<html lang=de>
'
;
$buffer
.
=
$indent
.
'<head>
'
;
$buffer
.
=
$indent
.
' <meta charset=UTF-8>
'
;
$buffer
.
=
$indent
.
' <title>'
;
$value
=
$this
->
resolveValue
(
$context
->
find
(
'title'
),
$context
);
$buffer
.
=
htmlspecialchars
(
$value
,
2
,
'UTF-8'
);
$buffer
.
=
'</title>
'
;
$buffer
.
=
$indent
.
'</head>
'
;
$buffer
.
=
$indent
.
'<body>
'
;
$buffer
.
=
$indent
.
'
'
;
$buffer
.
=
$indent
.
'wdwdwd
'
;
$buffer
.
=
$indent
.
'
'
;
$buffer
.
=
$indent
.
'</body>
'
;
$buffer
.
=
$indent
.
'</html>
'
;
return
$buffer
;
}
}
cache/__Mustache_8791970baacaaefa7420a572edccb6e0.php
0 → 100644
View file @
7a21f491
<?php
class
__Mustache_8791970baacaaefa7420a572edccb6e0
extends
Mustache_Template
{
private
$lambdaHelper
;
public
function
renderInternal
(
Mustache_Context
$context
,
$indent
=
''
)
{
$this
->
lambdaHelper
=
new
Mustache_LambdaHelper
(
$this
->
mustache
,
$context
);
$buffer
=
''
;
$buffer
.
=
$indent
.
'<!DOCTYPE html>
'
;
$buffer
.
=
$indent
.
'<html lang=de>
'
;
$buffer
.
=
$indent
.
'<head>
'
;
$buffer
.
=
$indent
.
' <meta charset=UTF-8>
'
;
$buffer
.
=
$indent
.
' <title>'
;
$value
=
$this
->
resolveValue
(
$context
->
find
(
'title'
),
$context
);
$buffer
.
=
htmlspecialchars
(
$value
,
2
,
'UTF-8'
);
$buffer
.
=
'</title>
'
;
$buffer
.
=
$indent
.
'</head>
'
;
$buffer
.
=
$indent
.
'<body>
'
;
$buffer
.
=
$indent
.
'
'
;
$buffer
.
=
$indent
.
'<header>
'
;
$buffer
.
=
$indent
.
' <nav>
'
;
$buffer
.
=
$indent
.
' <ul>
'
;
// 'menu' section
$value
=
$context
->
find
(
'menu'
);
$buffer
.
=
$this
->
sectionFfdd72ac72f5b7005fb308476c89e8db
(
$context
,
$indent
,
$value
);
$buffer
.
=
$indent
.
' </ul>
'
;
$buffer
.
=
$indent
.
' </nav>
'
;
$buffer
.
=
$indent
.
'</header>
'
;
$buffer
.
=
$indent
.
'
'
;
$buffer
.
=
$indent
.
'<footer>
'
;
$buffer
.
=
$indent
.
' <nav>
'
;
$buffer
.
=
$indent
.
' <ul>
'
;
// 'sitemap' section
$value
=
$context
->
find
(
'sitemap'
);
$buffer
.
=
$this
->
sectionD5926472c6117cb90404bafeb98245c3
(
$context
,
$indent
,
$value
);
$buffer
.
=
$indent
.
' </ul>
'
;
$buffer
.
=
$indent
.
' </nav>
'
;
$buffer
.
=
$indent
.
'</footer>
'
;
$buffer
.
=
$indent
.
'</body>
'
;
$buffer
.
=
$indent
.
'</html>
'
;
return
$buffer
;
}
private
function
sectionFfdd72ac72f5b7005fb308476c89e8db
(
Mustache_Context
$context
,
$indent
,
$value
)
{
$buffer
=
''
;
if
(
!
is_string
(
$value
)
&&
is_callable
(
$value
))
{
$source
=
'
<li>
<a href="{{path}}">{{name}}</a>
{{> submenu }}
</li>
'
;
$result
=
call_user_func
(
$value
,
$source
,
$this
->
lambdaHelper
);
if
(
strpos
(
$result
,
'{{'
)
===
false
)
{
$buffer
.
=
$result
;
}
else
{
$buffer
.
=
$this
->
mustache
->
loadLambda
((
string
)
$result
)
->
renderInternal
(
$context
);
}
}
elseif
(
!
empty
(
$value
))
{
$values
=
$this
->
isIterable
(
$value
)
?
$value
:
array
(
$value
);
foreach
(
$values
as
$value
)
{
$context
->
push
(
$value
);
$buffer
.
=
$indent
.
' <li>
'
;
$buffer
.
=
$indent
.
' <a href="'
;
$value
=
$this
->
resolveValue
(
$context
->
find
(
'path'
),
$context
);
$buffer
.
=
htmlspecialchars
(
$value
,
2
,
'UTF-8'
);
$buffer
.
=
'">'
;
$value
=
$this
->
resolveValue
(
$context
->
find
(
'name'
),
$context
);
$buffer
.
=
htmlspecialchars
(
$value
,
2
,
'UTF-8'
);
$buffer
.
=
'</a>
'
;
if
(
$partial
=
$this
->
mustache
->
loadPartial
(
'submenu'
))
{
$buffer
.
=
$partial
->
renderInternal
(
$context
,
$indent
.
' '
);
}
$buffer
.
=
$indent
.
' </li>
'
;
$context
->
pop
();
}
}
return
$buffer
;
}
private
function
sectionD5926472c6117cb90404bafeb98245c3
(
Mustache_Context
$context
,
$indent
,
$value
)
{
$buffer
=
''
;
if
(
!
is_string
(
$value
)
&&
is_callable
(
$value
))
{
$source
=
'
<li><a href="{{path}}">{{name}}</a></li>
'
;
$result
=
call_user_func
(
$value
,
$source
,
$this
->
lambdaHelper
);
if
(
strpos
(
$result
,
'{{'
)
===
false
)
{
$buffer
.
=
$result
;
}
else
{
$buffer
.
=
$this
->
mustache
->
loadLambda
((
string
)
$result
)
->
renderInternal
(
$context
);
}
}
elseif
(
!
empty
(
$value
))
{
$values
=
$this
->
isIterable
(
$value
)
?
$value
:
array
(
$value
);
foreach
(
$values
as
$value
)
{
$context
->
push
(
$value
);
$buffer
.
=
$indent
.
' <li><a href="'
;
$value
=
$this
->
resolveValue
(
$context
->
find
(
'path'
),
$context
);
$buffer
.
=
htmlspecialchars
(
$value
,
2
,
'UTF-8'
);
$buffer
.
=
'">'
;
$value
=
$this
->
resolveValue
(
$context
->
find
(
'name'
),
$context
);
$buffer
.
=
htmlspecialchars
(
$value
,
2
,
'UTF-8'
);
$buffer
.
=
'</a></li>
'
;
$context
->
pop
();
}
}
return
$buffer
;
}
}
cache/__Mustache_a7d630649b15f4f6f483f32c984031fa.php
0 → 100644
View file @
7a21f491
<?php
class
__Mustache_a7d630649b15f4f6f483f32c984031fa
extends
Mustache_Template
{
public
function
renderInternal
(
Mustache_Context
$context
,
$indent
=
''
)
{
$buffer
=
''
;
return
$buffer
;
}
}
cache/__Mustache_dd84250a69c624704df249ef50fd743d.php
0 → 100644
View file @
7a21f491
<?php
class
__Mustache_dd84250a69c624704df249ef50fd743d
extends
Mustache_Template
{
private
$lambdaHelper
;
public
function
renderInternal
(
Mustache_Context
$context
,
$indent
=
''
)
{
$this
->
lambdaHelper
=
new
Mustache_LambdaHelper
(
$this
->
mustache
,
$context
);
$buffer
=
''
;
$buffer
.
=
$indent
.
'<!DOCTYPE html>
'
;
$buffer
.
=
$indent
.
'<html lang=de>
'
;
$buffer
.
=
$indent
.
'<head>
'
;
$buffer
.
=
$indent
.
' <meta charset=UTF-8>
'
;
$buffer
.
=
$indent
.
' <title>'
;
$value
=
$this
->
resolveValue
(
$context
->
find
(
'title'
),
$context
);
$buffer
.
=
htmlspecialchars
(
$value
,
2
,
'UTF-8'
);
$buffer
.
=
'</title>
'
;
$buffer
.
=
$indent
.
'</head>
'
;
$buffer
.
=
$indent
.
'<body>
'
;
$buffer
.
=
$indent
.
'
'
;
$buffer
.
=
$indent
.
'<ul>
'
;
// 'menu' section
$value
=
$context
->
find
(
'menu'
);
$buffer
.
=
$this
->
sectionF028a42b7d14760d664f5299f4dd85d4
(
$context
,
$indent
,
$value
);
$buffer
.
=
$indent
.
'</ul>
'
;
$buffer
.
=
$indent
.
'wdwdwd
'
;
$buffer
.
=
$indent
.
'
'
;
$buffer
.
=
$indent
.
'</body>
'
;
$buffer
.
=
$indent
.
'</html>
'
;
return
$buffer
;
}
private
function
sectionF028a42b7d14760d664f5299f4dd85d4
(
Mustache_Context
$context
,
$indent
,
$value
)
{
$buffer
=
''
;
if
(
!
is_string
(
$value
)
&&
is_callable
(
$value
))
{
$source
=
'
<li>
<a href="{{path}}">{{name}}</a>
{{> submenu }}
</li>
'
;
$result
=
call_user_func
(
$value
,
$source
,
$this
->
lambdaHelper
);
if
(
strpos
(
$result
,
'{{'
)
===
false
)
{
$buffer
.
=
$result
;
}
else
{
$buffer
.
=
$this
->
mustache
->
loadLambda
((
string
)
$result
)
->
renderInternal
(
$context
);
}
}
elseif
(
!
empty
(
$value
))
{
$values
=
$this
->
isIterable
(
$value
)
?
$value
:
array
(
$value
);
foreach
(
$values
as
$value
)
{
$context
->
push
(
$value
);
$buffer
.
=
$indent
.
' <li>
'
;
$buffer
.
=
$indent
.
' <a href="'
;
$value
=
$this
->
resolveValue
(
$context
->
find
(
'path'
),
$context
);
$buffer
.
=
htmlspecialchars
(
$value
,
2
,
'UTF-8'
);
$buffer
.
=
'">'
;
$value
=
$this
->
resolveValue
(
$context
->
find
(
'name'
),
$context
);
$buffer
.
=
htmlspecialchars
(
$value
,
2
,
'UTF-8'
);
$buffer
.
=
'</a>
'
;
if
(
$partial
=
$this
->
mustache
->
loadPartial
(
'submenu'
))
{
$buffer
.
=
$partial
->
renderInternal
(
$context
,
$indent
.
' '
);
}
$buffer
.
=
$indent
.
' </li>
'
;
$context
->
pop
();
}
}
return
$buffer
;
}
}
cache/__Mustache_e8bfeaa2b2e4df69484192151699ae8c.php
0 → 100644
View file @
7a21f491
<?php
class
__Mustache_e8bfeaa2b2e4df69484192151699ae8c
extends
Mustache_Template
{
public
function
renderInternal
(
Mustache_Context
$context
,
$indent
=
''
)
{
$buffer
=
''
;
$buffer
.
=
$indent
.
'<!DOCTYPE html>
'
;
$buffer
.
=
$indent
.
'<html lang=de>
'
;
$buffer
.
=
$indent
.
'<head>
'
;
$buffer
.
=
$indent
.
' <meta charset=UTF-8>
'
;
$buffer
.
=
$indent
.
' <title>Title</title>
'
;
$buffer
.
=
$indent
.
'</head>
'
;
$buffer
.
=
$indent
.
'<body>
'
;
$buffer
.
=
$indent
.
'
'
;
$buffer
.
=
$indent
.
'wdwdwd
'
;
$buffer
.
=
$indent
.
'
'
;
$buffer
.
=
$indent
.
'</body>
'
;
$buffer
.
=
$indent
.
'</html>
'
;
return
$buffer
;
}
}
cache/__Mustache_f43c465d56b36fa080691b6976f6f411.php
0 → 100644
View file @
7a21f491
<?php
class
__Mustache_f43c465d56b36fa080691b6976f6f411
extends
Mustache_Template
{
private
$lambdaHelper
;
public
function
renderInternal
(
Mustache_Context
$context
,
$indent
=
''
)
{
$this
->
lambdaHelper
=
new
Mustache_LambdaHelper
(
$this
->
mustache
,
$context
);
$buffer
=
''
;
$buffer
.
=
$indent
.
'<!DOCTYPE html>
'
;
$buffer
.
=
$indent
.
'<html lang=de>
'
;
$buffer
.
=
$indent
.
'<head>
'
;
$buffer
.
=
$indent
.
' <meta charset=UTF-8>
'
;
$buffer
.
=
$indent
.
' <title>'
;
$value
=
$this
->
resolveValue
(
$context
->
find
(
'title'
),
$context
);
$buffer
.
=
htmlspecialchars
(
$value
,
2
,
'UTF-8'
);
$buffer
.
=
'</title>
'
;
$buffer
.
=
$indent
.
'</head>
'
;
$buffer
.
=
$indent
.
'<body>
'
;
$buffer
.
=
$indent
.
'
'
;
$buffer
.
=
$indent
.
'<header>
'
;
$buffer
.
=
$indent
.
' <nav>
'
;
$buffer
.
=
$indent
.
' <ul>
'
;
// 'menu' section
$value
=
$context
->
find
(
'menu'
);
$buffer
.
=
$this
->
sectionFfdd72ac72f5b7005fb308476c89e8db
(
$context
,
$indent
,
$value
);
$buffer
.
=
$indent
.
' </ul>
'
;
$buffer
.
=
$indent
.
' </nav>
'
;
$buffer
.
=
$indent
.
'</header>
'
;
$buffer
.
=
$indent
.
'
'
;
$buffer
.
=
$indent
.
'<main>
'
;
$buffer
.
=
$indent
.
' Content
'
;
if
(
$partial
=
$this
->
mustache
->
loadPartial
(
'content'
))
{
$buffer
.
=
$partial
->
renderInternal
(
$context
,
$indent
.
' '
);
}
$buffer
.
=
$indent
.
'</main>
'
;
$buffer
.
=
$indent
.
'
'
;
$buffer
.
=
$indent
.
'<footer>
'
;
$buffer
.
=
$indent
.
' <nav>
'
;
$buffer
.
=
$indent
.
' <ul>
'
;
// 'sitemap' section
$value
=
$context
->
find
(
'sitemap'
);
$buffer
.
=
$this
->
sectionD5926472c6117cb90404bafeb98245c3
(
$context
,
$indent
,
$value
);
$buffer
.
=
$indent
.
' </ul>
'
;
$buffer
.
=
$indent
.
' </nav>
'
;
$buffer
.
=
$indent
.
'</footer>
'
;
$buffer
.
=
$indent
.
'</body>
'
;
$buffer
.
=
$indent
.
'</html>
'
;
return
$buffer
;
}
private
function
sectionFfdd72ac72f5b7005fb308476c89e8db
(
Mustache_Context
$context
,
$indent
,
$value
)
{
$buffer
=
''
;
if
(
!
is_string
(
$value
)
&&
is_callable
(
$value
))
{
$source
=
'
<li>
<a href="{{path}}">{{name}}</a>
{{> submenu }}
</li>
'
;
$result
=
call_user_func
(
$value
,
$source
,
$this
->
lambdaHelper
);
if
(
strpos
(
$result
,
'{{'
)
===
false
)
{
$buffer
.
=
$result
;
}
else
{
$buffer
.
=
$this
->
mustache
->
loadLambda
((
string
)
$result
)
->
renderInternal
(
$context
);
}
}
elseif
(
!
empty
(
$value
))
{
$values
=
$this
->
isIterable
(
$value
)
?
$value
:
array
(
$value
);
foreach
(
$values
as
$value
)
{
$context
->
push
(
$value
);
$buffer
.
=
$indent
.
' <li>
'
;
$buffer
.
=
$indent
.
' <a href="'
;
$value
=
$this
->
resolveValue
(
$context
->
find
(
'path'
),
$context
);
$buffer
.
=
htmlspecialchars
(
$value
,
2
,
'UTF-8'
);
$buffer
.
=
'">'
;
$value
=
$this
->
resolveValue
(
$context
->
find
(
'name'
),
$context
);
$buffer
.
=
htmlspecialchars
(
$value
,
2
,
'UTF-8'
);
$buffer
.
=
'</a>
'
;
if
(
$partial
=
$this
->
mustache
->
loadPartial
(
'submenu'
))
{
$buffer
.
=
$partial
->
renderInternal
(
$context
,
$indent
.
' '
);
}
$buffer
.
=
$indent
.
' </li>
'
;
$context
->
pop
();
}
}
return
$buffer
;
}
private
function
sectionD5926472c6117cb90404bafeb98245c3
(
Mustache_Context
$context
,
$indent
,
$value
)
{
$buffer
=
''
;
if
(
!
is_string
(
$value
)
&&
is_callable
(
$value
))
{
$source
=
'
<li><a href="{{path}}">{{name}}</a></li>
'
;
$result
=
call_user_func
(
$value
,
$source
,
$this
->
lambdaHelper
);
if
(
strpos
(
$result
,
'{{'
)
===
false
)
{
$buffer
.
=
$result
;
}
else
{
$buffer
.
=
$this
->
mustache
->
loadLambda
((
string
)
$result
)
->
renderInternal
(
$context
);
}
}
elseif
(
!
empty
(
$value
))
{
$values
=
$this
->
isIterable
(
$value
)
?
$value
:
array
(
$value
);
foreach
(
$values
as
$value
)
{
$context
->
push
(
$value
);
$buffer
.
=
$indent
.
' <li><a href="'
;
$value
=
$this
->
resolveValue
(
$context
->
find
(
'path'
),
$context
);
$buffer
.
=
htmlspecialchars
(
$value
,
2
,
'UTF-8'
);
$buffer
.
=
'">'
;
$value
=
$this
->
resolveValue
(
$context
->
find
(
'name'
),
$context
);
$buffer
.
=
htmlspecialchars
(
$value
,
2
,
'UTF-8'
);
$buffer
.
=
'</a></li>
'
;
$context
->
pop
();
}