<div class="footer">
    {{ if site.Params.footer.show_powered_by }}
        {{ if site.Params.source.org_dir }}
            Exported
            {{ if site.Params.source.org_file }}
                from <a href="{{ site.Params.source.url }}/raw/master/{{ site.Params.source.org_file }}"> <code>{{ site.Params.source.org_file | replaceRE "^.*/" "" }}</code></a>
            {{ end }}
            using
            {{ with .Params.creator }}
                <a href="https://www.gnu.org/software/emacs/">{{ . | replaceRE "\\(Org.*" "" }}</a> &plus;
                <a href="https://orgmode.org/">{{ . | replaceRE "Emacs.*\\(" "" | replaceRE "\\+ ox-.*" "" }}</a> &plus;
            {{ end }}
            <a href="https://github.com/kaushalmodi/ox-hugo"><code>ox-hugo</code></a>
            and published using
        {{ else }}
            This site is generated using
        {{ end }}
        <a href="https://gohugo.io/">Hugo {{ hugo.Version }}</a>
	&plus; <a href="https://github.com/kaushalmodi/hugo-onyx-theme">Onyx</a>
    {{ end }}
</div>

{{ if site.Params.github_banner }}
    <a href="https://github.com/{{ site.Params.github_user }}/{{ site.Params.github_repo }}" class="github">
        <img style="position: absolute; top: 0; right: 0; border: 0;" src="/images/forkme_right_darkblue_ribbon.png" alt="Fork me on GitHub" class="github"/>
    </a>
{{ end }}
