Git Product home page Git Product logo

answers-hitchhiker-theme's Introduction

Answers Hitchhiker Theme

A Jambo theme for building Answers experiences.

Additonal resources for integrating Answers can be found at https://hitchhikers.yext.com/.

Need help? Ask a question in the Hitchhiker's Community.

Getting Started

Prerequisites

  • Jambo, a static site generator, which can be installed with npm i jambo
  • An Answers experience configured at https://yext.com. This will provide the experienceKey and the apiKey

Creating an Answers site

Inside a new directory, initialize jambo with the theme:

npx jambo init --theme answers-hitchhiker-theme

Add a universal search page:

npx jambo page --name index --template universal-standard

Inside config/global_config.json, delete the "//" before "apiKey" and enter your apiKey. Do the same for the experienceKey inside config/locale_config.json. You can find examples inside test-site/config.

Build the site:

npx jambo build && grunt webpack

Finally, serve the site:

npx serve public

The site should now be available at http://localhost:5000.

Custom Jambo Commands

This theme makes the following commands available when Jambo imports this theme.

Vertical Command

Creates a vertical page of an Answers experience.

Example usage:

npx jambo vertical --name Locations --verticalKey locations --template vertical-standard

See jambo vertical --help for more info.

Card Command

Creates a new, custom card based on an existing card.

Example usage:

npx jambo card --name custom-location --templateCardFolder cards/location-standard

See jambo card --help for more info.

Direct Answer Card

Creates a new, custom direct answer card.

Example usage:

npx jambo directanswercard --name custom-directanswer --templateCardFolder directanswercards/allfields-standard

See jambo directanswercard --help for more info.

answers-hitchhiker-theme's People

Contributors

alexisgrow avatar oshi97 avatar cea2aj avatar tmeyer2115 avatar creotutar avatar yen-tt avatar nmanu1 avatar sawong99 avatar rosiegrant avatar nbramblett avatar cjiang2000 avatar nanhu95 avatar bryanreed avatar jballschneider avatar mattcbowman avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.