Merge pull request #2 from paskal/master
Set defaults for unset variables
| | |
| | | |
| | | ##### Use your own video |
| | | |
| | | Add your video to the `static` folder and change `file` to the location of your video accordingly. Make sure you delete `youtubeId` or comment it out. |
| | | Add your video to the `static` folder and change `file` to the location of your video accordingly. Make sure you delete `youtubeId` or comment it out. |
| | | |
| | | ```toml |
| | | [[params.visual.image]] |
| | |
| | | |
| | | ##### Use a YouTube video |
| | | |
| | | Get the ID of the YouTube video and add it to `youtubeId`. Make sure you delete `file` or comment it out. |
| | | Get the ID of the YouTube video and add it to `youtubeId`. Make sure you delete `file` or comment it out. |
| | | |
| | | ```toml |
| | | [[params.visual.image]] |
| | |
| | | [[params.links]] |
| | | [params.links.list1] |
| | | heading = "Connect" |
| | | |
| | | |
| | | [[params.links.list1.link]] |
| | | text = "Blog" |
| | | url = "#" |
| | | |
| | | |
| | | [[params.links.list1.link]] |
| | | text = "Email" |
| | | url = "#" |
| | | |
| | | |
| | | [[params.links.list1.link]] |
| | | text = "Newsletter" |
| | | url = "#" |
| | |
| | | googleAnalytics = "" |
| | | |
| | | # Copyright |
| | | copyright = "©2017 Your Name" |
| | | copyright = "©2018 Your Name" |
| | | |
| | | [params] |
| | | |
| | |
| | | <!DOCTYPE html> |
| | | <html lang="{{ .Site.LanguageCode }}"> |
| | | <html lang="{{ default .Site.LanguageCode "en-US" }}"> |
| | | |
| | | <head> |
| | | {{ partial "head" . }} |
| | |
| | | |
| | | <!-- Image --> |
| | | {{ if .Site.Params.visual.image.enable }} |
| | | |
| | | |
| | | <div class="split-image"> |
| | | |
| | | </div> |
| | |
| | | {{ if .Site.Params.content.bio }} |
| | | <div class="split-bio"> |
| | | <p>{{ .Site.Params.content.bio | markdownify }}</p> |
| | | </div> |
| | | {{ end }} |
| | |
| | | |
| | | {{ range $key, $value := .Site.Params.links }} |
| | | {{ range $key, $list := $value }} |
| | | |
| | | |
| | | {{ if $list.link }} |
| | | <div class="split-list"> |
| | | <h3>{{ $list.heading }}</h3> |