Coder Social home page Coder Social logo

Comments (5)

mattstauffer avatar mattstauffer commented on August 29, 2024

@ronlobo I've only read up on AMP a little bit. What would need to change about Jigsaw in order for this to happen?

Thanks!

from jigsaw.

mattstauffer avatar mattstauffer commented on August 29, 2024

@ronlobo Ping--any thoughts here? Will close if I don't hear back. Thanks!

from jigsaw.

ronlobo avatar ronlobo commented on August 29, 2024

@mattstauffer sry for the late reply. Actually this is totally up to how users setup their blade templates, thus closing it.

from jigsaw.

m1guelpf avatar m1guelpf commented on August 29, 2024

I've started researching on AMP again, to make it work you'd need to render two views for each content (a _layouts.post and a _layouts.amp). Is this currently possible?

from jigsaw.

damiani avatar damiani commented on August 29, 2024

@m1guelpf Yes, you can do this for collection items. Check out the "Collection items with multiple parent templates" section of the docs; your markdown file would start with something like this:

---
extends:
  web: _layouts.post
  amp: _layouts.amp
section: content
---

from jigsaw.

Related Issues (20)

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.