Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding footer and img shortcode integration #88

Closed
wants to merge 3 commits into from

Conversation

flo-kn
Copy link
Contributor

@flo-kn flo-kn commented Sep 24, 2022

  • Add footer partial
  • Add img shortcode

Closes #87

Signed-off-by: Florian Knip <florian@knip-builds.de>
Signed-off-by: Florian Knip <florian@knip-builds.de>
Signed-off-by: Florian Knip <florian@knip-builds.de>
Comment on lines +49 to +51
<footer class="app-footer">
{{ partial "footer.html" . }}
</footer>
Copy link
Contributor Author

@flo-kn flo-kn Sep 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if it's better to make the footer integration optional. Would appreciate any kind of directions or guidance.

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My previous theme did this:

    <footer>
      {{ block "footer" . }}
      {{ end }}
    </footer>

Then you can define the footer in your other templates and pages.

@flo-kn flo-kn closed this Nov 15, 2023
@flo-kn flo-kn deleted the feat/addFooterAndImgShortcode branch November 15, 2023 13:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Create functionality to add footer
2 participants