This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.5/css/bootstrap.min.css"> | |
<meta charset="UTF-8"> | |
<title>Gentics Mesh Demo</title> | |
<style> | |
.row.products > div { | |
height: 500px | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// templateData is the struct that we pass to our HTML templates, containing | |
// necessary data to render pages | |
type templateData struct { | |
Breadcrumb []gjson.Result | |
Category *gjson.Result | |
Products *[]gjson.Result | |
} |
NewerOlder