Re: [atom-users] static page links.

28 views
Skip to first unread message

Dan Gillean

unread,
Nov 6, 2023, 9:55:06 AM11/6/23
to ica-ato...@googlegroups.com
Hi there, 

Assuming that you have properly set your Base URL in Admin > Settings > Site information, you can add a hyperlink just by including a slash and the target slug. For example, this would link to the default "About" page, which has a slug of /about in AtoM: 

With markdown: 

  • This is my [hyperlink](/about).
You can see an example of a Markdown link constructed this way in the default Privacy notification banner message we include in AtoM - here's a screenshot of it from our demo site: 

Screenshot from 2023-11-06 09-25-56.png

You can also achieve this using HTML: 
  • This is my <a href="/about">hyperlink</a>.

For tips on formatting with Markdown, see: 
For some suggestions on using HTML to style static pages instead (something that is ONLY supported on static pages, and not in records), see: 
If you use HTML, be sure to review the documentation link above, as there are some quirks to using HTML on AtoM static pages - for example, to ensure that certain multi-tag elements (like tables) render properly, you need to add them all together in a single line without spaces (making it less human-friendly to read and write, unfortunately) - otherwise, some of the other page helpers will interfere with the rendering. 

You will have the best results if you don't mix HTML and Markdown in a static page - technically they CAN be mixed in a page but not in a single section, but to avoid possible complications, it is generally recommended to use Markdown whenever possible. 

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory
he / him


On Mon, Nov 6, 2023 at 6:03 AM Willie Erasmus <wce...@gmail.com> wrote:
Good day, how can i call a static page from within another static page?
I'm using AtoM 2.7 on Ubunto 20.04 LTS

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/1ca0e89c-4be5-4acc-b670-c369685998e7n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages