💄 Make a sample demo of custom files, close #33
This commit is contained in:
parent
fb007e57e5
commit
dc66bc1a05
3
.gitignore
vendored
3
.gitignore
vendored
@ -12,6 +12,9 @@ exampleSite/content/**/
|
|||||||
# Exclude special files in data folder
|
# Exclude special files in data folder
|
||||||
!exampleSite/data
|
!exampleSite/data
|
||||||
|
|
||||||
|
# Exclude special files in layouts folder
|
||||||
|
!exampleSite/layouts
|
||||||
|
|
||||||
# Exclude special files in static folder
|
# Exclude special files in static folder
|
||||||
!exampleSite/static
|
!exampleSite/static
|
||||||
|
|
||||||
|
3
exampleSite/layouts/partials/custom_footer.html
Normal file
3
exampleSite/layouts/partials/custom_footer.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<div class="custom-footer">
|
||||||
|
Website source code <a href="https://github.com/hugo-next/hugo-theme-next/tree/develop/exampleSite/layouts/partials/custom-footer.html" target="_blank">here</a>
|
||||||
|
</div>
|
3
exampleSite/layouts/partials/custom_sidebar.html
Normal file
3
exampleSite/layouts/partials/custom_sidebar.html
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
<div class="mydefined animated" itemprop="custom">
|
||||||
|
<span>支持自定义CSS和Sidebar布局啦💄💄💄</span>
|
||||||
|
</div>
|
Loading…
Reference in New Issue
Block a user