artstorm/eleventy-plugin-seo

View on GitHub
src/Engines/BaseEngine.js

Summary

Maintainability
A
0 mins
Test Coverage
class BaseEngine {
  constructor(config, eleventyConfig) {
    this.config = config;
    this.eleventyConfig = eleventyConfig;

    this.seo(eleventyConfig);
    this.pageTitle(eleventyConfig);
    this.pageDescription(eleventyConfig);
    this.canonical(eleventyConfig);
    this.metaAuthor(eleventyConfig);
    this.metaRobots(eleventyConfig);

    this.openGraph(eleventyConfig);
    this.twitterCard(eleventyConfig);
  }
}

module.exports = BaseEngine;