Jekyll

With Jekyll, links inside SVG graphics aren't working

那年仲夏 提交于 2020-01-17 05:24:09
问题 I have an SVG graphic in a Jekyll project with code like this: ``` <?xml version="1.0" encoding="utf-8"?> <!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0) --> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 451.5 100" enable-background="new 0 0 451.5 100" xml:space="preserve"> <a xlink:href="http://google.com"> <g id="step1_1_"> <rect x="19" y="15.7" fill="whitesmoke" stroke=

first time 'jekyll' users - difficulty understanding 'bootstrap' theme

偶尔善良 提交于 2020-01-16 12:06:46
问题 I am a first time jekyll and ruby user - 0 experience in either of them. I am tackling them because quite frankly, I just want to. I'm posting my actual question up top, since this is a lot to read. All details are included below though; ACTUAL QUESTION What is happening here? How can I reproduce this for my Lanyon theme so I don't need the fully qualified name? How can I get the BASE_PATH and ASSET_PATH merged in my Lanyon theme as well? DETAILS I've followed all of the instructions here;

jekyll - pagination not working

≡放荡痞女 提交于 2020-01-16 10:55:09
问题 I'm working with jekyll but the pagination not working, I thing that I'm doing all ok from official page. _config.yml paginate: 3 Gemfile gem 'jekyll-paginate' Index.html {% if paginator.total_pages > 1 %} FUNCIONA!!! {% else %} NOT WORKING {% else %} {% endif %} {% for post in paginator.posts %} hello3 {% endfor %} {% for post in site.posts %} hello1 {% endfor %} The posts are .md, is a problem? 回答1: Try this: In _config.yaml replace the existing single line paginate declaration with these

Create new txt/html file for each row in OOO Calc spreadsheet

谁都会走 提交于 2020-01-16 01:51:05
问题 I would like to create a new txt file (html file really) from each row of a Calc spreadsheet. I have found a few answers that do this from an Excel spreadsheet but they do not work with Calc. I do not have Excel. I am using OOO 4. I tried this Excel macro in Calc but get an error - Range is an unknown data type. Researching this seems to say that Excel macros won't work well in OOO Calc. I had found something saying if I enabled 'Executable Code' in Options, Excel macros may work, but that

jekyll not generating _posts

ε祈祈猫儿з 提交于 2020-01-16 01:01:12
问题 I'm have trouble getting jekyll to convert a post in _posts directory to html. It generates index.md correctly, but doesn't generate anything for posts. When I add 'source: _posts' then it converts the post, but doesn't convert index.md. As far as I can tell, 'source' should either be not added to _config.yml to should point to '.' My directory structure is pretty standard: $ find .|fgrep -v bootstrap . ./index.md ./_config.yml ./_drafts ./_includes ./_includes/footer.html ./_includes/header

“New Jekyll Page” not rendering default css.stylesheet : Only index.html works fine

隐身守侯 提交于 2020-01-16 00:37:06
问题 I am quite new to Jekyll & webdesign in general. So far I have followed the regular instructions on how to build a new page with jekyll. It all sounds fairly simple in theory. But in practice I experience issues that are just not explained in the theory. Below I try to be as descriptive as possible: Directory structure: ├── _includes │ ├── footer.html │ ├── head.html │ ├── header.html │ └── scripts.html ├── _layouts │ └── default.html ├── _site │ └── ... │ ├── css │ └── style.css ├── fonts │

Jekyll – Check if page belongs to a collection

拈花ヽ惹草 提交于 2020-01-15 10:16:10
问题 Is there a way to check if a current page belongs to a collection? If so, can I check what’s the label of the collection? Background story: What I’m trying to achieve is to display a different layout for all pages that belong to a collection. With this new layout I want to display a side navigation (some sort of „See also”) with listing of all pages in the collection that the current site belongs to. In case my question turns out to be dumb – forgive me, I’m new to jekyll and I really tried

Jekyll – Check if page belongs to a collection

风格不统一 提交于 2020-01-15 10:15:01
问题 Is there a way to check if a current page belongs to a collection? If so, can I check what’s the label of the collection? Background story: What I’m trying to achieve is to display a different layout for all pages that belong to a collection. With this new layout I want to display a side navigation (some sort of „See also”) with listing of all pages in the collection that the current site belongs to. In case my question turns out to be dumb – forgive me, I’m new to jekyll and I really tried

Setting up Polymer with Jekyll?

梦想与她 提交于 2020-01-14 13:27:28
问题 I'm trying to use Polymer with a Jekyll site, but I can't figure out how to get things set. I downloaded and can run the Polymer Starter Kit. Polymer has the page contents in the app directory, but if I try to set up and run Jekyll from this folder, I get a load of errors because the Polymer index.html can't find the resources (because the root directory is different). What is the correct way to set-up and structure for Jekyll and Polymer to work together? 回答1: Reading polymer started kit

Setting up Polymer with Jekyll?

送分小仙女□ 提交于 2020-01-14 13:27:27
问题 I'm trying to use Polymer with a Jekyll site, but I can't figure out how to get things set. I downloaded and can run the Polymer Starter Kit. Polymer has the page contents in the app directory, but if I try to set up and run Jekyll from this folder, I get a load of errors because the Polymer index.html can't find the resources (because the root directory is different). What is the correct way to set-up and structure for Jekyll and Polymer to work together? 回答1: Reading polymer started kit