Page meta

Filename:

people

Extension:

blade.php

Path:

/people

BASE URL:

http://jigsaw-test.dev

URL:

http://jigsaw-test.dev/people

Global Variable:

some global variable

People

Demonstrates:

  • Using collections without templates
  • Defining multiple URL paths ('web' and 'api' in this example) in collections.php
  • Building a simple API that returns JSON

662 Adam Wathan

Filename (meta): adam-wathan

Path (WEB): /people/web/2016-05-16/adam_wathan

Path (API): /people/api.test/Adam Wathan/2016-05-16/adam-wathan.js

Path (Test): /people/test/adam-wathan

Role (frontmatter): Developer

Using global helper function: Adam's biography: Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fugiat, placeat saepe, v

1 Dan Sheetz

Filename (meta): dan-sheetz

Path (WEB): /people/web/2016-02-01/dan_sheetz

Path (API): /people/api.test/Dan Sheetz/2016-02-01/dan-sheetz.js

Path (Test):

Role (frontmatter): CEO

Using global helper function: Dan's biography: Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fugiat, placeat saepe, vo

123 Dave Hicking

Filename (meta): dave-hicking

Role (frontmatter): Director of Operations

Using global helper function: Dave's biography: Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fugiat, placeat saepe, v

12 Keith Damiani

Filename (meta): keith-damiani

Path (WEB): /people/web/2016-03-01/keith_damiani

Path (API):

Path (Test):

Role (frontmatter): Developer

Using global helper function: Keith's biography: Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fugiat, placeat saepe,

2001 Matt Stauffer

Filename (meta): matt-stauffer

Path (WEB): /people/web/2016-04-01/matt_stauffer

Path (API):

Path (Test):

Role (frontmatter): CTO

Using global helper function: Biography: Lorem ipsum dolor sit amet, consectetur adipisicing elit. Fugiat, placeat saepe, voluptat

662 Adam Wathan

Filename (meta): test-lang

Path (WEB): /people/web/2016-05-16/test_lang

Path (API): /people/api.test/Adam Wathan/2016-05-16/adam-wathan.js

Path (Test): /people/test/test-lang

Role (frontmatter): Developer

Using global helper function: Language Test Content for Italian

Can reference as an Illuminate Collection, e.g. for sorting:

Dan Sheetz (1)

Keith Damiani (12)

Dave Hicking (123)

Adam Wathan (662)

Adam Wathan (662)

Matt Stauffer (2001)

Can reference collection-specific helper functions when sorting:

Matt Stauffer (4002)

Adam Wathan (1324)

Adam Wathan (1324)

Dave Hicking (246)

Keith Damiani (24)

Dan Sheetz (2)