Comments (4)
Hi. So the theme figure shortcode only works for page bundle image resources. For an example usage see https://github.com/zwbetz-gh/cupper-hugo-theme/blob/master/exampleSite/content/post/nasa-images/index.md
from cupper-hugo-theme.
Got it. Thanks!
from cupper-hugo-theme.
It seems that Cupper's figure shortcode masks Hugo's default figure shortcode. The two are different enough that they are both useful in different situations:
- Hugo's figure shortcode allows linking of images in
/static
and adding a link to a picture directly - Cupper's shortcode has image processing built in, which is very useful. However, it centers the figure horizontally and "forces" a caption (otherwise there will be a "Figure x" text under the figure.
I would suggest to rename Cupper's shortcode, so Hugo's can be accessed.
(correct me if I'm wrong. I am new to Hugo)
from cupper-hugo-theme.
@Teebusch see #17. I do one issue per GitHub issue to keep things clean.
from cupper-hugo-theme.
Related Issues (20)
- Error whle using Cupper Theme HOT 2
- syntax highlight for R code chunk in Rmd file HOT 22
- Proposed for PR for enhanced font sizing HOT 6
- Guidance on what to upstream to you and what not HOT 1
- Emoji color inverts when dark mode is enabled HOT 4
- Only <h2>showing in toc HOT 2
- String title instead of logo.svg HOT 1
- How to change logo HOT 3
- Font URL is relative to css directory HOT 7
- Error when create a new post HOT 1
- Disqus comments are disabled. HOT 2
- xlink:href is deprecated HOT 1
- Improve page speed HOT 2
- Dropdown menu on a mobile device HOT 1
- Large gap appears when I include a collapsible object or an icon HOT 1
- failed to render shortcode "figureCupper": failed to process shortcode: HOT 2
- White Appears Below the Footer When in Dark Mode on Smartphones HOT 6
- Superfluous line break in head.html:14 HOT 1
- When using headings containing a link, the linked part gets lost HOT 2
- Paragraph text size seems to be much larger than original cupper HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cupper-hugo-theme.