mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 03:03:09 +00:00
fix #179: replace github images ressource by https instead of http
This commit is contained in:
parent
589cbd30de
commit
17bdacdd9f
2 changed files with 36 additions and 36 deletions
|
@ -596,15 +596,15 @@ Content for chapter one.
|
|||
Images have a similar syntax to links but include a preceding exclamation point.
|
||||
|
||||
```markdown
|
||||
![Minion](http://octodex.github.com/images/minion.png)
|
||||
![Minion](https://octodex.github.com/images/minion.png)
|
||||
```
|
||||
![Minion](http://octodex.github.com/images/minion.png)
|
||||
![Minion](https://octodex.github.com/images/minion.png)
|
||||
|
||||
or
|
||||
```markdown
|
||||
![Alt text](http://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
|
||||
![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
|
||||
```
|
||||
![Alt text](http://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
|
||||
![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
|
||||
|
||||
Like links, Images also have a footnote style syntax
|
||||
|
||||
|
@ -617,47 +617,47 @@ Like links, Images also have a footnote style syntax
|
|||
|
||||
With a reference later in the document defining the URL location:
|
||||
|
||||
[id]: http://octodex.github.com/images/dojocat.jpg "The Dojocat"
|
||||
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
|
||||
|
||||
[id]: http://octodex.github.com/images/dojocat.jpg "The Dojocat"
|
||||
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
|
||||
|
||||
### Resizing image
|
||||
|
||||
Add HTTP parameters `width` and/or `height` to the link image to resize the image. Values are CSS values (default is `auto`).
|
||||
|
||||
```markdown
|
||||
![Minion](http://octodex.github.com/images/minion.png?width=20pc)
|
||||
![Minion](https://octodex.github.com/images/minion.png?width=20pc)
|
||||
```
|
||||
|
||||
![Minion](http://octodex.github.com/images/minion.png?width=20pc)
|
||||
![Minion](https://octodex.github.com/images/minion.png?width=20pc)
|
||||
|
||||
```markdown
|
||||
![Minion](http://octodex.github.com/images/minion.png?height=50px)
|
||||
![Minion](https://octodex.github.com/images/minion.png?height=50px)
|
||||
```
|
||||
|
||||
![Minion](http://octodex.github.com/images/minion.png?height=50px)
|
||||
![Minion](https://octodex.github.com/images/minion.png?height=50px)
|
||||
|
||||
```markdown
|
||||
![Minion](http://octodex.github.com/images/minion.png?height=50px&width=300px)
|
||||
![Minion](https://octodex.github.com/images/minion.png?height=50px&width=300px)
|
||||
```
|
||||
|
||||
![Minion](http://octodex.github.com/images/minion.png?height=50px&width=300px)
|
||||
![Minion](https://octodex.github.com/images/minion.png?height=50px&width=300px)
|
||||
|
||||
### Add CSS classes
|
||||
|
||||
Add a HTTP `classes` parameter to the link image to add CSS classes. `shadow`and `border` are available but you could define other ones.
|
||||
|
||||
```markdown
|
||||
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=shadow)
|
||||
![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=shadow)
|
||||
```
|
||||
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=shadow)
|
||||
![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=shadow)
|
||||
|
||||
```markdown
|
||||
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=border)
|
||||
![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=border)
|
||||
```
|
||||
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border)
|
||||
![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border)
|
||||
|
||||
```markdown
|
||||
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=border,shadow)
|
||||
![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=border,shadow)
|
||||
```
|
||||
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border,shadow)
|
||||
![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border,shadow)
|
||||
|
|
|
@ -598,15 +598,15 @@ Content for chapter one.
|
|||
Images have a similar syntax to links but include a preceding exclamation point.
|
||||
|
||||
```markdown
|
||||
![Minion](http://octodex.github.com/images/minion.png)
|
||||
![Minion](https://octodex.github.com/images/minion.png)
|
||||
```
|
||||
![Minion](http://octodex.github.com/images/minion.png)
|
||||
![Minion](https://octodex.github.com/images/minion.png)
|
||||
|
||||
or
|
||||
```markdown
|
||||
![Alt text](http://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
|
||||
![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
|
||||
```
|
||||
![Alt text](http://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
|
||||
![Alt text](https://octodex.github.com/images/stormtroopocat.jpg "The Stormtroopocat")
|
||||
|
||||
Like links, Images also have a footnote style syntax
|
||||
|
||||
|
@ -619,47 +619,47 @@ Like links, Images also have a footnote style syntax
|
|||
|
||||
With a reference later in the document defining the URL location:
|
||||
|
||||
[id]: http://octodex.github.com/images/dojocat.jpg "The Dojocat"
|
||||
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
|
||||
|
||||
[id]: http://octodex.github.com/images/dojocat.jpg "The Dojocat"
|
||||
[id]: https://octodex.github.com/images/dojocat.jpg "The Dojocat"
|
||||
|
||||
### Resizing image
|
||||
|
||||
Add HTTP parameters `width` and/or `height` to the link image to resize the image. Values are CSS values (default is `auto`).
|
||||
|
||||
```markdown
|
||||
![Minion](http://octodex.github.com/images/minion.png?width=20pc)
|
||||
![Minion](https://octodex.github.com/images/minion.png?width=20pc)
|
||||
```
|
||||
|
||||
![Minion](http://octodex.github.com/images/minion.png?width=20pc)
|
||||
![Minion](https://octodex.github.com/images/minion.png?width=20pc)
|
||||
|
||||
```markdown
|
||||
![Minion](http://octodex.github.com/images/minion.png?height=50px)
|
||||
![Minion](https://octodex.github.com/images/minion.png?height=50px)
|
||||
```
|
||||
|
||||
![Minion](http://octodex.github.com/images/minion.png?height=50px)
|
||||
![Minion](https://octodex.github.com/images/minion.png?height=50px)
|
||||
|
||||
```markdown
|
||||
![Minion](http://octodex.github.com/images/minion.png?height=50px&width=300px)
|
||||
![Minion](https://octodex.github.com/images/minion.png?height=50px&width=300px)
|
||||
```
|
||||
|
||||
![Minion](http://octodex.github.com/images/minion.png?height=50px&width=300px)
|
||||
![Minion](https://octodex.github.com/images/minion.png?height=50px&width=300px)
|
||||
|
||||
### Add CSS classes
|
||||
|
||||
Add a HTTP `classes` parameter to the link image to add CSS classes. `shadow`and `border` are available but you could define other ones.
|
||||
|
||||
```markdown
|
||||
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=shadow)
|
||||
![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=shadow)
|
||||
```
|
||||
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=shadow)
|
||||
![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=shadow)
|
||||
|
||||
```markdown
|
||||
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=border)
|
||||
![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=border)
|
||||
```
|
||||
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border)
|
||||
![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border)
|
||||
|
||||
```markdown
|
||||
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?classes=border,shadow)
|
||||
![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?classes=border,shadow)
|
||||
```
|
||||
![stormtroopocat](http://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border,shadow)
|
||||
![stormtroopocat](https://octodex.github.com/images/stormtroopocat.jpg?width=40pc&classes=border,shadow)
|
||||
|
|
Loading…
Reference in a new issue