Ronalds VilcinsScrape data from websites into Google SheetsWant to grab data from the internet? Google Sheets has a built-in function called ImportXML which can be used to scrape publicly available…Jun 3, 2022Jun 3, 2022
Ronalds VilcinsEmbedding audio with Hugo shortcodesHugo provides the ability to easily create custom shortcodes to meet your website’s needs. All you need to do is add an html file in the…Apr 20, 2022Apr 20, 2022
Ronalds VilcinsCSS :empty SelectorThe CSS :empty pseudo-class selects any element that has no children or text.Mar 20, 2022Mar 20, 2022
Ronalds VilcinsCount all pages from section in HugoIf you want to display the total number of content pages that Hugo generated from a particular section use where to filter section pages:Mar 20, 2022Mar 20, 2022
Ronalds VilcinsCenterig flexbox itemsYou can center a flexbox item vertically and horizontally by applying margin: auto; to it.Mar 20, 2022Mar 20, 2022
Ronalds VilcinsCapture screenshot with Chrome DevToolsWindows: Press Ctrl + Shift + I then Ctrl + Shift P.Mar 20, 2022Mar 20, 2022
Ronalds VilcinsHugo shortcode for raw HTMLSometimes we need to add raw HTML content in markdown files. We can do it before or after, the content. And in the middle of content using…Feb 15, 2022Feb 15, 2022
Ronalds VilcinsShow related content in HugoHugo has a built-in related content feature. To list up to 3 related pages include this partial in your single page template. It will match…Feb 13, 2022Feb 13, 2022
Ronalds VilcinsThe CSS :has() selectorThe :has() CSS pseudo-class represents an element if any of the selectors passed as parameters match at least one element.Dec 22, 2021Dec 22, 2021
Ronalds VilcinsAdd anchor links to headings in HugoAn anchor link is a link, which allows the users to flow through a website page. When readers land on a page, they want to know instantly…Dec 16, 2021Dec 16, 2021