title: How can I link the static profile.jpg image to all the Pelican files?
body: <p>I am trying to set up my <code>AVATAR</code> variable in the pelican-bootstap-theme bur I get the following error:</p>
  
  <pre><code>WARNING:root:Unable to find `/pages/images/blog/profile.jpg` or variations.
  </code></pre>
  
  <p>My project's filesystem looks like this:</p>
  
  <pre><code>content
  ├── post1.md
  ├── post2.md
  ├── images
  │    └──blog
  │       ├── banner.png
  │       ├── favicon.jpg
  │       └── profile.jpg
  └── pages
      └── about.md
  </code></pre>
  
  <p>And I have tried to use both within the <code>pelicanconf.py</code> file:</p>
  
  <pre><code>AVATAR = './images/blog/profile.jpg'
  
  AVATAR = '/images/blog/profile.jpg'
  
  AVATAR = '/content/images/blog/profile.jpg'
  </code></pre>
  
  <p>Which is what I red in this other SO question: <a href="https://stackoverflow.com/questions/28257113/what-is-the-correct-way-to-express-a-path-in-order-to-get-pelican-generated-html">What is the correct way to express a path in order to get Pelican generated html to link to an image?</a>.</p>
  
  <p>So the problem is that the profile image (<code>AVATAR</code> variable) is show correctly in the blog post: given that pelican goes to <code>/images/blog/profile.jpg</code> where is the image actually. But when loading a page from <code>/pages</code> it uses the route above.</p>
  
  <p>Finally, my pelican's conf uses this paths:</p>
  
  <pre><code> PATH = 'content'
   STATIC_PATHS = ['images']
  </code></pre>
  
  <p><strong>EDIT:</strong> I have removed <code>images/blog</code> from <code>STATIC_PATHS</code>, following the advise of @ScottCarpenter.</p>
  
  <p>Also I have tried to add the same image at the <code>about.md</code> file using the following line</p>
  
  <pre><code>![Avatar image]({attach}images/blog/profile.jpg)
  </code></pre>
  
  <p>The result is the same that when using it inside the pelican-bootstrap3 theme template. This time with this warning message. </p>
  
  <pre><code>WARNING:root:Unable to find `/pages/{attach}images/blog/profile.jpg` or variations.
  </code></pre>