小编joh*_*arr的帖子

Jekyll minima主题的基本配置

我在开始minima配置Jekyll. 该主题是 Jekyll 的默认主题,似乎非常受欢迎,自述文件中的说明看起来很简单,但我无法让它们工作。我可能做了一些明显错误的事情,这里的人都可以看到。

以下是我的(匿名)活动行_config.yml

title: IT thoughts...
author:
  name: joharr
  email: <myemailaddress>
description:
  Self-taught geekology...
baseurl: ""
url: <me>.github.io
twitter_username: <mine>
github_username:  <mine>

minima:
  skin: dark  # having no effect

theme: minima
Run Code Online (Sandbox Code Playgroud)

- 不适用深色皮肤。所以我assets/css/在网站的根目录中复制了主题的asset/css/style.scss,然后:

$ bundle exec jekyll serve
...
style.scss:1: Error: File to import not found or unreadable: minima/skins/classic. (SassC::SyntaxError)
    on line 1:1 of style.scss
>> @import
...
Run Code Online (Sandbox Code Playgroud)

- 什么!?我必须开始复制主题的 SASS 链才能进行最细微的调整?现在不知道如何遵循主题的说明并感觉自己是数百万快乐用户之一......

css sass jekyll-theme

5
推荐指数
1
解决办法
1605
查看次数

Perl 模块 Tie::子例程中的文件

我的 Perl 脚本早期就有这样的内容:

tie my @y2015, 'Tie::File', "y2015.dat" or die "Can't read file: $!\n";
tie my @y2016, 'Tie::File', "y2016.dat" or die "Can't read file: $!\n";
tie my @y2017, 'Tie::File', "y2017.dat" or die "Can't read file: $!\n";
tie my @y2018, 'Tie::File', "y2018.dat" or die "Can't read file: $!\n";
tie my @y2019, 'Tie::File', "y2019.dat" or die "Can't read file: $!\n";
tie my @y2020, 'Tie::File', "y2020.dat" or die "Can't read file: $!\n";
tie my @y2021, 'Tie::File', "y2021.dat" or die "Can't read file: $!\n"; …
Run Code Online (Sandbox Code Playgroud)

perl

2
推荐指数
1
解决办法
65
查看次数

标签 统计

css ×1

jekyll-theme ×1

perl ×1

sass ×1