Coder Social home page Coder Social logo

haplo / reflex Goto Github PK

View Code? Open in Web Editor NEW
1.0 0.0 0.0 7.28 MB

The minimalist Pelican theme.

Home Page: http://haplo.github.io/reflex

License: MIT License

JavaScript 1.00% CSS 80.91% HTML 9.66% Python 1.79% Shell 0.47% Less 5.49% Makefile 0.68%
pelican pelican-theme python static-site-generator

reflex's People

Contributors

alexandrevicenzi avatar alkhimey avatar alorence avatar anjos avatar barryorourke avatar cassiobotaro avatar echoalexey avatar elementalvoid avatar haplo avatar linkid avatar lioman avatar lpenaud avatar maparent avatar marcelhuth avatar markcaudill avatar ncharlot avatar nicopy avatar noirbizarre avatar okelet avatar olipratt avatar pawelngei avatar phyks avatar radoeka avatar rhyven avatar ricekab avatar saagit avatar sashw avatar smidm avatar sumnerevans avatar xion avatar

Stargazers

 avatar

reflex's Issues

Shynet tracking support

Shynet is a simple self-hosted web analytics tool.

  • Add support for tracking through Shynet to the theme.
  • Document new integration and settings.

Set up gulp watch

For developing the theme it would be useful to support a gulp watch command so any changes to source files would be compiled and available automatically.

See alexandrevicenzi/Flex#226 for original issue in Flex theme.

Fix styles for figure elements

alexandrevicenzi/Flex#225 added styles for figures, but only for <div class="figure">. I'm using markdown-captions markdown extension to generate figures, and it uses semantic <figure> and <figcaption> elements. It would make sense for the theme to support both cases.

This PR extends the selectors of the existing styles, plus:

  • Center-align figure captions.
  • Add an optional style to add a border to figures.

Example of default style (left alignment and no border)

image

Example with border and center alignment:

image

This issue was originally created as alexandrevicenzi/Flex#302.

Style for toc markdown extension

Markdown has a Table of Contents (toc) extension but their output styles are currently unstyled in this theme.

Example document

Title: Table of Content test

[TOC]

# Header 1
blablabla

#Header 2
blablabla

#Header 3
blablabla

Current style

image

Proposed style

image

The "Table of Contents" text is controlled in settings:

TOC configuration

MARKDOWN = {
    'extension_configs': {
        'markdown.extensions.toc': {
            'title': 'Table of Contents'
        },
    },
}

Refer to the markdown toc extension docs for full configuration, but the above works for me.

This issue was originally created in alexandrevicenzi/Flex#300.

Put example site in Github pages

  • Update example site settings and content
  • Add TOC to example site
  • Add figures to example site
  • Include link to example site in README
  • Github action to rebuild example site on changes to master

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.