mixins.pug 333 B

1234567
  1. mixin channel(channel)
  2. - var handle = `${channel.name}@${channel.host}`
  3. | #[a(href=`${WEBSERVER.URL}/video-channels/${handle}` title=handle) #{channel.displayName}]
  4. mixin account(account)
  5. - var handle = `${account.name}@${account.host}`
  6. | #[a(href=`${WEBSERVER.URL}/accounts/${handle}` title=handle) #{account.displayName}]