Do you want to save 80% of your bandwidth to your search provider? Do you want to deliver content to your users faster? With this one tr...Development Elasticsearch Debugging
If you’re not familiar, or just haven’t used Sass maps, here’s your chance to dive in. Our latest static site was built on Jekyll using ...sass
C# being an Object Oriented Programming (OOP) language, we have access to inheritance. Like any feature of a programming language, you sh...csharp bugs
We love the combination of SQL and Elasticsearch and believe it is a winning combination for anyone building a modern application. Elasti...Elasticsearch NEST C#
I’ve been watching [DotNetConf][dotnetconf] videos over the weekend, and was most curious about [Mads Torgersen’s][mads] [“What’s Coming ...c-sharp C# .NET
Hugo is an amazing static site generator, but getting lost when templating is easier than we’d like. We’ve found a way to evaluate variab...Hugo JAMStack Static
Regardless of your opinion on Object Relational Mappers (ORM), I think they are a great tool for prototyping ideas. Over time, they can l....net core sql
Dealing with JSON data in SQL Database introduces several challenges. This post addresses querying json data stored in SQL Database that...SQL Azure Database development
We are in the middle of writing a template engine to define dynamic forms. The user interface can only post to a known model on the serve...C# development
We are living on the bleeding edge that is Hugo’s release cycle. To keep our macOS development environments up to date we wrote this shel...development
With the news that Microsoft is acquiring GitHub, I thought I would ask the team what their thoughts are on the topic. We utilize the .NE...
Security is an essential part of any application ecosystem, but it can also be a nebulous concept for an organization to grasp. During ou...development
Hugo recently released an amazing asset pipeline, which means you need less external dependencies to build a sweet static site. To take advantage of this new feature you need the “extended” version of Hugo. This post will show you how to download this extended version on AppVeyor and run your build.
Normally, we would use Chocolatey to install Hugo. This should be at the top of the
appveyor.yml file in your repository.
install: - ps: choco install hugo
But the current version is not the extended version we need. We needed to switch the one line above, to the two below.
install: - ps: Start-FileDownload 'https://github.com/gohugoio/hugo/releases/download/v0.45.1/hugo_extended_0.45.1_Windows-64bit.zip' - ps: 7z x hugo_extended_0.45.1_Windows-64bit.zip
This downloads the latest release, as of this post, and extracts it locally (which seems to also be in the PATH). As a bonus, I call
before_build: # Output useful info for debugging. - hugo version
When you run this, you’ll see we are running the extended version.
hugo version Hugo Static Site Generator v0.45.1/extended windows/amd64 BuildDate: unknown
I also noticed that we need
PostCSS Cli as a dev dependency. If you start seeing errors around not being able to process a css file then you’ll need it as well.
npm i -D postcss-cli
This should make everthing build great now.