Code Monkey home page Code Monkey logo

directive-theme's People

Contributors

enzolutions avatar yosymfony avatar

Stargazers

 avatar

Watchers

 avatar  avatar

directive-theme's Issues

MD code parsing is not working

I'm in the process to migrate my page to this new theme, but because my blog related with Web development I use a lot of code section using md style with three back-ticks ```

Let me show you an example

name = Token
description = Provides a user interface for the Token API and some missing core tokens.
core = 7.x
files[] = token.test

version = "7.x-1.5"
project = "token"
backdrop = 1.x

Generate the following output

spress-code-highlight

I can't apply theme to existing site

I'm trying to apply Directive Theme in my current site but I can't.

I did this step

  1. Update composer.json

I change the type and add the requiere as you can see in the following snippet

{
    "name": "yosymfony/spress-theme-spresso",
    "type": "directive-theme",
    "description": "Spresso theme for Spress",
    "keywords": ["spress", "theme", "template"],
    "license": "MIT",
    "authors": [
        {
            "name": "Victor Puertas",
            "email": "[email protected]",
            "homepage": "http://yosymfony.com"
        }
    ],
    "require": {
        "yosymfony/spress-installer": ">=1.0,<2.0",
        "yosymfony/spress-plugin-more-tag": "~1.0",
        "enzolutions/spress-plugin-google-analytics": "1.0.*@dev",
        "spress-add-ons/directive-theme": "~1.0-dev"
    },
    "config": {
        "vendor-dir": "_plugins/vendors"
    },
    "extra": {
        "spress_name": "spresso",
        "branch-alias": {
            "dev-master": "1.0.x-dev"
        }
    }
}
  1. Try to update composer
composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)



  [ErrorException]
  Undefined variable: package



update [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--lock] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--with-dependencies] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [packages1] ... [packagesN]

Also I tried the site build with out composer update but nothing happend the old theme is still render.

MD is not applied in page

I'm trying to migrate my page to this new theme but for some reason in a folder with a file index.md is not parsed properly.

this is the code


---
layout: page
title: Projects
description: "Projects I am involved"
categories: [projects]
tags: [Drupal, Javascript, PHP, Symfony, Silex, MarionetteJS, BackboneJS]

---

<section>
  <header>
    <h3>{{ page.title }}</h3>
  </header>
  <p>
    These are some projects I created to solve my needs and maybe could help you to cover yours..

    ### Javascript

    * <a target="_blank" href="https://github.com/enzolutions/generator-marionette-drupal" class="btn btn-primary btn-sm btn-danger" role="button"><i class="fa fa-code-fork"></i></a><a href="{{ site.url }}/projects/yeoman_generator_marionette_drupal">Yeoman Generator: Marionette + Drupal</a>
    * <a target="_blank" href="https://github.com/enzolutions/marionette-waterbed" class="btn btn-primary btn-sm btn-danger" role="button"><i class="fa fa-code-fork"></i></a><a href="{{ site.url }}/projects/marionettejs_waterbed">MarionetteJS Waterbed</a>
    * <a target="_blank" href="https://github.com/enzolutions/backbone.drupal" class="btn btn-primary btn-sm btn-danger" role="button"><i class="fa fa-code-fork"></i></a><a href="{{ site.url }}/projects/backbone_drupal">Backbone.Drupal</a>
    * <a target="_blank" href="https://github.com/enzolutions/marionette-skeleton-app" class="btn btn-primary btn-sm btn-danger" role="button"><i class="fa fa-code-fork"></i></a><a href="{{ site.url }}/projects/marionettejs_skeleton_app">MarionetteJS Skeleton App</a>
    * <a target="_blank" href="https://github.com/enzolutions/marionette-cascading-select" class="btn btn-primary btn-sm btn-danger" role="button"><i class="fa fa-code-fork"></i></a><a href="{{ site.url }}/projects/marionettejs_cascading_select">MarionetteJS Cascading Select</a>
    * <a target="_blank" href="https://github.com/enzolutions/marionette-timeline" class="btn btn-primary btn-sm btn-danger" role="button"><i class="fa fa-code-fork"></i></a><a href="{{ site.url }}/projects/marionettejs_timeline">MarionetteJS Timeline Select</a>

    ### Drupal

    * <a target="_blank" href="https://github.com/enzolutions/drupal_waterbed_rooms" class="btn btn-primary btn-sm btn-danger" role="button"><i class="fa fa-code-fork"></i></a><a href="{{ site.url }}/projects/waterbed_rooms">Waterbed Rooms</a>
    * <a target="_blank" href="https://drupal.org/project/plato_tipico" class="btn btn-primary btn-sm btn-danger" role="button"><i class="fa fa-code-fork"></i></a><a href="{{ site.url }}/projects/plato_tipico">Plato Típico</a>
    * <a target="_blank" href="https://drupal.org/project/openpolitic" class="btn btn-primary btn-sm btn-danger" role="button"><i class="fa fa-code-fork"></i></a><a href="{{ site.url }}/projects/openpolitic">Open Politic</a>

    ## Silex
    * <a target="_blank" href="https://github.com/enzolutions/silex-rss-importer-image-field" class="btn btn-primary btn-sm btn-danger" role="button"><i class="fa fa-code-fork"></i></a><a href="{{ site.url }}/projects/silex_rss_importer_image">Silex RSS Importer Imagen</a>
    * <a target="_blank" href="https://github.com/enzolutions/Spress-plugin-google-analytics" class="btn btn-primary btn-sm btn-danger" role="button"><i class="fa fa-code-fork"></i></a><a href="{{ site.url }}/projects/spress_google_analytics">Spress Google Analytics</a>


    ## Shell

    * <a target="_blank" href="https://github.com/enzolutions/sublime-drupal" class="btn btn-primary btn-sm btn-danger" role="button"><i class="fa fa-code-fork"></i></a><a href="{{ site.url }}/projects/sublime_drupal">Sublime Drupal</a>

     <div class="col-md-12">
      {% include 'page-category-tags.html' %}
    </div>
  </p>
</section>

Check a sample of the output

spress-page-projects

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.