Assets
Customize Hyas SCSS or Hyas JS. Add a Lambda function.
..
├── fonts/
├── images/
├── js/
│ ├── vendor/
│ ├── app.js
│ └── index.js
├── lambda/
└── scss/
├── common/
├── components/
├── layouts/
├── vendor/
└── app.scss
See also the Hugo docs: Hugo Pipes.
Customize Hyas SCSS
Set variables in `./assets/scss/common/_variables.scss`.
See also the Bootstrap code: Variables.
./assets/scss/app.scss
Customize Hyas JS
./assets/js/app.js
Add a Lambda function
See also: Functions
Example
./assets/lambda/hi-from-lambda.js
exports.handler = (event, context, callback) => {
callback (null, {
statusCode: 200,
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
message: 'Hi from Lambda.',
}),
});
}