Questions tagged [awestruct]

Ruby framework for creating static HTML sites.

Awestruct is a framework for creating static HTML sites, inspired by the Jekyll utility in the same genre.

Awestruct makes it trivially easy to create non-trivial static websites using tools like Compass, Markdown, and Haml, as well as common frameworks like Twitter Bootstrap and Blueprint.

The core concept of Awestruct is that of structures, specifically Ruby OpenStruct structures. The struct aspect allows arbitrary, schema-less data to be associated with a specific page or the entire site.

Site-specific data is automatically loaded from simple YAML files, while data can be provided on pages using a front-matter prolog.

4 questions
2
votes
0 answers

Awestruct in Docker Container via Jenkins

I want to use awestruct inside a docker container to build my website. Everything seems to work but at the end I receive a message in Jenkins job: Jenkins Job Error When I run the docker container directly on the server (not via Jenkins job)…
mbk
  • 51
  • 1
2
votes
1 answer

Awestruct navigation: sort pages by category

What I'm trying to print out is a ul of lis, each containing all the pages which have a given tag (set in the metadata) If not familiar with Awestruct, it's similar to Jekyll and page metadata can be accessed as page.property, pages are in a site…
Zen
  • 7,197
  • 8
  • 35
  • 57
0
votes
1 answer

Awestruct: generate html page that lists all files in a directory

In our Awestruct website, we have a directory like this: /xsd /foo_1_0.xsd /foo_1_1.xsd /foo_1_2.xsd /foo_1_3.xsd ... /index.haml That index.haml gives some information on how to use a foo*.xsd file. I'd like that index.haml…
Geoffrey De Smet
  • 26,223
  • 11
  • 73
  • 120
0
votes
1 answer

Awestruct: Time.now.strftime('%a %-d %B %Y') in asciidoc file

When I have this code in an *.adoc file in awestruct: This website was generated on {localdatetime}. I get: This website was generated on 2015-11-30 11:01:50 CET. But I want it nicely formatted like this: This website was generated on Fri 11…
Geoffrey De Smet
  • 26,223
  • 11
  • 73
  • 120