updating header links
This commit is contained in:
parent
dc69b0ae28
commit
f7d8dea0c6
@ -47,7 +47,7 @@
|
||||
},
|
||||
"project": {
|
||||
"view": "links",
|
||||
"label": "Community Project Boilerplate",
|
||||
"label": "Algolia for Jekyll",
|
||||
"logo": "",
|
||||
"caret": "",
|
||||
"url": "https://community.algolia.com/jekyll-algolia/",
|
||||
@ -56,12 +56,16 @@
|
||||
},
|
||||
"sideMenu": [
|
||||
{
|
||||
"name": "About",
|
||||
"url": "about.html"
|
||||
"name": "Getting started",
|
||||
"url": "getting-started.html"
|
||||
},
|
||||
{
|
||||
"name": "Support",
|
||||
"url": "support.html"
|
||||
"name": "Documentation",
|
||||
"url": "documentation.html"
|
||||
},
|
||||
{
|
||||
"name": "Examples",
|
||||
"url": "examples.html"
|
||||
},
|
||||
{
|
||||
"name": "Github",
|
||||
@ -71,12 +75,16 @@
|
||||
],
|
||||
"mobileMenu": [
|
||||
{
|
||||
"name": "About",
|
||||
"url": "about.html"
|
||||
"name": "Getting started",
|
||||
"url": "getting-started.html"
|
||||
},
|
||||
{
|
||||
"name": "Support",
|
||||
"url": "support.html"
|
||||
"name": "Docs",
|
||||
"url": "documentation.html"
|
||||
},
|
||||
{
|
||||
"name": "Examples",
|
||||
"url": "examples.html"
|
||||
},
|
||||
{
|
||||
"name": "Github",
|
||||
|
8
docs-src/src/getting-started.md
Normal file
8
docs-src/src/getting-started.md
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
title: Getting started with jekyll-algolia
|
||||
layout: content-with-menu.pug
|
||||
---
|
||||
|
||||
# Getting started
|
||||
|
||||
Hello
|
@ -5,4 +5,4 @@ layout: single-column.pug
|
||||
|
||||
# Homepage
|
||||
|
||||
Hello you
|
||||
Hello you!
|
||||
|
@ -1 +1,34 @@
|
||||
div !{header}
|
||||
- var long_desc = "Jekyll plugin to automatically index your content on Algolia."
|
||||
- var project = "Algolia for Jekyll"
|
||||
- var image = "https://res.cloudinary.com/hilnmyskv/image/upload/v1502375309/InstantSearch-React-OG_zbf1tb.png"
|
||||
- var url = "https://community.algolia.com/jekyll-algolia/"
|
||||
- var project_desc = project + " - " + description
|
||||
- var short_desc = "Search your Jekyll content with Algolia"
|
||||
|
||||
base(href=publicPath)
|
||||
meta(content='IE=edge', http-equiv='X-UA-Compatible')
|
||||
meta(charset='utf-8')
|
||||
meta(content='width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no', name='viewport')
|
||||
meta(name='ROBOTS', content='NOINDEX, NOFOLLOW')
|
||||
link(rel='icon', href="assets/images/favicon.png")
|
||||
meta(content='IE=edge,chrome=1', http-equiv='X-UA-Compatible')
|
||||
meta(content=long_desc, name='description')
|
||||
meta(content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0', name='viewport')
|
||||
// Twitter card
|
||||
meta(content='summary_large_image', name='twitter:card')
|
||||
meta(content=url, name='twitter:site')
|
||||
meta(content='Algolia', name='twitter:creator')
|
||||
meta(content=project, name='twitter:title')
|
||||
meta(content=short_desc, name='twitter:description')
|
||||
meta(content=image, name='twitter:image')
|
||||
// OG meta
|
||||
meta(content=url, property='og:url')
|
||||
meta(content=project, property='og:title')
|
||||
meta(content=image, property='og:image')
|
||||
meta(content='website', property='og:type')
|
||||
meta(content=short_desc, property='og:description')
|
||||
meta(content=project, property='og:site_name')
|
||||
|
||||
title #{project} | #{short_desc}
|
||||
link(rel="stylesheet", href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css")
|
||||
link(rel='stylesheet', href="stylesheets/index.css")
|
||||
|
@ -1,34 +1,14 @@
|
||||
- var long_desc = "Long desc."
|
||||
- var project = "Community Project Boilerplate"
|
||||
- var image = "https://res.cloudinary.com/hilnmyskv/image/upload/v1502375309/InstantSearch-React-OG_zbf1tb.png"
|
||||
- var url = "https://community.algolia.com/jekyll-algolia/"
|
||||
- var project_desc = project + " - " + description
|
||||
- var short_desc = "⚡ Short desc"
|
||||
doctype html
|
||||
html(lang="en")
|
||||
head
|
||||
include ./header.pug
|
||||
|
||||
base(href=publicPath)
|
||||
meta(content='IE=edge', http-equiv='X-UA-Compatible')
|
||||
meta(charset='utf-8')
|
||||
meta(content='width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no', name='viewport')
|
||||
meta(name='ROBOTS', content='NOINDEX, NOFOLLOW')
|
||||
link(rel='icon', href="assets/images/favicon.png")
|
||||
meta(content='IE=edge,chrome=1', http-equiv='X-UA-Compatible')
|
||||
meta(content=long_desc, name='description')
|
||||
meta(content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0', name='viewport')
|
||||
// / Twitter card
|
||||
meta(content='summary_large_image', name='twitter:card')
|
||||
meta(content=url, name='twitter:site')
|
||||
meta(content='Algolia', name='twitter:creator')
|
||||
meta(content=project, name='twitter:title')
|
||||
meta(content=short_desc, name='twitter:description')
|
||||
meta(content=image, name='twitter:image')
|
||||
// / OG meta
|
||||
meta(content=url, property='og:url')
|
||||
meta(content=project, property='og:title')
|
||||
meta(content=image, property='og:image')
|
||||
meta(content='website', property='og:type')
|
||||
meta(content=short_desc, property='og:description')
|
||||
meta(content=project, property='og:site_name')
|
||||
body
|
||||
div !{header}
|
||||
block body
|
||||
|
||||
title #{project} | #{short_desc}
|
||||
link(rel="stylesheet", href="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.css")
|
||||
link(rel='stylesheet', href="stylesheets/index.css")
|
||||
include ./footer.pug
|
||||
|
||||
script(src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js")
|
||||
script(src=webpack.assets['js/common.js'])
|
||||
script(src=webpack.assets['js/main.js'])
|
||||
|
10
docs-src/src/layouts/content-with-menu.pug
Normal file
10
docs-src/src/layouts/content-with-menu.pug
Normal file
@ -0,0 +1,10 @@
|
||||
extends ./common/meta.pug
|
||||
|
||||
block body
|
||||
.bg-red.h5 test!!!
|
||||
|
||||
|
||||
// block content
|
||||
// !=contents
|
||||
// .bg-red
|
||||
// h2=title
|
@ -1,14 +1,4 @@
|
||||
doctype html
|
||||
html(lang="en")
|
||||
head
|
||||
include ./common/meta.pug
|
||||
body
|
||||
include ./common/header.pug
|
||||
//- include ./common/hero.pug
|
||||
div
|
||||
block content
|
||||
.content!=contents
|
||||
//- include ./common/footer.pug
|
||||
script(src="https://cdn.jsdelivr.net/docsearch.js/2/docsearch.min.js")
|
||||
script(src=webpack.assets['js/common.js'])
|
||||
script(src=webpack.assets['js/main.js'])
|
||||
extends ./common/meta.pug
|
||||
|
||||
block body
|
||||
.content!=contents
|
||||
|
@ -1,7 +1,7 @@
|
||||
@charset 'utf-8'
|
||||
|
||||
@import 'node_modules/algolia-frontend-components/dist/_communityHeader'
|
||||
@import 'partials/bootstrap'
|
||||
// @import 'partials/bootstrap'
|
||||
@import 'node_modules/algolia-aerial/src/stylesheet/aerial'
|
||||
|
||||
@import 'modules/base'
|
||||
|
Loading…
x
Reference in New Issue
Block a user