add project settings

This commit is contained in:
tomoyanonymous 2020-04-29 19:34:06 +09:00
parent 29440d172b
commit 1b856d6c94
4 changed files with 19 additions and 3 deletions

View File

@ -34,6 +34,11 @@ enableGitInfo = true
disableKinds = ['taxonomy', 'taxonomyTerm'] disableKinds = ['taxonomy', 'taxonomyTerm']
[params] [params]
# ogp
description = "松浦知也の授業資料のWebサイトです。"
images = ["site-feature-image.jpg"]
title = "松浦知也 授業資料 / teach.matsuuratomoya.com"
# (Optional, default true) Controls table of contents visibility on right side of pages. # (Optional, default true) Controls table of contents visibility on right side of pages.
# Start and end levels can be controlled with markup.tableOfContents setting. # Start and end levels can be controlled with markup.tableOfContents setting.
# You can also specify this parameter per page in front matter. # You can also specify this parameter per page in front matter.
@ -41,11 +46,11 @@ disableKinds = ['taxonomy', 'taxonomyTerm']
# (Optional, default none) Set the path to a logo for the book. If the logo is # (Optional, default none) Set the path to a logo for the book. If the logo is
# /static/logo.png then the path would be 'logo.png' # /static/logo.png then the path would be 'logo.png'
# BookLogo = 'logo.png' BookLogo = 'logo.svg'
# (Optional, default none) Set leaf bundle to render as side menu # (Optional, default none) Set leaf bundle to render as side menu
# When not specified file structure and weights will be used # When not specified file structure and weights will be used
BookMenuBundle = '/menu' # BookMenuBundle = '/menu'
# (Optional, default docs) Specify section of content to render as menu # (Optional, default docs) Specify section of content to render as menu
# You can also set value to "*" to render all sections to menu # You can also set value to "*" to render all sections to menu

View File

@ -0,0 +1,8 @@
{{range $elem_index, $elem_val := ($.Page.Resources.ByType "image")}}
<h2 id="page {{$elem_index}}">
<a href="{{.RelPermalink}}">
<img src="{{.RelPermalink}}" alt="">
</a>
</h2>
{{ end }}

3
static/logo.svg Normal file
View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="xMidYMid meet" viewBox="0 0 230 210" width="230" height="210"><defs><path d="M0 0L228.49 0L228.49 210.65L0 210.65L0 0Z" id="d7ekFdnha"></path><linearGradient id="gradiente9aSXxSqn" gradientUnits="userSpaceOnUse" x1="114.24" y1="0" x2="114.24" y2="210.65"><stop style="stop-color: #62c2c1;stop-opacity: 1" offset="0%"></stop><stop style="stop-color: #e0feff;stop-opacity: 1" offset="100%"></stop></linearGradient><path d="M6.04 5.32L106.04 205.32L6.04 205.32L6.04 5.32Z" id="a5UI588rQp"></path><path d="M111.73 205.32L11.73 5.32L111.73 5.32L111.73 205.32Z" id="e37nHKEpwf"></path><path d="M222.45 5.32L122.45 205.32L222.45 205.32L222.45 5.32Z" id="hZpr25sAC"></path><path d="M116.76 205.32L216.76 5.32L116.76 5.32L116.76 205.32Z" id="aWcJkyB3Z"></path></defs><g><g><g><use xlink:href="#d7ekFdnha" opacity="1" fill="url(#gradiente9aSXxSqn)"></use></g><g><g><use xlink:href="#a5UI588rQp" opacity="1" fill="#afec27" fill-opacity="0"></use><g><use xlink:href="#a5UI588rQp" opacity="1" fill-opacity="0" stroke="#ffffff" stroke-width="1" stroke-opacity="1"></use></g></g><g><use xlink:href="#e37nHKEpwf" opacity="1" fill="#afec27" fill-opacity="0"></use><g><use xlink:href="#e37nHKEpwf" opacity="1" fill-opacity="0" stroke="#ffffff" stroke-width="1" stroke-opacity="1"></use></g></g><g><use xlink:href="#hZpr25sAC" opacity="1" fill="#afec27" fill-opacity="0"></use><g><use xlink:href="#hZpr25sAC" opacity="1" fill-opacity="0" stroke="#ffffff" stroke-width="1" stroke-opacity="1"></use></g></g><g><use xlink:href="#aWcJkyB3Z" opacity="1" fill="#afec27" fill-opacity="0"></use><g><use xlink:href="#aWcJkyB3Z" opacity="1" fill-opacity="0" stroke="#ffffff" stroke-width="1" stroke-opacity="1"></use></g></g></g></g></g></svg>

After

Width:  |  Height:  |  Size: 1.9 KiB

@ -1 +1 @@
Subproject commit 61b13ba58338944a6d90fb44d0a342af91ef0727 Subproject commit 9c5fc12dd8fba31d6b5ced553d9748ec87dd9474