Add 'code' bool to default template

master
Tait Hoyem 3 years ago
parent 33496f1a83
commit 816513192d

@ -11,6 +11,9 @@
{%- if page.math -%}
<link rel="stylesheet" href="/assets/css/katex.css">
{% endif %}
{%- if page.code -%}
<link rel="stylesheet" href="/assets/css/highlight.css">
{% endif %}
</head>
<body>
<div id="wrapper">

@ -2,6 +2,7 @@
title: "Minesweeper Bomb Generation And Tile Revealing"
layout: post
math: true
code: true
---
When I was creating a little Minesweeper game, I got confused at some points.

Loading…
Cancel
Save