This file contains hidden or 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
################################## | |
# Data | |
################################## | |
ops.mat <- | |
matrix(c(392, 114, 250, 115, 115, 78, | |
2349, 560, 428, 286, 226, 173, | |
4037, 1215, 817, 879, 479, 337, | |
966, 592, 142, 256, 90, 407), | |
nrow=4, byrow=TRUE) |
This file contains hidden or 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
# Treat every _data file as liquid. | |
# This allows us to include YAML files in other YAML files. | |
module Jekyll | |
# Monkey patch Jekyll::DataReader::read_data_file with our own implementation | |
class DataReader | |
def read_data_file_with_liquid(path) | |
begin | |
dir = File.dirname(path) | |
filename = File.basename(path) |