mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-21 09:20:23 -05:00
Add placeholders for correctly-sized social share images
This commit is contained in:
parent
2f5ed84e2b
commit
031aca199c
4 changed files with 5 additions and 2 deletions
BIN
public/img/social-image-card.jpg
Normal file
BIN
public/img/social-image-card.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 17 KiB |
BIN
public/img/social-image-opengraph.jpg
Normal file
BIN
public/img/social-image-opengraph.jpg
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
|
@ -111,6 +111,9 @@ The following list of files and directories are where various pieces of the publ
|
|||
* `resources/sass/partials`: Stylessheets for partial-specific styles wrapped in the respective partial component class
|
||||
* `resources/sass/classes`: General stylesheets for classes that can be used anywhere
|
||||
* `resources/sass/mixins`: Stylesheets declaring SCSS mixins for use in other stylesheets
|
||||
* `public/favicon.ico` and `public/favicon.png`: Placeholders for the favicon files
|
||||
* `public/img/logo.png`: Placeholder for the website logo
|
||||
* `public/img/social-image-card.jpg` and `public/img/social-image-opengraph.jpg`: Placeholders for images that will show up in social shares
|
||||
|
||||
Dependencies can be included with npm and loaded either into the `jsPublicLibs` array in the gulpfile or imported in the javascript.
|
||||
|
||||
|
|
|
@ -30,12 +30,12 @@
|
|||
<meta property="og:title" content="{{ $meta['title'] }}" />
|
||||
<meta property="og:description" content="{{ $meta['description'] }}" />
|
||||
<meta property="og:url" content="{{ Request::url() }}" />
|
||||
<meta property="og:image" content="{{ asset('/img/logo.png') }}" />
|
||||
<meta property="og:image" content="{{ asset('/img/social-image-opengraph.jpg') }}" />
|
||||
|
||||
<meta name="twitter:card" content="summary" />
|
||||
<meta name="twitter:title" content="{{ $meta['title'] }}" />
|
||||
<meta name="twitter:description" content="{{ $meta['description'] }}" />
|
||||
<meta name="twitter:image" content="{{ asset('/img/logo.png') }}" />
|
||||
<meta name="twitter:image" content="{{ asset('/img/social-image-card.jpg') }}" />
|
||||
|
||||
<link rel="shortcut icon" href="{{ URL::to('/') }}/favicon.ico?version={{ Version::get() }}" />
|
||||
<link rel="icon" href="{{ URL::to('/') }}/favicon.ico?version={{ Version::get() }}" type="image/x-icon" />
|
||||
|
|
Loading…
Reference in a new issue