Skip to content

Commit

Permalink
explanatory comments in config and screenshots
Browse files Browse the repository at this point in the history
  • Loading branch information
edavidaja committed Jun 6, 2019
1 parent 99fb69c commit f3f37e9
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 12 deletions.
20 changes: 15 additions & 5 deletions exampleSite/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,22 @@ title = "docter"
theme = "docter"

[params]
name = "docter"
# the name of your project and a link back to the home page
home = "docter"
# A small snippet of text above the sidebar:
# subtitle = ""

author = "org name"
author_url= "https://github.com/edavidaja"

# Point readers to your repo and invite them to edit pages
repo_host = "Gitlab"
repo = "https://gitlab.com/edavidaja/docter"
logourl= ""
logoalt= ""
hosted_on= "netlify"
hosted_on_url= "https://www.netlify.com"

# Add a reference to a logo, which will appear in the top right
# logourl = ""
# logoalt = ""

# Mention your hosting provider
hosted_on = "hosting provider"
hosted_on_url= "#"
Binary file added images/screenshot.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/tn.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions layouts/partials/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
</p>

<p>
<a href="{{ .Site.Params.repo }}/edit/master/content/{{.File.Path}}"
>Edit this page</a
>
or <a href="{{.Site.Params.repo}}/issues">file an issue</a> on
<a
href="{{ .Site.Params.repo }}/edit/master/content/
{{ with.File }}{{ .Path }}{{ end }}"
>Edit this page</a> or <a href="{{.Site.Params.repo}}/issues">
file an issue</a> on
{{.Site.Params.repo_host}}.
</p>
</div>
Expand Down
4 changes: 2 additions & 2 deletions layouts/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<header role="banner">
<div class="wrap">
{{ if isset .Site.Params "logourl" }}
<img class="logo" src="{{.Site.BaseURL}}{{ .Site.Params.logourl }}" alt="{{ .Site.Params.logoalt }}">
<img class="logo" src="{{ .Site.BaseURL}}{{ .Site.Params.logourl }}" alt="{{ .Site.Params.logoalt }}">
{{ end }}
<h1 class="site-title"><a class="title-link" href="{{ .Site.BaseURL }}">{{ .Site.Params.name }}</a></h1>
<h1 class="site-title"><a class="title-link" href="{{ .Site.BaseURL }}">{{ .Site.Params.home }}</a></h1>
</div>
</header>
4 changes: 3 additions & 1 deletion layouts/partials/sidebar.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
<aside>
<p class="intro">{{ .Params.subtitle }}</p>
{{ if isset .Site.Params "subtitle"}}
<p class="intro">{{ .Site.Params.subtitle }}</p>
{{ end }}
<a class="skip-link visuallyhidden focusable" href="#main">Skip to Main Content</a>
<nav class="sidebar-nav" role="navigation">
<ul>
Expand Down

0 comments on commit f3f37e9

Please sign in to comment.