2018-01-17 22:30:55 +00:00
|
|
|
component Quote(quote *arn.Quote)
|
2018-02-25 16:06:47 +00:00
|
|
|
.quote.mountable
|
2018-01-17 22:30:55 +00:00
|
|
|
QuoteContent(quote)
|
|
|
|
QuoteFooter(quote)
|
|
|
|
|
2018-04-19 13:04:25 +00:00
|
|
|
component QuotePreview(quote *arn.Quote)
|
|
|
|
.quote.mountable
|
|
|
|
QuoteContentPreview(quote)
|
|
|
|
QuoteFooter(quote)
|
|
|
|
|
2018-01-17 22:30:55 +00:00
|
|
|
component QuoteContent(quote *arn.Quote)
|
|
|
|
.quote-content
|
2018-03-23 20:33:19 +00:00
|
|
|
a.quotation(href=quote.Link())
|
2018-04-19 13:04:25 +00:00
|
|
|
QuoteText(quote)
|
|
|
|
|
|
|
|
QuoteCharacter(quote)
|
|
|
|
|
|
|
|
component QuoteContentPreview(quote *arn.Quote)
|
|
|
|
.quote-content
|
|
|
|
a.quotation(href=quote.Link())
|
|
|
|
QuoteTextPreview(quote)
|
2018-02-25 11:19:27 +00:00
|
|
|
|
2018-04-19 13:04:25 +00:00
|
|
|
QuoteCharacter(quote)
|
|
|
|
|
|
|
|
component QuoteText(quote *arn.Quote)
|
|
|
|
blockquote!= utils.RenderQuoteText(quote.Text.English)
|
|
|
|
|
|
|
|
component QuoteCharacter(quote *arn.Quote)
|
|
|
|
if quote.CharacterID != "" && quote.Character() != nil
|
|
|
|
footer.quote-character
|
|
|
|
CharacterSmall(quote.Character())
|
|
|
|
|
|
|
|
component QuoteTextPreview(quote *arn.Quote)
|
|
|
|
if len(quote.Text.English) > 170
|
|
|
|
blockquote!= utils.RenderQuoteText(quote.Text.English[:167] + "...")
|
|
|
|
else
|
|
|
|
blockquote!= utils.RenderQuoteText(quote.Text.English)
|
2018-01-17 22:30:55 +00:00
|
|
|
|
|
|
|
component QuoteFooter(quote *arn.Quote)
|
|
|
|
.quote-footer
|
|
|
|
span posted
|
|
|
|
span.utc-date(data-date=quote.Created)
|
|
|
|
span by
|
2018-03-23 20:33:19 +00:00
|
|
|
a(href=quote.Creator().Link())= quote.Creator().Nick
|