title: Set target=“_blank” and rel=“nofollow, noindex, noreferrer” to all links
body: <p>There seems to be a way how to set external links to no-follow per default to avoid losing important link juice through do-follow links to external websites it would be really good and make things much easier if we had automated that.</p>
  
  <p>I have a lot of articles/blog posts in markdown that is being generated upon middleman deployment. It’s a hassle to manually add {:target="_blank" rel="nofollow, noindex, noreferrer"} at the end of each link within the text.</p>
  
  <p>I've researched that I can add </p>
  
  <pre><code>&lt;meta name =”robots” content=”index”&gt;
  </code></pre>
  
  <p>but I'm guessing there must be a more granular approach is to include the noFollow tag for individual links.</p>
  
  <p>Is there a way to set link attributes in config.rb so that it's set like below?</p>
  
  <pre><code>target="_blank" rel="nofollow, noindex, noreferrer"
  </code></pre>