test

Sun 30 October 2016
Category: meta

Who why wat? When?

I think I’d like to be able to add page specific JavaScript & CSS to a pelican page. Either by linking in external scripts and stylesheets, or by adding special headers to a Markdown or RST file. Page specific CSS would make it pretty easy for …

Category: meta Tagged: pelican todo

comments

Read More

JavaScript on a page

Fri 28 October 2016
Category: meta
<canvas id="canvas" width="360" height="360" style="border:2px solid #d3d3d3;">canvas not supported</canvas>

<script type="text/javascript">

function draw() {
  var canvas = document.getElementById("canvas");
  if (canvas.getContext) {
    var ctx = canvas.getContext("2d");

    ctx.fillStyle = "rgb(200,0,0)";
    ctx.fillRect (10, 10, 50, 50);

    ctx.fillStyle = "rgba …

Category: meta Tagged: pelican todo

comments

Read More
Page 1 of 5

Next »