NEXT craftinamerica.org. Base setup for headless wordpress https://www.craftinamerica.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

breadcrumb.vue 712B

1234567891011121314151617181920212223242526272829
  1. <template lang="pug">
  2. //- breadcrumb links at top of page, needs link routing
  3. nav.breadcrumb.f-row.start.t-up
  4. router-link(v-if="['event','exhibition'].includes(type)" :to="`/${type}/sorted/by-current-and-upcoming`")
  5. h5.t-up {{ type }}
  6. router-link(v-else-if="type == 'post'" :to="`/blog`")
  7. h5.t-up blog
  8. router-link(v-else-if="type == 'page'" :to="`/`")
  9. h5.t-up
  10. router-link(v-else :to="`/${type}`")
  11. h5.t-up {{ type }}
  12. </template>
  13. <script>
  14. export default {
  15. props: {
  16. type: { type: String },
  17. post: { type: Object },
  18. },
  19. }
  20. </script>
  21. <style lang="postcss">
  22. // prettier-ignore
  23. @import '../sss/variables.sss'
  24. @import '../sss/theme.sss'
  25. </style>