Skip to content

How can I link an icon to a static file #1920

Discussion options

You must be logged in to vote

If you add a folder, let's say "files", to the "static" (static/files/) then the following syntax world work:

links:
- icon: download
  icon_pack: fas
  name: my-pdf
  url: "files/your-file.pdf"

Of course the choice of icon and name in this case is arbitrary.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by christophermadsen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant