Design System

Back Link

plos_back_link renders a dynamic back link. Place it above the main content area to let users return to the previous page.


Example

Back

Custom text

Use the text parameter to override the default link text.

Go back

Usage

Pass the destination URL via href. The link text defaults to "Back" and can be overridden with text.

{% component "plos_back_link" href=back_url %}{% endcomponent %}

In a template that uses a back_link block:

{% block back_link %} {% component "plos_back_link" href=back_url %}{% endcomponent %} {% endblock back_link %}

Parameters:

  • href: URL the link points to (default: "#")
  • text: visible link text (default: "Back")