Giter Site home page Giter Site logo

salsa-metada's Introduction

Salsa-Metada

Script to make give Salsa ( http://www.salsalabs.com/ ) pages dynamic metadata.

Since Salsa doesn't natively populate metadata (title, OG tags, etc), one must manually edit your template to include such things using Salsascript. Drop the code into the very top of your template.

Insert the following code in your various metadata or wherever you like:

Page Title

Page Description

Page URL

Note: Since Salsa doesn't provide any default fields for page descriptions (other than those likely to have HTML content in them), these are set to (hopefully) rarely used fields: Donate: Custom HTML Action: Footer Signup: Text above submit button

Here's how you can set up meta tags using the code above. Note that in this example, it will look for a share image with the same name as the page key. So if you create a page with a key of 8812, name your share image 8812.jpg and then upload it to the site's back end.

[UPDATE THE BASE URL TO MATCH YOUR CLIENT'S PATH]

salsa-metada's People

Contributors

asherlc avatar

Stargazers

 avatar

Watchers

 avatar  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.