Code Monkey home page Code Monkey logo

alkaline-distribution's Issues

Add metatag defaults for content types

For each content type:

  • Use a trimmed version of field_lead for the meta description for nodes that have that field.
  • Use the image field from field_image (which is actually a paragraph field) for the node's image tags.
  • Use the first image field from field_body when content type doesn't have a field_image

Configure teaser view mode for field_body

Problem: the built-in body field automatically generates a summary, which can be used for teasers and meta tags. field_body is a paragraph field that has an indeterminate number and order of text and picture elements.

Solution: preprocess field_body teaser view mode to grab the first image as the teaser image and the first text as teaser text. Basically, iterate over the paragraphs until a text field is found and again until an image field is found.

Add grid block

Grid block should have a reference field that allows it to add other blocks as children. It should also have a field that sets a maximum number of columns.

Add revision pruning

Need to be able to delete unused revisions that are older than a given duration.

Generate a home page node

I rarely, if ever, will use the frontpage view, so just create a home node:page and set it as the .

Add file pruning

Need to be able to identify and prune files that are not referenced by any content or config entity.

Let editors see /admin

The editor role currently gets a 403 when trying to access admin. Put a dashboard there!

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.