📝 Recommend to use the relative link markdown syntax

  • link to the file in root: home

      [home](/jeff-minima/) 
    
  • link to the file in _poster: next

      [next](2002-04-21-test-date.md)
    

refer to jekyllrb doc

  • home url
            
          [home url]({{ site.url }})
            
    
  • home base url
        
      [home base url]({{ site.baseurl }})
        
    
  • post link demo: link to file in _posts
        
      [post link demo]({{ site.baseurl }}{% post_url 2022-03-26-markdown-content-styles %})
        
    
  • link to root file : link to file in root
        
      [link to root file ]({{ site.baseurl }}{% link header1.md %})
        
    

jekyll variable values

  • baseurl value: /jeff-minima

        
      baseurl value: {{ site.baseurl }}
        
    
  • url value: https://jeffatoptics.github.io

        
      url value: {{ site.url }}
        
    

image link demo