0.0.2 • Published 4 years ago

xcode-asset-catalog-generator v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Xcode Asset Catalog Generator

Xcode asset catalog generator for game development. Builds the asset catalog from source image assets.

It creates optimized sizes for iPad, iPhone, AppleTV and Mac.

Features

Checksum

9-1 (or what was the name?) slicing

Run the script:

# Builds the assets to a target folder for dev purposes.
npm run dev

# Builds the assets to the production folder in Xcode.
npm run prod

# Check code styling.
npm run check

About Eleventy Plugin SEO

An Eleventy plugin to generate meta tags for improved SEO using the Liquid or Nujucks templating engines.

GitHub Actions GitHub Actions code style: prettier Test Coverage Maintainability

I wrote this plugin when moving from Jekyll to Eleventy to get the functionality I previously had with Jekyll SEO Tag.

Features

  • Page title with styling options and pagination.
  • Page description.
  • Canonical URL.
  • Robots meta directive for pagination.
  • Author meta directive.
  • Open Graph markup.
  • Twitter Card markup.
  • Supports Liquid and Nunjucks.

Installation

Available on npm:

npm install eleventy-plugin-seo --save

Add the plugin to .eleventy.js:

const pluginSEO = require("eleventy-plugin-seo");

module.exports =  function(eleventyConfig) {
  eleventyConfig.addPlugin(pluginSEO, require("./src/_data/seo.json"));
};

Usage

Add the following right before </head> in your site's template(s):

Liquid:

{% seo %}

Nunjucks:

{% seo "" %}

Done!

Front Matter

The plugin uses these front matters when available:

---
title:   Some page title
excerpt: Some page excerpt
author:  Jane Doe
image:   foo.jpg
ogtype:  website
---

ogtype defaults to article, set it to website or something more appropriate via front matter where required.

Config

Pass in an object with config options to the plugin:

0.0.2

4 years ago

0.0.1

4 years ago