<commit_before>extends layout

append styles
  link(href='/styles/plug.css',rel='stylesheet')

block content
  .infocard
    img(src=plug.images[720]).plugimage
    h2.plugvenue= plug.venue
    h3.plugname= plug.name
    .ownercredit
      ="mapped by "
      a(href='/user/'+plug.owner.username).ownername
        = plug.owner.username
        img(src='//gravatar.com/avatar/'+plug.owner.emailMD5).owneravatar<commit_msg>"mapped by you" for plugs mapped by the current user<commit_after>extends layout

append styles
  link(href='/styles/plug.css',rel='stylesheet')

block content
  .infocard
    img(src=plug.images[720]).plugimage
    h2.plugvenue= plug.venue
    h3.plugname= plug.name
    .ownercredit
      ="mapped by "
      //- if the currently logged-in user mapped this
      if currentUser && user._id == currentUser._id
        a(href='/user/'+plug.owner.username).ownername you
      else
        a(href='/user/'+plug.owner.username).ownername
          = plug.owner.username
          img(src='//gravatar.com/avatar/'+plug.owner.emailMD5).owneravatar
{'fraction_non_alphanumeric': 0.13615023474178403, 'fraction_numerical': 0.011267605633802818, 'mean_word_length': 3.068702290076336, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '570788', 'n_tokens_mistral': 356, 'n_tokens_neox': 346, 'n_words': 60}