Git Product home page Git Product logo

Comments (4)

coogie avatar coogie commented on September 28, 2024

Thanks, glad you like the theme!

It appears I may have missed the styling for Octopress's image tag.
As it's core functionality of Octopress, it's definitely something I want/need to support, but I'm a little strapped for time at the moment. I'll revisit this, probably at the weekend, and see about adding it in.

from oscailte.

eToThePiIPower avatar eToThePiIPower commented on September 28, 2024

I was interested in this too so I took a crack at it. Basically, I

  • copied the applicable css styles to a new scss file, base/_image.scc,
  • included the new scss file in the oscailte.scss
  • changed the div the holds the content back into an tag, to match the
    classic theme and make the css styles apply correctly.
    I haven't had a chance to fully test things yet, so know if there are any problems.

from oscailte.

coogie avatar coogie commented on September 28, 2024

Thanks for the input, folks!

Support for the {% img %} tag is now in Oscailte. However, if you plan on updating your themes, make sure to be aware that there have been several changes to the structure of _config.yml and several of the template files which may break your current installs.

from oscailte.

eToThePiIPower avatar eToThePiIPower commented on September 28, 2024

On a related note, I've done some related work on getting image captions working in Oscailte using the {% imgcap %} tag. It required some changes from how the article described things (mostly putting things in different files, and fixing up the original sass I had written in much the way you just did :D).

I'll be pushing my code once I've fine-tuned some things, hopefully in the next few days.

from oscailte.

Related Issues (20)

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.