Home  Home  Home  Contact  Contact  Contact  Stuff  Stuff  Stuff
 Blog  Blog  Blog  FAQ  FAQ  FAQ
 Home  Home  Home  Contact  Contact  Contact  Stuff  Stuff  Stuff
 Blog  Blog  Blog  FAQ  FAQ  FAQ

Attachments

/hugo-theme-w3css-basic.github.io/resources/images/teaserpics/pixabay.com/paperclip-178126_640_hu1084280050669822354.jpg

Add page resources as attachments to a page via the res-attach shortcode.

Demo 1 

Aliquam erat volutpat. Nunc eleifend leo vitae magna. In id erat non orci commodo lobortis. Proin neque massa, cursus ut, gravida ut, lobortis eget, lacus. Sed diam.

  Attachments

shortcode above

{{< res-attach >}}

res-attach Parameters 

Argument Position -1 Default What Remark
path 0 . path to resource page
match 1 ** glob
label 2 Attachments label piped into i18n
icon 3 fas fa-paperclip label icon

Demo 2 

Praesent fermentum tempor tellus. Nullam tempus. Mauris ac felis vel velit tristique imperdiet. Donec at pede. Etiam vel neque nec dui dignissim bibendum. Vivamus id enim.

Attachments 

shortcode above

{{< res-attach "." "** /*.pdf" "" "" >}}

Demo 3 

Aliquam erat volutpat. Nunc eleifend leo vitae magna. In id erat non orci commodo lobortis. Proin neque massa, cursus ut, gravida ut, lobortis eget, lacus. Sed diam. Praesent fermentum tempor tellus.

  See more here

shortcode above

{{< res-attach "." "** /*.{doc,xls}*" "See more here" "fas fa-eye" >}}