Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Зуев Егор
/
wiki.dev
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Authored by
Dan Brown
2016-10-30 11:44:31 +0000
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Commit
c4eed37d8e20dbf235d54d00f5676288cd5481f6
c4eed37d
1 parent
8b43b910
Added custom head content into public pages
Closes #211
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
1 deletions
config/setting-defaults.php
resources/views/base.blade.php
resources/views/public.blade.php
config/setting-defaults.php
View file @
c4eed37
...
...
@@ -9,6 +9,7 @@ return [
'app-editor'
=>
'wysiwyg'
,
'app-color'
=>
'#0288D1'
,
'app-color-light'
=>
'rgba(21, 101, 192, 0.15)'
,
'app-custom-head'
=>
false
,
'registration-enabled'
=>
false
,
];
\ No newline at end of file
...
...
resources/views/base.blade.php
View file @
c4eed37
...
...
@@ -23,7 +23,7 @@
@include('partials/custom-styles')
<!-- Custom user content -->
@if(setting('app-custom-head'
, false
))
@if(setting('app-custom-head'))
{!! setting('app-custom-head') !!}
@endif
</head>
...
...
resources/views/public.blade.php
View file @
c4eed37
...
...
@@ -17,6 +17,11 @@
<!-- Scripts -->
<script
src=
"{{ baseUrl("
/
libs
/
jquery
/
jquery
.
min
.
js
?
version=
2.1.4")
}}"
></script>
@include('partials/custom-styles')
<!-- Custom user content -->
@if(setting('app-custom-head'))
{!! setting('app-custom-head') !!}
@endif
</head>
<body
class=
"@yield('body-class')"
ng-app=
"bookStack"
>
...
...
Please
register
or
sign in
to post a comment