I am trying to call a partial. Within the partial exists conditionals. For the regular HTML pages, conditionals work, but I am not able to find how to apply the same for amp pages.
Example below:
{{ if .IsHome -}} :: checks if the page is homepage (works for HTML pages)
{{ if .Site.Pages }} :: checks if the page is a single page (works for HTML pages)
I want the amp equivalents for the above both. Can someone help me?