Skip to content

Commit

Permalink
Docs fixes
Browse files Browse the repository at this point in the history
- Open Graph
- Remove Getting Started from TOC for now
  • Loading branch information
btjanaka committed Jan 29, 2021
1 parent 463b115 commit 46def18
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 4 additions & 1 deletion docs/_templates/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
{# Open Graph #}
<meta property="og:title" content="{{ title }}" />
<meta property="og:type" content="website" />
<meta property="og:url" content="{{ theme_base_url + pagename }}" />
<meta property="og:url" content="{{
theme_base_url +
(pagename if pagename != 'index' else '')
}}" />
<meta property="og:image" content="{{ theme_base_url + '_static/imgs/open_graph.png' }}" />
<meta property="og:description" content="{{ description }}" />

Expand Down
1 change: 0 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
:caption: Usage
:hidden:
getting-started
tutorials
examples
```
Expand Down

0 comments on commit 46def18

Please sign in to comment.