Socket
Book a DemoInstallSign in
Socket

hexo-tag-googleform

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hexo-tag-googleform

Google Form tag plugin for Hexo

latest
Source
npmnpm
Version
0.1.9
Version published
Maintainers
1
Created
Source

Introduction

Hexo tag plugin to embed Google Forms.

Inspired by https://github.com/arshad/Google-Form-Octopress

Note: This works with the current iteration of Google Forms. This article explains how to switch back via the Opt out of the new Forms section. I would like to support both versions at some point.

Installation

Run the following command in the root directory of hexo:

npm install hexo-tag-googleform --save

Copy the following files into your theme folders:

  • dist/google-form.css goes in source/css
  • dist/google-form.js goes in source/js

Add the following to the header:

<link rel="stylesheet" href="<%- config.root %>css/google-form.css" media="screen" type="text/css">

Add the following to the footer (or wherever your preferred javascript declarations are):

<!-- jQuery Form Plugin -->  
<script src="http://malsup.github.com/jquery.form.js"></script>  
<!-- jQuery Form Validation Plugin -->  
<script src="http://ajax.aspnetcdn.com/ajax/jquery.validate/1.13.1/jquery.validate.min.js"></script>  
<script src="<%- config.root %>js/google-form.js"></script>  

Usage

{% googleform formkey [message] %}

Example :

{% googleform dGVfY3MwcklDcjVrZERGYlRoZWdJQnc6MQ Thank you. I'll get back to you shortly %}

Keywords

hexo

FAQs

Package last updated on 21 May 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.