Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

251
Views
Pug image as a link

how do you make an image a link in Pug I've tried

   a(href='https://github.com/LouieAdamian') img(src="/img/GitHub.png")

and

img(src="/img/GitHub.png")
a(href='https://github.com/LouieAdamian')

and

a(href='https://github.com/LouieAdamian')
img(src="/img/GitHub.png")

none of these worked I ether ended up with the text img(src="/img/GitHub.png") as the link or no link at all.

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

This way (the indent is necessary):

a(href='https://github.com/LouieAdamian')
  img(src="/img/GitHub.png")
over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!