Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hmm I can't seem to get this filter to work #4

Open
kevdogg opened this issue Mar 9, 2020 · 3 comments
Open

Hmm I can't seem to get this filter to work #4

kevdogg opened this issue Mar 9, 2020 · 3 comments

Comments

@kevdogg
Copy link

kevdogg commented Mar 9, 2020

I can't seem to make this work. Using jekyll 3.8.5

Gemfile

source "https://rubygems.org"
# Hello! This is where you manage which Jekyll version is used to run.
# When you want to use a different version, change it below, save the
# file and run `bundle install`. Run Jekyll with `bundle exec`, like so:
#
#     bundle exec jekyll serve
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 3.8.5"
# This is the default theme for new Jekyll sites. You may change this to anything you like.
#gem "minima", "~> 2.5"
gem "jekyll-remote-theme"
gem "jekyll-liquify"

# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
gem "github-pages", "~> 204", group: :jekyll_plugins
# If you have any plugins, put them here!

group :jekyll_plugins do
  gem "jekyll-feed", "~> 0.13"
end

# Windows and JRuby does not include zoneinfo files, so bundle the tzinfo-data gem
# and associated library.
install_if -> { RUBY_PLATFORM =~ %r!mingw|mswin|java! } do
  gem "tzinfo", "~> 1.2"
  gem "tzinfo-data"
end

# Performance-booster for watching directories on Windows
gem "wdm", "~> 0.1.1", :install_if => Gem.win_platform?

#Travis Testing Block

Here is _config.yml file:

timezone: America/Chicago
include:
  - .env
title: Authelia Documentation
email: your-email@example.com
description: Testing travis
baseurl: "" # the subpath of your site, e.g. /blog
url: "https://sitedocs.domain.com" # the base hostname & protocol for your site, e.g. http://example.com
twitter_username: jekyllrb
github_username:  jekyll

remote_theme: pmarsceill/just-the-docs

plugins:
  - jekyll-feed
  - jekyll-liquify

permalink: pretty

search_enabled: true

search_tokenizer_separator: /[\s/]+/

heading_anchors: true

aux_links:
  "Authelia on GitHub":
    - "//github.com/authelia/authelia"

footer_content: "Copyright © 2020 KevDog"

color_scheme: nil

markdown: kramdown
kramdown:
  syntax_highlighter: rouge
highlighter: rouge

exclude:
  - .sass-cache/
  - .jekyll-cache/
  - gemfiles/
  - node_modules/
  - vendor/bundle/
  - vendor/cache/
  - vendor/gems/
  - vendor/ruby/
  - Rakefile

And here is my testing file:

---
layout: default
tags: ["test", "authelia"]
permalink: /pagenumber/
pagenumber: 99
nav_order: 99
title: "Page Number {{ page.pagenumber }}"
---

The page number is: {{ pagenumber | liquify }}

I'm a little stuck what to do. The output of {{ pagenumber | liquify }} is blank.

@fdq09eca
Copy link

fdq09eca commented Mar 25, 2020

same here, followed the instruction, even in the jekyll new some_project environment it still not appears anything.

@rafasgj
Copy link

rafasgj commented Oct 18, 2020

For me, it works locally, but not on GitHub Pages.

@turneja
Copy link

turneja commented Nov 21, 2020

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants