/anr_website

Applied Nonprofit public website.

Primary LanguageCSS

Anr_website

clone repo

git clone https://github.com/anr990/anr_website

develop mode

hugo server

build mode

hugo
Example: building for https://somedomain.com
hugo --baseURL="https://somedomain.com"

using Image with Caption

Use following code to get an image with caption:

	{{< figure src="[IMAGE_URL]" class="figureWithCaption" caption="[IMAGE_CAPTION]" >}}

[IMAGE_URL] - url to your image. [IMAGE_CAPTION] - content of caption. Links are supported.

Example:

{{< figure src="/uploads/nfl_990.png" class="figureWithCaption" caption="The beginning of the 2015 IRS Form 990 filing  for the [National Football League](https://www.nfl.com)." >}}

Sitemap.xml

Adding new pages to sitemap.xml can be done in 2 ways: 1.Add a permalink of new page to the variable sitemap_allowed_pages in config.toml.

Example:

sitemap_allowed_pages = ["/documentation/", "/posts/", "/whitepapers/", "/new-page/"]

2.Add new page right into layout of sitemap.xml \anr\layouts\sitemap.xml before closing tag </urlset>

Example:

	  <url>
	    <loc>/new-page/</loc>
	    <lastmod>2019-03-25T19:53:16+00:00</lastmod>
	  </url>
  </urlset>