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

Migrate some content to page resources #109

Closed
wants to merge 10 commits into from
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,5 @@ robot, exactly 1 metre away.
The following diagram shows the orientation of the Cartesian axes relative to
the camera as well as the angles which describe the spherical coordinate space.

![A diagram showing the coordinate spaces](/img/api/coordinate-spaces.svg)

{{% resource_img src="coordinate-spaces.svg" alt="A diagram showing the coordinate spaces" %}}
Copy link
Member

Choose a reason for hiding this comment

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

👍

2 changes: 1 addition & 1 deletion layouts/shortcodes/resource_img.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

{{ $image := .Scratch.Get "image" }}

<img src="{{ $image.RelPermalink }}" />
<img src="{{ $image.RelPermalink }}" alt="{{ .Get "alt" }}"/>