remove old theme
|
|
@ -1,375 +0,0 @@
|
|||
Copyright (C) 2018-2019 Appernetic
|
||||
|
||||
hugo-nederburg-theme is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
hugo-nederburg-theme is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with hugo-nederburg-theme. If not, see <https://www.gnu.org/licenses/>.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
hugo-nederburg-theme is a port of the "Tracks" theme by Compete Themes:
|
||||
|
||||
Tracks WordPress Theme, Copyright 2019 Compete Themes
|
||||
Tracks is distributed under the terms of the GNU GPL
|
||||
|
||||
License: GNU General Public License v2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
||||
Tracks also uses:
|
||||
|
||||
* Fitvids, https://github.com/davatron5000/FitVids.js/, Copyright 2011, Chris Coyier & Dave Rupert, WTFPL license, http://www.wtfpl.net/.
|
||||
* Google Fonts, http://google.com/fonts, Copyright 2010, Google, open source licenses, see: https://developers.google.com/fonts/faq#Any_Page_OK.
|
||||
* Font Awesome, http://fontawesome.io/, Copyright 2011, Dave Gandy, MIT license, https://opensource.org/licenses/mit-license.html
|
||||
* Placeholders.js, http://jamesallardice.github.io/Placeholders.js/, Copyright 2012, James Allardice, MIT license, https://opensource.org/licenses/mit-license.html
|
||||
* Multiple Select, http://wenzhixin.net.cn/p/multiple-select/, Copyright 2013, Zhixin Wen, MIT license, https://opensource.org/licenses/mit-license.html
|
||||
* Bike image in screenshot.png : CC0 by Sylwia Bartyzel, https://unsplash.com/photos/eDDQRAYKo7k
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Lesser General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License along
|
||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Lesser General
|
||||
Public License instead of this License.
|
||||
|
|
@ -1,168 +0,0 @@
|
|||
# Nederburg theme for hugo
|
||||
|
||||
Nederburg is a fast and secure theme.
|
||||
|
||||
This Hugo theme was ported from [competethemes](https://www.competethemes.com/tracks/).
|
||||
|
||||

|
||||
|
||||
## Installation
|
||||
|
||||
Go to the directory where you have your Hugo site and run:
|
||||
|
||||
```
|
||||
$ mkdir themes
|
||||
$ cd themes
|
||||
$ git clone https://github.com/appernetic/hugo-nederburg-theme.git
|
||||
```
|
||||
|
||||
For more information read the official [setup guide](https://gohugo.io/overview/installing/) of Hugo or use [Appernetic](https://appernetic.io/).
|
||||
|
||||
## Configuration
|
||||
|
||||
After installing the Nederburg theme successfully, we recommend you to take a look at the [exampleSite](https://github.com/appernetic/hugo-nederburg-theme/tree/master/exampleSite) directory. You will find a working Hugo site configured with the Nederburg theme that you can use as a starting point for your site.
|
||||
|
||||
First, let's take a look at the [config.toml](https://github.com/appernetic/hugo-nederburg-theme/tree/master/exampleSite/config.toml). It will be useful to learn how to customize your site. Feel free to play around with the settings.
|
||||
|
||||
### Gravatar
|
||||
|
||||
To have an image in your author bio shown after posts, go to [Gravatar](https://gravatar.com/) and configure it and then add the email address that you have associated with it in the email section in settings:
|
||||
|
||||
```toml
|
||||
email = "your@gravatar.email"
|
||||
```
|
||||
|
||||
If you are using the **Multiple Writers Features** the Gravitar email address will be taken from the `writers."Writer Name".email` parameter. If you are not using the Multiple Writers Feature and you set the front matter `writer` property to any value (including blank) the `.Site.Params.social.email` configuration will be used if it is set other wise the `.Site.email` property will be used.
|
||||
|
||||
### Style
|
||||
|
||||
Nederburg uses the minified production version of the style sheet from the wordpress version.
|
||||
|
||||
### More style customizations?
|
||||
|
||||
Create `css/custom.css` in your `<<base dir>>/static` folder and add all your custom styling.
|
||||
|
||||
### Comments
|
||||
|
||||
The optional comments system is powered by [Disqus](https://disqus.com). If you want to enable comments, create an account in Disqus and write down your shortname in the config file.
|
||||
|
||||
```toml
|
||||
disqusShortname = "your-disqus-short-name"
|
||||
```
|
||||
|
||||
You can disable the comments system by leaving the `disqusShortname` empty.
|
||||
|
||||
### Google Analytics
|
||||
|
||||
You can optionally enable Google Analytics. Type your tracking code in the ``.
|
||||
|
||||
```toml
|
||||
googleAnalytics = "UA-XXXXX-X"
|
||||
```
|
||||
|
||||
Leave the `googleAnalytics` key empty to disable it.
|
||||
|
||||
### Make the contact form work
|
||||
|
||||
Since this page will be static, you can use [formspree.io](//formspree.io/) as proxy to send the actual email. Each month, visitors can send you up to one thousand emails without incurring extra charges. Begin the setup by following the steps below:
|
||||
|
||||
1. Enter your email address under 'email' in the [`config.toml`](https://github.com/appernetic/hugo-nederburg-them/tree/master/exampleSite/config.toml)
|
||||
2. Upload the generated site to your server
|
||||
3. Send a dummy email yourself to confirm your account
|
||||
4. Click the confirm link in the email from [formspree.io](//formspree.io/)
|
||||
5. You're done. Happy mailing!
|
||||
|
||||
## Multiple Writers Features
|
||||
|
||||
Thanks to Lukas Herman's PR there is now a multiple writers feature. In order to support multiple writers, an extra key, "writers" is added, in config.toml. The format looks like the following:
|
||||
|
||||
```toml
|
||||
[params.writers."Göran Svensson"]
|
||||
link = "https://appernetic.io/"
|
||||
email = "goran@molnsys.com"
|
||||
bio = [
|
||||
"Göran is an avid blogger and the founder of <a href='https://appernetic.io/'>Appernetic.io</a>. This is the author bio shown after posts."
|
||||
]
|
||||
facebook = "full Göran profile url in facebook"
|
||||
googleplus = "full profile url in googleplus"
|
||||
twitter = "full profile url in twitter"
|
||||
linkedin = "full profile url in linkedin"
|
||||
stackoverflow = "full profile url in stackoverflow"
|
||||
instagram = "full profile url in instagram"
|
||||
github = "full profile url in github"
|
||||
pinterest = "full profile url in pinterest"
|
||||
```
|
||||
|
||||
If you have a writer and set it in the front matter of the post markdown file it will override the author in the config. See the exampleSite folder for a working solution. Here is an example of a front matter entry for the writer defined above.
|
||||
|
||||
```toml
|
||||
writer = "Göran Svensson"
|
||||
```
|
||||
|
||||
If you do not define a writer in the front matter the post will default to the `.Site.Author` and use the `.Site.Params.social` configuration entries for the Author links.
|
||||
|
||||
## Images
|
||||
|
||||
Default is to use the static folder for images. If you want to have images in the post folder you unmark the seetings in the config file.
|
||||
|
||||
```toml
|
||||
#UsePostImgFolder = true
|
||||
```
|
||||
### Privacy settings for Google Analytics
|
||||
|
||||
Thanks to [mstroh76](https://github.com/mstroh76) we now have privacy settings for analytics. This is how you configure it (included in exampleSite config.toml):
|
||||
|
||||
```toml
|
||||
[privacy]
|
||||
# Google Analytics privacy settings - https://gohugo.io/about/hugo-and-gdpr/index.html#googleanalytics
|
||||
[privacy.googleAnalytics]
|
||||
# set to true to disable service
|
||||
disable = false
|
||||
# set to true to meet General Data Protection Regulation (GDPR)
|
||||
anonymizeIP = false
|
||||
respectDoNotTrack = false
|
||||
useSessionStorage = false
|
||||
```
|
||||
|
||||
### Nearly finished
|
||||
|
||||
In order to see your site in action, run Hugo's built-in local server.
|
||||
|
||||
```
|
||||
$ hugo server
|
||||
```
|
||||
|
||||
Now enter [`localhost:1313`](http://localhost:1313) in the address bar of your browser.
|
||||
|
||||
|
||||
## Things to do and not (yet) implemented
|
||||
|
||||
- Add the possibility for a description for each category.
|
||||
- ~~Add pagination to the front page.~~
|
||||
- Add dropdown menu option to the left sub menu.
|
||||
- Add previous next pagination in blog post.
|
||||
- Add a search function.
|
||||
- Do a SEO check of site structure and code
|
||||
- Page speed check
|
||||
- ~~Add a default favicon~~
|
||||
- Check that Disqus don’t break anything.
|
||||
|
||||
## Contributing
|
||||
|
||||
Have you found a bug or got an idea for a new feature? Feel free to use the [issue tracker](https://github.com/appernetic/hugo-nederburg-theme/issues) to let me know. Or make directly a [pull request](https://github.com/appernetic/hugo-nederburg-theme/pulls).
|
||||
|
||||
## License
|
||||
|
||||
This port is released under the [GPL License, either version 2](https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt), or (at your option) any later version. See the LICENSE file for details.
|
||||
|
||||
## Thanks
|
||||
|
||||
Thanks to [Steve Francia](https://github.com/spf13) for creating Hugo and the awesome community around the project. And also thanks to [competethemes](https://www.competethemes.com/tracks/) for creating this awesome theme.
|
||||
|
||||
## Sponsors
|
||||
|
||||
List of all the great people and organisations that help us fund this open source work.
|
||||
|
||||
If you want to help support check out my Patreon @ https://www.patreon.com/appernetic
|
||||
|
||||
[Timothy D. Swieter](https://github.com/Swieter)
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
+++
|
||||
+++
|
||||
|
|
@ -1,11 +0,0 @@
|
|||
---
|
||||
title: "Name of the work 1"
|
||||
draft: true
|
||||
image: ""
|
||||
showonlyimage: false
|
||||
categories: ["design"]
|
||||
keywords: ["key", "words"]
|
||||
topics: ["topic 1"]
|
||||
tags: ["one", "two"]
|
||||
weight: 1
|
||||
---
|
||||
|
|
@ -1,113 +0,0 @@
|
|||
baseurl = "https://example.org/"
|
||||
title = "Nederburg"
|
||||
theme = "hugo-nederburg-theme"
|
||||
languageCode = "en-us"
|
||||
# Enable comments by entering your Disqus shortname
|
||||
disqusShortname = ""
|
||||
# Enable Google Analytics by entering your tracking code
|
||||
googleAnalytics = ""
|
||||
preserveTaxonomyNames = true
|
||||
paginate = 5 #frontpage pagination
|
||||
|
||||
[privacy]
|
||||
# Google Analytics privacy settings - https://gohugo.io/about/hugo-and-gdpr/index.html#googleanalytics
|
||||
[privacy.googleAnalytics]
|
||||
# set to true to disable service
|
||||
disable = false
|
||||
# set to true to meet General Data Protection Regulation (GDPR)
|
||||
anonymizeIP = false
|
||||
respectDoNotTrack = false
|
||||
useSessionStorage = false
|
||||
|
||||
[params]
|
||||
# Unmark to use post folder for images. Default is static folder.
|
||||
#usepostimgfolder = true
|
||||
slogan = "A fast & secure theme"
|
||||
description = "Describe your website" # meta description
|
||||
# You need to set author to have an author bio. If you have a writer in the markdown file it will override this.
|
||||
author = "Göran Svensson"
|
||||
authorLink = "https://appernetic.io/"
|
||||
bio = [
|
||||
"Göran is an avid blogger and the founder of <a href='https://appernetic.io/'>Appernetic.io</a>. This is the author bio shown after posts."
|
||||
]
|
||||
copyright = [
|
||||
"© 2018 Göran Svensson",
|
||||
"Nederburg Hugo Theme by [Appernetic](https://appernetic.io).",
|
||||
"A port of Tracks by Compete Themes."
|
||||
]
|
||||
|
||||
|
||||
# Contact page
|
||||
# Since this template is static, the contact form uses www.formspree.io as a
|
||||
# proxy. The form makes a POST request to their servers to send the actual
|
||||
# email. Visitors can send up to a 1000 emails each month for free.
|
||||
#
|
||||
# What you need to do for the setup?
|
||||
#
|
||||
# - set your email address under 'email' below (it is also used in Gravatar for the bio).
|
||||
# - upload the generated site to your server
|
||||
# - send a dummy email yourself to confirm your account
|
||||
# - click the confirm link in the email from www.formspree.io
|
||||
# - you're done. Happy mailing!
|
||||
email = "goran@molnsys.com"
|
||||
|
||||
# Nav links in the side bar
|
||||
[[menu.main]]
|
||||
name = "Home"
|
||||
url = "/"
|
||||
weight = 1
|
||||
|
||||
[[menu.main]]
|
||||
name = "About"
|
||||
url = "about/"
|
||||
weight = 2
|
||||
|
||||
[[menu.main]]
|
||||
name = "Get in touch"
|
||||
url = "contact/"
|
||||
weight = 3
|
||||
|
||||
# this will also be in author bio if there is no writer.
|
||||
[params.social]
|
||||
facebook = "full Social profile url in facebook"
|
||||
googleplus = "full profile url in googleplus"
|
||||
email = "email@example.com"
|
||||
twitter = "full profile url in twitter"
|
||||
linkedin = "full profile url in linkedin"
|
||||
stackoverflow = "full profile url in stackoverflow"
|
||||
instagram = "full profile url in instagram"
|
||||
github = "full profile url in github"
|
||||
pinterest = "full profile url in pinterest"
|
||||
rss = true
|
||||
|
||||
# Add a writer, then use it in the markdown front matter like this: writer = "Lukas Herman"
|
||||
[params.writers]
|
||||
[params.writers."Lukas Herman"]
|
||||
link = "https://lherman.tk"
|
||||
email = "lherman.cs@gmail.com"
|
||||
bio = [
|
||||
"Lukas has a few skills up his sleve. He can fly blindfolded under a bridge while simultanous writing blog posts."
|
||||
]
|
||||
facebook = "full lukas profile url in facebook"
|
||||
googleplus = "full profile url in googleplus"
|
||||
twitter = "full profile url in twitter"
|
||||
linkedin = "full profile url in linkedin"
|
||||
stackoverflow = "full profile url in stackoverflow"
|
||||
instagram = "full profile url in instagram"
|
||||
github = "full profile url in github"
|
||||
pinterest = "full profile url in pinterest"
|
||||
|
||||
[params.writers."Göran Svensson"]
|
||||
link = "https://appernetic.io/"
|
||||
email = "goran@molnsys.com"
|
||||
bio = [
|
||||
"Göran is an avid blogger and the founder of <a href='https://appernetic.io/'>Appernetic.io</a>. This is the author bio shown after posts."
|
||||
]
|
||||
facebook = "full Göran profile url in facebook"
|
||||
googleplus = "full profile url in googleplus"
|
||||
twitter = "full profile url in twitter"
|
||||
linkedin = "full profile url in linkedin"
|
||||
stackoverflow = "full profile url in stackoverflow"
|
||||
instagram = "full profile url in instagram"
|
||||
github = "full profile url in github"
|
||||
pinterest = "full profile url in pinterest"
|
||||
|
|
@ -1,21 +0,0 @@
|
|||
+++
|
||||
date = "2016-11-05T21:05:33+05:30"
|
||||
title = "About me"
|
||||
+++
|
||||
|
||||
An sincerity so extremity he additions. Her yet **there truth merit**. Mrs all projecting favourable now unpleasing. Son law garden chatty temper. Oh children provided to mr elegance marriage strongly. Off can admiration prosperous now devonshire diminution law.
|
||||
|
||||
Received overcame oh sensible so at an. Formed do change merely to county it. **Am separate contempt** domestic to to oh. On relation my so addition branched. Put hearing cottage she norland letters equally prepare too. Replied exposed savings he no viewing as up. Soon body add him hill. No father living really people estate if. Mistake do produce beloved demesne if am pursuit.
|
||||
|
||||
![This is me][1]
|
||||
|
||||
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
#### Education
|
||||
|
||||
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
* Aliquam tincidunt mauris eu risus.
|
||||
|
||||
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then
|
||||
|
||||
[1]: /img/about.jpg
|
||||
|
|
@ -1,10 +0,0 @@
|
|||
+++
|
||||
date = "2016-11-06T13:00:25+05:30"
|
||||
title = "Get in touch"
|
||||
+++
|
||||
|
||||
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then
|
||||
|
||||
Effects present letters inquiry no an removed or friends. Desire behind latter me though in. Supposing shameless am he engrossed up additions. My possible peculiar together to. Desire so better am cannot he up before points. Remember mistaken opinions it pleasure of debating. Court front maids forty if aware their at. Chicken use are pressed removed.
|
||||
|
||||
Able an hope of body. Any nay shyness article matters own removal nothing his forming. Gay own additions education satisfied the perpetual. If he cause manor happy. Without farther she exposed saw man led. Along on happy could cease green oh.
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
+++
|
||||
showonlyimage = true
|
||||
draft = false
|
||||
image = "img/portfolio/a4-paper.jpg"
|
||||
date = "2017-02-14T18:25:22+05:30"
|
||||
title = "Name of the work 1"
|
||||
writer = "Lukas Herman"
|
||||
categories = [ "design"]
|
||||
weight = 1
|
||||
+++
|
||||
|
||||
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life. One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
|
||||
<!--more-->
|
||||
|
||||
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
|
||||
|
||||
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
|
||||
|
||||
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
2. Aliquam tincidunt mauris eu risus.
|
||||
|
||||
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
## Header Level 2
|
||||
|
||||
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
|
||||
|
||||
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
* Aliquam tincidunt mauris eu risus.
|
||||
|
||||
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
+++
|
||||
draft = false
|
||||
image = "img/portfolio/trifold.jpg"
|
||||
showonlyimage = true
|
||||
date = "2018-07-04T20:22:08+05:30"
|
||||
title = "Item with image"
|
||||
writer = "Göran Svensson"
|
||||
weight = 10
|
||||
+++
|
||||
|
||||
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
|
||||
<!--more-->
|
||||
|
||||
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
|
||||
|
||||
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
|
||||
|
||||
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
2. Aliquam tincidunt mauris eu risus.
|
||||
|
||||
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
## Header Level 2
|
||||
|
||||
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
|
||||
|
||||
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
* Aliquam tincidunt mauris eu risus.
|
||||
|
||||
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
+++
|
||||
draft = false
|
||||
image = "img/portfolio/paper-presentation.jpg"
|
||||
showonlyimage = true
|
||||
date = "2018-09-30T20:23:59+05:30"
|
||||
title = "Item with image"
|
||||
writer = "Göran Svensson"
|
||||
weight = 11
|
||||
+++
|
||||
|
||||
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
|
||||
<!--more-->
|
||||
|
||||
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
|
||||
|
||||
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
|
||||
|
||||
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
2. Aliquam tincidunt mauris eu risus.
|
||||
|
||||
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
## Header Level 2
|
||||
|
||||
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
|
||||
|
||||
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
* Aliquam tincidunt mauris eu risus.
|
||||
|
||||
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
+++
|
||||
date = "2016-11-05T19:41:01+05:30"
|
||||
title = "This is a Standard Post"
|
||||
writer = "Göran Svensson"
|
||||
draft = false
|
||||
image = "img/portfolio/logs1.jpg"
|
||||
showonlyimage = false
|
||||
categories = [ "design"]
|
||||
weight = 2
|
||||
description = "Individual meta description for this post"
|
||||
+++
|
||||
|
||||
This is what an ordinary post looks like, and you’re reading a custom excerpt right now. Have fun looking around the theme, and don’t forget to check it out on your phone!
|
||||
<!--more-->
|
||||
|
||||
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane.
|
||||
|
||||
|
||||
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
|
||||
|
||||
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
|
||||
|
||||
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
2. Aliquam tincidunt mauris eu risus.
|
||||
|
||||
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
## Header Level 2
|
||||
|
||||
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
|
||||
|
||||
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
* Aliquam tincidunt mauris eu risus.
|
||||
|
||||
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
+++
|
||||
image = "img/portfolio/bridge1.jpg"
|
||||
showonlyimage = false
|
||||
date = "2017-05-05T19:44:32+05:30"
|
||||
title = "Another Awesome Post"
|
||||
writer = "Göran Svensson"
|
||||
categories = [ "travel" ]
|
||||
draft = false
|
||||
weight = 3
|
||||
+++
|
||||
|
||||
Fifth abundantly made Give sixth hath. Cattle creature i be don't them.
|
||||
<!--more-->
|
||||
|
||||
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
|
||||
|
||||
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
|
||||
|
||||
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
2. Aliquam tincidunt mauris eu risus.
|
||||
|
||||
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
## Header Level 2
|
||||
|
||||
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
|
||||
|
||||
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
* Aliquam tincidunt mauris eu risus.
|
||||
|
||||
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
+++
|
||||
draft = false
|
||||
image = ""
|
||||
showonlyimage = false
|
||||
date = "2017-11-21T19:50:47+05:30"
|
||||
title = "A post without an Image"
|
||||
writer = "Göran Svensson"
|
||||
categories = [ "code" ]
|
||||
weight = 4
|
||||
+++
|
||||
|
||||
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
|
||||
<!--more-->
|
||||
|
||||
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
|
||||
|
||||
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
|
||||
|
||||
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
2. Aliquam tincidunt mauris eu risus.
|
||||
|
||||
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
## Header Level 2
|
||||
|
||||
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
|
||||
|
||||
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
* Aliquam tincidunt mauris eu risus.
|
||||
|
||||
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then
|
||||
|
|
@ -1,33 +0,0 @@
|
|||
+++
|
||||
image = "img/portfolio/railroad-forest1.jpg"
|
||||
showonlyimage = true
|
||||
draft = false
|
||||
date = "2017-12-25T19:53:42+05:30"
|
||||
title = "A Totally Response Theme"
|
||||
writer = "Lukas Herman"
|
||||
categories = [ "photography" ]
|
||||
weight = 5
|
||||
+++
|
||||
|
||||
Fifth abundantly made Give sixth hath. Cattle creature i be don't them.
|
||||
<!--more-->
|
||||
|
||||
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
|
||||
|
||||
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
|
||||
|
||||
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
2. Aliquam tincidunt mauris eu risus.
|
||||
|
||||
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
## Header Level 2
|
||||
|
||||
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
|
||||
|
||||
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
* Aliquam tincidunt mauris eu risus.
|
||||
|
||||
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
+++
|
||||
image = "img/portfolio/bike1.jpg"
|
||||
showonlyimage = false
|
||||
date = "2018-01-01T19:57:40+05:30"
|
||||
title = "Post with a Gallery"
|
||||
writer = "Göran Svensson"
|
||||
draft = false
|
||||
weight = 7
|
||||
+++
|
||||
|
||||
Fifth abundantly made Give sixth hath. Cattle creature i be don't them.
|
||||
<!--more-->
|
||||
|
||||
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
|
||||
|
||||
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
|
||||
|
||||
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
2. Aliquam tincidunt mauris eu risus.
|
||||
|
||||
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
## Header Level 2
|
||||
|
||||
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
|
||||
|
||||
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
* Aliquam tincidunt mauris eu risus.
|
||||
|
||||
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
+++
|
||||
showonlyimage = false
|
||||
draft = false
|
||||
image = "img/portfolio/camera1.jpg"
|
||||
date = "2018-02-14T19:59:22+05:30"
|
||||
title = "A Post with lot of comments"
|
||||
writer = "Göran Svensson"
|
||||
weight = 8
|
||||
+++
|
||||
|
||||
Fifth abundantly made Give sixth hath. Cattle creature i be don't them.
|
||||
<!--more-->
|
||||
|
||||
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
|
||||
|
||||
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
|
||||
|
||||
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
2. Aliquam tincidunt mauris eu risus.
|
||||
|
||||
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
## Header Level 2
|
||||
|
||||
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
|
||||
|
||||
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
* Aliquam tincidunt mauris eu risus.
|
||||
|
||||
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
+++
|
||||
draft = false
|
||||
image = "img/portfolio/birds.jpg"
|
||||
showonlyimage = false
|
||||
date = "2018-05-06T20:02:19+05:30"
|
||||
title = "Blogging is Fun and Worthwhile"
|
||||
writer = "Göran Svensson"
|
||||
weight = 9
|
||||
+++
|
||||
|
||||
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
|
||||
<!--more-->
|
||||
|
||||
Far far away, behind the word mountains, far from the countries Vokalia and Consonantia, there live the blind texts. Separated they live in Bookmarksgrove right at the coast of the Semantics, a large language ocean.
|
||||
|
||||
A small river named Duden flows by their place and supplies it with the necessary regelialia. It is a paradisematic country, in which roasted parts of sentences fly into your mouth.
|
||||
|
||||
1. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
2. Aliquam tincidunt mauris eu risus.
|
||||
|
||||
> The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
## Header Level 2
|
||||
|
||||
Even the all-powerful Pointing has no control about the blind texts it is an almost unorthographic life One day however a small line of blind text by the name of Lorem Ipsum decided to leave for the far World of Grammar.
|
||||
|
||||
The Big Oxmox advised her not to do so, because there were thousands of bad Commas, wild Question Marks and devious Semikoli, but the Little Blind Text didn't listen. She packed her seven versalia, put her initial into the belt and made herself on the way.
|
||||
|
||||
* Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
|
||||
* Aliquam tincidunt mauris eu risus.
|
||||
|
||||
When she reached the first hills of the Italic Mountains, she had a last view back on the skyline of her hometown Bookmarksgrove, the headline of Alphabet Village and the subline of her own road, the Line Lane. Pityful a rethoric question ran over her cheek, then
|
||||
|
Before Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 55 KiB |
|
Before Width: | Height: | Size: 130 KiB |
|
Before Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 651 KiB |
|
Before Width: | Height: | Size: 52 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 76 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 41 KiB |
|
Before Width: | Height: | Size: 145 KiB |
|
Before Width: | Height: | Size: 39 KiB |
|
Before Width: | Height: | Size: 156 KiB |
|
Before Width: | Height: | Size: 684 KiB |
|
Before Width: | Height: | Size: 59 KiB |
|
Before Width: | Height: | Size: 699 KiB |
|
Before Width: | Height: | Size: 303 KiB |
|
|
@ -1,29 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
<head>{{ partial "head.html" . }}</head>
|
||||
{{ block "body" . }}
|
||||
<body class="home blog ct-body standard">
|
||||
{{ end }}
|
||||
<div id="overflow-container" class="overflow-container">
|
||||
<a class="skip-content" href="#main">Skip to content</a>
|
||||
<header id="site-header" class="site-header" role="banner">
|
||||
<div class='top-navigation'>
|
||||
{{ partial "topnavigation.html" . }}
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
{{ partial "header.html" . }}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div id="main" class="main" role="main">
|
||||
|
||||
{{ block "main" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
{{ partial "scripts.html" . }}
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -1,298 +0,0 @@
|
|||
{{ define "body" }}
|
||||
{{ partial "victorhugo.html" . }}
|
||||
|
||||
<body class="post-template-default single single-post single-format-standard ct-body singular singular-post not-front standard">
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ define "main" }}
|
||||
{{ $scratch := newScratch }}
|
||||
{{ if .Site.Params.writers }}
|
||||
{{ $scratch.Set "writer" (index .Site.Params.writers (lower .Params.writer) | default dict) }}
|
||||
{{ else }}
|
||||
{{ $scratch.Set "writer" (.Site.Params.social | default dict) }}
|
||||
{{ end }}
|
||||
{{ $writer := $scratch.Get "writer" }}
|
||||
<div id="loop-container" class="loop-container">
|
||||
{{ if and (isset .Params "image") .Params.image }}
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-design tag-standard-2 tag-tagalicious tag-travel entry full-without-featured odd excerpt-1">
|
||||
|
||||
<div class='featured-image lazy lazy-bg-image' {{ if isset .Site.Params "usepostimgfolder" }} data-background="{{ .Permalink }}{{ .Params.image }}"{{ else }} data-background="{{ .Params.image | absURL }}"{{ end }}>
|
||||
</div>
|
||||
{{ else }}
|
||||
|
||||
<div class="post type-post status-publish format-standard hentry category-standard category-travel entry full-without-featured odd excerpt-1">
|
||||
|
||||
{{ end }}
|
||||
<div class="entry-meta">
|
||||
<span class="date">{{ .Date.Format "02 January" }}</span> <span> / </span>
|
||||
|
||||
<span class="author">
|
||||
<a href="{{ $writer.link | default .Site.Params.authorlink | absURL }}" title="Posts by {{ .Params.writer | default .Site.Params.author }}" rel="author">{{ .Params.writer | default .Site.Params.author }}</a>
|
||||
</span>
|
||||
|
||||
|
||||
{{ range .Params.categories }}
|
||||
<span class="category">
|
||||
<span> / </span>
|
||||
|
||||
<a href="/categories/{{ . | urlize }}">{{ . }}</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
|
||||
</div>
|
||||
<div class='entry-header'>
|
||||
<h1 class='entry-title'> {{ .Title }}</h1>
|
||||
</div>
|
||||
<div class="entry-container">
|
||||
<div class="entry-content">
|
||||
<article>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
</div>
|
||||
<!-- <div class="sidebar sidebar-after-post-content" id="sidebar-after-post-content">
|
||||
<section id="text-2" class="widget widget_text"><h2 class="widget-title">After Post Content Widget</h2> <div class="textwidget"><p>This is a widget in the "After Post Content" widget area. It's a great place to include related posts or an email optin form.</p>
|
||||
</div>
|
||||
</section> </div>-->
|
||||
<div class='entry-meta-bottom'>
|
||||
<!--<nav class="further-reading">
|
||||
<p class="prev">
|
||||
<span>Previous Post</span>
|
||||
<a href="https://www.competethemes.com/tracks-live-demo/another-awesome-post/">Another Awesome Post</a>
|
||||
</p>
|
||||
<p class="next">
|
||||
<span>No Newer Posts</span>
|
||||
<a href="https://www.competethemes.com/tracks-live-demo">Return to Blog</a>
|
||||
</p>
|
||||
</nav>-->
|
||||
|
||||
<div class="entry-categories"><p><span>Categories</span>
|
||||
{{ range $index, $name := .Params.categories }}
|
||||
<a href="{{ "/categories/" | relLangURL }}{{ $name | urlize }}" title="View all posts in {{ $name }}">{{ $name }}</a>{{ end }}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="entry-tags"><p><span>Tags</span>
|
||||
{{ range $index, $name := .Params.tags }}
|
||||
<a href="{{ "/tags/" | relLangURL }}{{ $name | urlize }}" title="View all posts tagged {{ $name }}">{{ $name }}</a>
|
||||
{{ end }}
|
||||
|
||||
</p></div> </div>
|
||||
|
||||
{{ if and (isset .Site.Params "author") .Site.Params.author }}
|
||||
<div class="author-meta">
|
||||
|
||||
<div class="author">
|
||||
{{ if and (isset .Params "writer") $writer.email }}
|
||||
<img alt='{{ .Params.writer | default .Site.Params.author }}' src="https://www.gravatar.com/avatar/{{ md5 $writer.email }}?s=100&d=identicon" class='avatar avatar-72 photo' height='72' width='72'>
|
||||
{{ else }}
|
||||
<img alt='{{ .Params.writer | default .Site.Params.author }}' src="https://www.gravatar.com/avatar/{{ md5 .Site.Params.email }}?s=100&d=identicon" class='avatar avatar-72 photo' height='72' width='72'>
|
||||
{{ end }}
|
||||
<span>
|
||||
Written by:<a href="{{ $writer.link | default .Site.Params.authorlink | absURL}}" title="Posts by {{ .Params.writer | default .Site.Params.author }}" rel="author">{{ .Params.writer | default .Site.Params.author }}</a> </span>
|
||||
</div>
|
||||
<div class="bio">
|
||||
{{ if and (isset .Params "writer") $writer.bio }}
|
||||
{{ range $writer.bio }}
|
||||
<p>{{ . | default "" | safeHTML }}</p>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
{{ range .Site.Params.bio }}
|
||||
<p>{{ . | default "" | safeHTML }}</p>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if isset .Params "writer" }}
|
||||
{{ with $writer.facebook }}
|
||||
<a class="facebook" target="_blank"
|
||||
href="{{ . }}">
|
||||
<i class="fab fa-facebook-f"
|
||||
title="facebook icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
{{ with $writer.googleplus }}
|
||||
<a class="googleplus" target="_blank"
|
||||
href="{{ . }}">
|
||||
<i class="fab fa-google-plus-g"
|
||||
title="googleplus icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
|
||||
{{ with $writer.twitter }}
|
||||
<a class="twitter" target="_blank"
|
||||
href="{{ . }}">
|
||||
<i class="fab fa-twitter-square"
|
||||
title="twitter icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
{{ with $writer.linkedin }}
|
||||
<a class="linkedin" target="_blank"
|
||||
href="{{ . }}">
|
||||
<i class="fab fa-linkedin"
|
||||
title="linkedin icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
{{ with $writer.email }}
|
||||
<a class="email" target="_blank"
|
||||
href="mailto:{{ . }}">
|
||||
<i class="fas fa-envelope"
|
||||
title="email icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
{{ with $writer.instagram }}
|
||||
<a class="instagram" target="_blank"
|
||||
href="{{ . }}">
|
||||
<i class="fab fa-instagram"
|
||||
title="instagram icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
{{ with $writer.stackoverflow }}
|
||||
<a class="stackoverflow" target="_blank"
|
||||
href="{{ . }}">
|
||||
<i class="fab fa-stack-overflow"
|
||||
title="stackoverflow icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
{{ with $writer.github }}
|
||||
<a class="github" target="_blank"
|
||||
href="{{ . }}">
|
||||
<i class="fab fa-github"
|
||||
title="github icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
|
||||
{{ with $writer.pinterest }}
|
||||
<a class="pinterest" target="_blank"
|
||||
href="{{ . }}">
|
||||
<i class="fab fa-pinterest"
|
||||
title="pinterest icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
|
||||
{{ else }}
|
||||
{{ with .Site.Params.social.facebook }}
|
||||
<a class="facebook" target="_blank"
|
||||
href="{{ . }}">
|
||||
<i class="fab fa-facebook-f"
|
||||
title="facebook icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.googleplus }}
|
||||
<a class="googleplus" target="_blank"
|
||||
href="{{ . }}">
|
||||
<i class="fab fa-google-plus-g"
|
||||
title="googleplus icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
|
||||
{{ with .Site.Params.social.twitter }}
|
||||
<a class="twitter" target="_blank"
|
||||
href="{{ . }}">
|
||||
<i class="fab fa-twitter-square"
|
||||
title="twitter icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
{{ with .Site.Params.social.linkedin }}
|
||||
<a class="linkedin" target="_blank"
|
||||
href="{{ . }}">
|
||||
<i class="fab fa-linkedin"
|
||||
title="linkedin icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.email }}
|
||||
<a class="email" target="_blank"
|
||||
href="mailto:{{ . }}">
|
||||
<i class="fas fa-envelope"
|
||||
title="email icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.instagram }}
|
||||
<a class="instagram" target="_blank"
|
||||
href="{{ . }}">
|
||||
<i class="fab fa-instagram"
|
||||
title="instagram icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.stackoverflow }}
|
||||
<a class="stackoverflow" target="_blank"
|
||||
href="{{ . }}">
|
||||
<i class="fab fa-stack-overflow"
|
||||
title="stackoverflow icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.github }}
|
||||
<a class="github" target="_blank"
|
||||
href="{{ . }}">
|
||||
<i class="fab fa-github"
|
||||
title="github icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
|
||||
|
||||
{{ with .Site.Params.social.pinterest }}
|
||||
<a class="pinterest" target="_blank"
|
||||
href="{{ . }}">
|
||||
<i class="fab fa-pinterest"
|
||||
title="pinterest icon"></i>
|
||||
</a>
|
||||
{{end}}
|
||||
{{ end }}
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<section id="comments" class="comments">
|
||||
{{ template "_internal/disqus.html" . }}
|
||||
|
||||
<!--<div class="comments-number">
|
||||
<h2>
|
||||
4 Comments </h2>
|
||||
</div>-->
|
||||
|
||||
<!--
|
||||
<ol class="comment-list">
|
||||
<li class="comment even thread-even depth-1" id="li-comment-54">
|
||||
<article id="comment-54" class="comment">
|
||||
<div class="comment-author">
|
||||
<img alt='' src='https://secure.gravatar.com/avatar/39f7e57ccd31847dc1a4bfb2ee1cd596?s=72&d=mm&r=g' srcset='https://secure.gravatar.com/avatar/39f7e57ccd31847dc1a4bfb2ee1cd596?s=144&d=mm&r=g 2x' class='avatar avatar-72 photo' height='72' width='72' /> <div>
|
||||
<div class="author-name"><a href='http://commenter.url' rel='external nofollow' class='url'>Commenter 2799</a></div>
|
||||
<div class="comment-date">April 18</div>
|
||||
<a rel='nofollow' class='comment-reply-link' href='https://www.competethemes.com/tracks-live-demo/this-is-a-standard-post/?replytocom=54#respond' onclick='return addComment.moveForm( "comment-54", "54", "respond", "1969" )' aria-label='Reply to Commenter 2799'>Reply</a> </div>
|
||||
</div>
|
||||
<div class="comment-content">
|
||||
<p>sque lacus. Etiam consectetur rutrum justo.</p>
|
||||
<p>Duis facilisis. Aliquam sagittis. Proin consectetur egestas metus. Curabitur pellentesque posuere arcu. Integer lorem nulla, congue a, rhoncus nec, vestibulum a, ante. Mauris lobortis iaculis erat. Maecenas faucibus tincidunt dui. Cras accumsan vestibulum ligula. Morbi dapibus, lorem nec euismod pharetra, augue risus congue augue, molestie eleifend lacus magna nec magna. Mo</p>
|
||||
</div>
|
||||
</article>
|
||||
</li>
|
||||
|
||||
</ol>-->
|
||||
|
||||
|
||||
</section>
|
||||
</div>
|
||||
|
||||
<!--</div>--> <!-- .main -->
|
||||
|
||||
|
||||
{{ end }}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
{{ define "body" }}
|
||||
Not today, bye!
|
||||
{{ end }}
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
{{ define "body" }}
|
||||
|
||||
<body class="page-template-default page ct-body singular singular-page not-front standard">
|
||||
{{ end }}
|
||||
{{ define "main" }}
|
||||
<div id="main" class="main" role="main">
|
||||
|
||||
<div id="loop-container" class="loop-container">
|
||||
<div class="entry">
|
||||
<div class="entry-header">
|
||||
<h1 class="entry-title">{{ .Title }}</h1>
|
||||
</div>
|
||||
<div class="entry-container">
|
||||
<div class="entry-content">
|
||||
<article>
|
||||
{{ .Content }}
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div> </div>
|
||||
|
||||
</div>
|
||||
{{ end }}
|
||||
|
|
@ -1,51 +0,0 @@
|
|||
{{ define "body" }}
|
||||
|
||||
<body class="page-template-default page ct-body singular singular-page not-front standard">
|
||||
{{ end }}
|
||||
{{ define "main" }}
|
||||
|
||||
<div id="loop-container" class="loop-container">
|
||||
<div class="entry">
|
||||
<div class="entry-header">
|
||||
<h1 class="entry-title">{{ .Title }}</h1>
|
||||
</div>
|
||||
<div class="entry-container">
|
||||
<div class="entry-content">
|
||||
<article>
|
||||
{{ .Content }}
|
||||
|
||||
<div id="simple-contact-form" class="scf">
|
||||
{{ with .Site.Params.email }}
|
||||
<form method="post" action="https://formspree.io/{{ . }}">
|
||||
<fieldset class="scf-name">
|
||||
<label for="scf_name">Name (Required)</label>
|
||||
<input name="scf_name" id="scf_name" type="text" size="33" maxlength="99" value="" placeholder="Your Name">
|
||||
</fieldset>
|
||||
<fieldset class="scf-email">
|
||||
<label for="scf_email">Email (Required)</label>
|
||||
<input name="scf_email" id="scf_email" type="text" size="33" maxlength="99" value="" placeholder="Your Email">
|
||||
</fieldset>
|
||||
<fieldset class="scf-response">
|
||||
<label for="scf_response">1 + 1 =</label>
|
||||
<input name="scf_response" id="scf_response" type="text" size="33" maxlength="99" value="" placeholder="Correct Response">
|
||||
</fieldset>
|
||||
<fieldset class="scf-message">
|
||||
<label for="scf_message">Message (Required)</label>
|
||||
<textarea name="scf_message" id="scf_message" cols="33" rows="7" placeholder="Your Message"></textarea>
|
||||
</fieldset>
|
||||
<div class="scf-submit">
|
||||
<input type="submit" id="scf-button" value="Send email">
|
||||
<input type="hidden" id="scf-key" name="scf-key" value="process">
|
||||
<input type="hidden" id="scf-nonce" name="scf-nonce" value="52582b0798">
|
||||
</div>
|
||||
</form>
|
||||
<style>#simple-contact-form fieldset { width: 100%; overflow: hidden; margin: 12px 0; border: 0; padding: 1px; } #simple-contact-form fieldset input { float: left; width: 60%; } #simple-contact-form textarea { float: left; clear: both; width: 95%; } #simple-contact-form label { float: none; clear: both; display: block; margin-bottom: 12px;}</style>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div style="clear:both"> </div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div> </div>
|
||||
|
||||
{{ end }}
|
||||
|
|
@ -1,4 +0,0 @@
|
|||
{{ define "main" }}
|
||||
{{ partial "portfolio.html" . }}
|
||||
{{ partial "pagination.html" . }}
|
||||
{{ end }}
|
||||
|
|
@ -1,83 +0,0 @@
|
|||
<div class="archive-header">
|
||||
<h1>
|
||||
Category: {{ .Title }}
|
||||
{{ if .Site.Params.social.rss }}
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
<a href="{{ .RelPermalink }}" data-animate-hover="pulse" class="in-page-rss" target="_blank">
|
||||
<i class="fas fa-rss" title="rss"></i>
|
||||
<span class="screen-reader-text">rss</span>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<h1 class="screen-reader-text">Posts</h1>
|
||||
<div id="loop-container" class="loop-container">
|
||||
{{ range $index, $element := (where .Data.Pages "Section" "post").ByDate.Reverse }}
|
||||
|
||||
{{ $scratch := newScratch }}
|
||||
{{ if .Site.Params.writers }}
|
||||
{{ $scratch.Set "writer" (index .Site.Params.writers (lower .Params.writer) | default dict) }}
|
||||
{{ else }}
|
||||
{{ $scratch.Set "writer" .Site.Params.social | default dict }}
|
||||
{{ end }}
|
||||
{{ $writer := $scratch.Get "writer" }}
|
||||
|
||||
{{ if and (isset .Params "image") .Params.image }}
|
||||
{{ if eq (mod $index 2) 0 }}
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
{{ else }}
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<div class="post type-post status-publish format-standard hentry category-standard category-travel excerpt zoom full-without-featured odd excerpt">
|
||||
{{ end }}
|
||||
|
||||
{{ if and (isset .Params "image") .Params.image }}
|
||||
<a class="featured-image-link" href="{{ .Permalink }}"><div class='featured-image lazy lazy-bg-image' {{if isset .Site.Params "usepostimgfolder"}}data-background="{{ .Permalink }}{{ .Params.image }}"{{ else }}data-background="{{ .Params.image | absURL }}"{{ end }}></div></a>
|
||||
{{ end }}
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">{{ .Date.Format "02 January" }}</span>
|
||||
|
||||
|
||||
|
||||
{{ if and (isset .Site.Params "authorlink") .Site.Params.authorLink }}
|
||||
{{ if and (isset .Site.Params "author") .Site.Params.author }}
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="{{ $writer.link | default .Site.Params.authorlink | absURL }}" title="Posts by {{ .Params.writer | default .Site.Params.author }}" rel="author">{{ .Params.writer | default .Site.Params.author }}</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<span class="author">
|
||||
{{ .Params.writer | default .Site.Params.author }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
|
||||
{{ range .Params.categories }}
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/{{ . | urlize }}">{{ . }}</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="{{ .Permalink }} "> {{ .Title }} </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
{{ .Summary }}
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="{{ .Permalink }}">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
@ -1,132 +0,0 @@
|
|||
<footer id="site-footer" class="site-footer" role="contentinfo">
|
||||
<h1>
|
||||
{{ with .Site.Title }}
|
||||
<a href=""> {{ . }} </a>
|
||||
{{ end }}
|
||||
</h1>
|
||||
|
||||
{{ with .Site.Params.Slogan }}
|
||||
<p class="site-description">{{ . | default "" | safeHTML }}</p>
|
||||
{{ end }}
|
||||
|
||||
<div id="menu-footer" class="menu-container menu-footer" role="navigation">
|
||||
<div class="menu">
|
||||
|
||||
<ul id="menu-footer-items" class="menu-footer-items">
|
||||
{{ range $name, $taxonomy := .Site.Params.Navlinks }}
|
||||
<li id="menu-item" class="menu-item menu-item-type-post_type menu-item-object-page menu-item"><a href="/{{ $taxonomy.url | urlize }}">{{ $taxonomy.name }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
</div> </div>
|
||||
|
||||
<ul class="social-media-icons">
|
||||
|
||||
{{ with .Site.Params.social.facebook }}
|
||||
<li>
|
||||
<a class="facebook" target="_blank"
|
||||
href="{{ . }}" >
|
||||
<i class="fab fa-facebook-f" title="facebook"></i>
|
||||
<span class="screen-reader-text">facebook</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.googleplus }}
|
||||
<li>
|
||||
<a class="googleplus" target="_blank"
|
||||
href="{{ . }}" >
|
||||
<i class="fab fa-google-plus-g" title="googleplus"></i>
|
||||
<span class="screen-reader-text">googleplus</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
|
||||
{{ with .Site.Params.social.twitter }}
|
||||
<li>
|
||||
<a href="{{ . }}" class="twitter" target="_blank">
|
||||
<i class="fab fa-twitter-square" title="twitter"></i>
|
||||
<span class="screen-reader-text">twitter</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.instagram }}
|
||||
<li>
|
||||
<a href="{{ . }}" class="instagram" target="_blank">
|
||||
<i class="fab fa-instagram" title="instagram"></i>
|
||||
<span class="screen-reader-text">instagram</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.email }}
|
||||
<li>
|
||||
<a href="mailto:{{ . }}" class="email">
|
||||
<i class="fas fa-envelope" title="email"></i>
|
||||
<span class="screen-reader-text">email</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.linkedin }}
|
||||
<li>
|
||||
<a href="{{ . }}" class="linkedin" target="_blank">
|
||||
<i class="fab fa-linkedin-in" title="linkedin"></i>
|
||||
<span class="screen-reader-text">linkedin</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.stackoverflow }}
|
||||
<li>
|
||||
<a href="{{ . }}" class="stackoverflow" target="_blank">
|
||||
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
|
||||
<span class="screen-reader-text">stackoverflow</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
|
||||
{{ with .Site.Params.social.github }}
|
||||
<li>
|
||||
<a href="{{ . }}" class="github" target="_blank">
|
||||
<i class="fab fa-github" title="github"></i>
|
||||
<span class="screen-reader-text">github</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
|
||||
{{ with .Site.Params.social.pinterest }}
|
||||
<li>
|
||||
<a href="{{ . }}" class="pinterest" target="_blank">
|
||||
<i class="fab fa-pinterest" title="pinterest"></i>
|
||||
<span class="screen-reader-text">pinterest</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
{{ if .Site.Params.social.rss }}
|
||||
<li>
|
||||
<a href="{{ .Site.RSSLink }}" data-animate-hover="pulse" class="rss" target="_blank">
|
||||
<i class="fas fa-rss" title="rss"></i>
|
||||
<span class="screen-reader-text">rss</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
</ul> <div class="design-credit">
|
||||
{{ range .Site.Params.copyright }}
|
||||
<p>{{ . | markdownify }}</p>
|
||||
{{ else }}
|
||||
<p>
|
||||
Nederburg Hugo Theme by <a target="_blank" href="https://appernetic.io">Appernetic</a>.
|
||||
</p>
|
||||
<p>
|
||||
A port of Tracks by Compete Themes.
|
||||
</p>
|
||||
{{ end }}
|
||||
</div>
|
||||
</footer>
|
||||
|
|
@ -1,30 +0,0 @@
|
|||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
{{ partial "schema" . }}
|
||||
|
||||
{{ with .Title }} <title>{{ . }} {{if $.IsHome}}- {{ $.Site.Params.slogan | default "" | safeHTML }}{{ end }}</title>
|
||||
{{ end }}
|
||||
|
||||
{{ if .Description }}<meta name="description" content="{{ .Description }}" />
|
||||
{{ else }}<meta name="description" content="{{ .Site.Params.description }}" />
|
||||
{{ end }}
|
||||
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<meta name="robots" content="all,follow">
|
||||
<meta name="googlebot" content="index,follow,snippet,archive">
|
||||
<!-- Upgraded to Font Awesome 5.3 no need for local files using all.css so all icons are available -->
|
||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.3.1/css/all.css" integrity="sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU" crossorigin="anonymous">
|
||||
<!-- Theme stylesheet, if possible do not edit this stylesheet -->
|
||||
<link href="{{ "css/style.css" | absURL }}?v={{ now.Unix }}" rel="stylesheet" id="theme-stylesheet" type='text/css' media='all'>
|
||||
<!-- Custom stylesheet - for your changes -->
|
||||
<link href="{{ "css/custom.css" | absURL }}?v={{ now.Unix }}" rel="stylesheet" type='text/css' media='all'>
|
||||
<link rel="shortcut icon" href="{{ "img/favicon.ico" | absURL }}" type="image/x-icon">
|
||||
<link rel="icon" href="{{ "img/favicon.ico" | absURL }}" type="image/x-icon">
|
||||
{{ if .Params.social.rss }}
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
<link href="{{ .RelPermalink }}" rel="alternate" type="application/rss+xml" title="{{ .Site.Title | default "" }}" />
|
||||
<link href="{{ .RelPermalink }}" rel="feed" type="application/rss+xml" title="{{ .Site.Title | default "" }}" />
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
<div id="title-info" class="title-info">
|
||||
<div id='site-title' class='site-title'>
|
||||
{{ if ( ne .Site.Title "" ) }}
|
||||
<a href="{{ .Site.BaseURL | relLangURL }}"> {{ .Site.Title }} </a>
|
||||
{{ end }}</div>
|
||||
</div>
|
||||
<button id="toggle-navigation" class="toggle-navigation">
|
||||
<i class="fas fa-bars"></i>
|
||||
</button>
|
||||
|
||||
<div id="menu-primary-tracks" class="menu-primary-tracks"></div>
|
||||
<div id="menu-primary" class="menu-container menu-primary" role="navigation">
|
||||
{{ with .Site.Params.Slogan }}
|
||||
<p class="site-description">{{ . | default "" | safeHTML }}</p>
|
||||
{{ end }}
|
||||
|
||||
<div class="menu">
|
||||
<ul id="menu-primary-items" class="menu-primary-items">
|
||||
{{ $page := . }}
|
||||
{{ range .Site.Menus.main }}
|
||||
<li class='menu-item {{ if eq ("/") (.URL) }}menu-item-type-custom menu-item-object-custom{{ else }}menu-item-type-post_type menu-item-object-page{{ end }} {{ if $page.IsMenuCurrent "main" . }}current-menu-item current_page_item{{ end }}'>
|
||||
<a href="{{ .URL | absURL }}">{{ .Name }}</a>
|
||||
{{ if .HasChildren }}
|
||||
<ul class="sub-menu">
|
||||
{{ range .Children }}
|
||||
<li class='menu-item {{ if eq ("/") (.URL) }}menu-item-type-custom menu-item-object-custom{{ else }}menu-item-type-post_type menu-item-object-page{{ end }} {{ if $page.IsMenuCurrent "main" . }}current-menu-item current_page_item{{ end }}'>
|
||||
<a href="{{ .URL | absURL }}">{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
|
@ -1,32 +0,0 @@
|
|||
{{ $pag := $.Paginator }}
|
||||
{{ if gt $pag.TotalPages 1 }}
|
||||
<nav class="navigation pagination" role="navigation">
|
||||
<h2 class="screen-reader-text">Posts navigation</h2>
|
||||
<div class="nav-links">
|
||||
{{ if $pag.HasPrev }}
|
||||
<a class="prev page-numbers" href="{{ $pag.Prev.URL }}">Previous</a>
|
||||
{{ end }}
|
||||
{{ $.Scratch.Set "__paginator.ellipsed" false }}
|
||||
{{ range $pag.Pagers }}
|
||||
{{ $right := sub .TotalPages .PageNumber }}
|
||||
{{ $showNumber := or (le .PageNumber 3) (eq $right 0) }}
|
||||
{{ $showNumber := or $showNumber (and (gt .PageNumber (sub $pag.PageNumber 2)) (lt .PageNumber (add $pag.PageNumber 2))) }}
|
||||
{{ if $showNumber }}
|
||||
{{ $.Scratch.Set "__paginator.ellipsed" false }}
|
||||
{{ $.Scratch.Set "__paginator.shouldEllipse" false }}
|
||||
{{ else }}
|
||||
{{ $.Scratch.Set "__paginator.shouldEllipse" (not ($.Scratch.Get "__paginator.ellipsed") ) }}
|
||||
{{ $.Scratch.Set "__paginator.ellipsed" true }}
|
||||
{{ end }}
|
||||
{{ if $showNumber }}
|
||||
<a class="page-numbers" href="{{ .URL }}">{{ .PageNumber }}</a>
|
||||
{{ else if ($.Scratch.Get "__paginator.shouldEllipse") }}
|
||||
<span aria-current="page" class="page-numbers current">{{ .PageNumber }}</span>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ if $pag.HasNext }}
|
||||
<a class="next page-numbers" href="{{ $pag.Next.URL }}">Next</a>
|
||||
{{ end }}
|
||||
</div>
|
||||
</nav>
|
||||
{{ end }}
|
||||
|
|
@ -1,70 +0,0 @@
|
|||
<h1 class="screen-reader-text">Posts</h1>
|
||||
|
||||
<div id="loop-container" class="loop-container">
|
||||
{{ $paginator := .Paginate (where (where .Site.Pages "Type" "post").ByDate.Reverse "IsPage" true) }}
|
||||
{{ range $index, $element := .Paginator.Pages }}
|
||||
{{ $scratch := newScratch }}
|
||||
{{ if .Site.Params.writers }}
|
||||
{{ $scratch.Set "writer" (index .Site.Params.writers (lower .Params.writer) | default dict) }}
|
||||
{{ else }}
|
||||
{{ $scratch.Set "writer" (.Site.Params.social | default dict) }}
|
||||
{{ end }}
|
||||
{{ $writer := $scratch.Get "writer" }}
|
||||
{{ if and (isset .Params "image") .Params.image }}
|
||||
{{ if eq (mod $index 2) 0 }}
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
{{ else }}
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
|
||||
<div class="post type-post status-publish format-standard hentry category-standard category-travel excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ if and (isset .Params "image") .Params.image }}
|
||||
<a class="featured-image-link" href="{{ .Permalink }}"><div class='featured-image lazy lazy-bg-image' {{if isset .Site.Params "usepostimgfolder"}}data-background="{{ .Permalink }}{{ .Params.image }}"{{ else }}data-background="{{ .Params.image | absURL }}"{{ end }}></div></a>
|
||||
|
||||
{{ end }}
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">{{ .Date.Format "02 January" }}</span>
|
||||
|
||||
{{ if and (isset .Site.Params "authorlink") .Site.Params.authorLink }}
|
||||
{{ if and (isset .Site.Params "author") .Site.Params.author }}
|
||||
<span> / </span>
|
||||
<span class="author">
|
||||
<a href="{{ $writer.link | default .Site.Params.authorlink | absURL }}" title="Posts by {{ .Params.writer | default .Site.Params.author }}" rel="author">{{ .Params.writer | default .Site.Params.author }}</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
<span class="author">
|
||||
{{ .Params.writer | default .Site.Params.author }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
|
||||
|
||||
{{ range .Params.categories }}
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/{{ . | urlize }}">{{ . }}</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="{{ .Permalink }} "> {{ .Title }} </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
{{ .Summary }}
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="{{ .Permalink }}">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
<script type="application/ld+json">
|
||||
{
|
||||
"@context" : "http://schema.org",
|
||||
"@type" : "BlogPosting",
|
||||
"mainEntityOfPage": {
|
||||
"@type": "WebPage",
|
||||
"@id": "{{ .Site.BaseURL }}"
|
||||
},
|
||||
"articleSection" : "{{ .Section }}",
|
||||
"name" : "{{ .Title }}",
|
||||
"headline" : "{{ .Title }}",
|
||||
"description" : "{{ if .Description }}{{ .Description }}{{ else }}{{if .IsPage}}{{ .Summary }}{{ end }}{{ end }}",
|
||||
"inLanguage" : "en",
|
||||
"author" : "{{ .Page.Params.author }}",
|
||||
"creator" : "{{ .Page.Params.author }}",
|
||||
"publisher": "{{ .Page.Params.author }}",
|
||||
"accountablePerson" : "{{ .Page.Params.author }}",
|
||||
"copyrightHolder" : "{{ .Page.Params.author }}",
|
||||
"copyrightYear" : "{{ .Date.Format "2006" }}",
|
||||
"datePublished": "{{ .Date }}",
|
||||
"dateModified" : "{{ .Date }}",
|
||||
"url" : "{{ .Permalink }}",
|
||||
"wordCount" : "{{ .WordCount }}",
|
||||
"image" : {{ printf "%s%s" .Site.BaseURL .Page.Params.image }}",
|
||||
"keywords" : [ {{ if isset .Params "tags" }}{{ range .Params.tags }}"{{ . }}",{{ end }}{{ end }}"Blog" ]
|
||||
}
|
||||
</script>
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
<script src="{{ "js/jquery.min.js" | absURL }}"></script>
|
||||
<script src="{{ "js/jquerymigrate.js" | absURL }}"></script>
|
||||
<script src="{{ "js/production.min.js" | absURL }}?v={{ now.Unix }}"></script>
|
||||
|
|
@ -1,72 +0,0 @@
|
|||
<div class="archive-header">
|
||||
<h1>
|
||||
Tag: {{ .Title }}
|
||||
{{ if .Site.Params.social.rss }}
|
||||
{{ with .OutputFormats.Get "RSS" }}
|
||||
<a href="{{ .RelPermalink }}" data-animate-hover="pulse" class="in-page-rss" target="_blank">
|
||||
<i class="fas fa-rss" title="rss"></i>
|
||||
<span class="screen-reader-text">rss</span>
|
||||
</a>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</h1>
|
||||
</div>
|
||||
|
||||
<h1 class="screen-reader-text">Posts</h1>
|
||||
<div id="loop-container" class="loop-container">
|
||||
{{ range $index, $element := (where .Data.Pages "Section" "post").ByDate.Reverse }}
|
||||
{{ if and (isset .Params "image") .Params.image }}
|
||||
{{ if eq (mod $index 2) 0 }}
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured odd excerpt">
|
||||
{{ else }}
|
||||
<div class="post type-post status-publish format-standard has-post-thumbnail hentry category-design tag-memories tag-normal-post tag-standard-2 excerpt zoom full-without-featured even excerpt">
|
||||
{{ end }}
|
||||
{{ else }}
|
||||
|
||||
<div class="post type-post status-publish format-standard hentry category-standard category-travel excerpt zoom full-without-featured odd excerpt">
|
||||
|
||||
{{ end }}
|
||||
|
||||
{{ if and (isset .Params "image") .Params.image }}
|
||||
<a class="featured-image-link" href="{{ .Permalink }}"><div class='featured-image lazy lazy-bg-image' data-background="{{ .Params.image | absURL }}"></div></a>
|
||||
|
||||
{{ end }}
|
||||
|
||||
<div class="excerpt-container">
|
||||
<div class="excerpt-meta">
|
||||
<span class="date">{{ .Date.Format "02 January 2006" }}</span> <span> / </span>
|
||||
|
||||
{{ if and (isset .Site.Params "author") .Site.Params.author }}
|
||||
|
||||
<span class="author">
|
||||
{{ if and (isset .Site.Params "authorlink") .Site.Params.authorLink }}
|
||||
<a href="{{ .Site.Params.authorLink | default "" | absURL }}" title="Posts by {{ .Site.Params.author | default "" }}" rel="author">{{ .Site.Params.author | default "" }}</a>
|
||||
{{ else }}
|
||||
{{ .Site.Params.author | default "" }}
|
||||
{{ end }}
|
||||
</span>
|
||||
{{ end }}
|
||||
|
||||
{{ range .Params.categories }}
|
||||
<span> / </span>
|
||||
<span class="category">
|
||||
<a href="/categories/{{ . | urlize }}">{{ . }}</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
</div>
|
||||
<div class='excerpt-header'>
|
||||
<h2 class='excerpt-title'>
|
||||
<a href="{{ .Permalink }} "> {{ .Title }} </a>
|
||||
</h2>
|
||||
</div>
|
||||
<div class='excerpt-content'>
|
||||
<article>
|
||||
{{ .Summary }}
|
||||
|
||||
<div class="more-link-wrapper"><a class="more-link" href="{{ .Permalink }}">Read the post<span class="screen-reader-text">This is a Standard Post</span></a></div>
|
||||
</article>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
|
@ -1,127 +0,0 @@
|
|||
<div class='container'>
|
||||
|
||||
<div id="menu-secondary" class="menu-container menu-secondary" role="navigation">
|
||||
<button id="toggle-secondary-navigation" class="toggle-secondary-navigation"><i class="fas fa-plus"></i></button>
|
||||
|
||||
<div class="menu">
|
||||
|
||||
<ul id="menu-secondary-items" class="menu-secondary-items">
|
||||
{{ range $name, $taxonomy := .Site.Taxonomies.categories }}
|
||||
<li class="menu-item menu-item-type-taxonomy menu-item-object-category">
|
||||
<a href="{{ "/categories/" | relLangURL }}{{ $name | urlize }}">{{ $name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<ul class="social-media-icons">
|
||||
|
||||
|
||||
{{ with .Site.Params.social.mastodon }}
|
||||
<li>
|
||||
<a href="{{ . }}" data-animate-hover="pulse" class="mastodon" target="_blank" rel="me">
|
||||
<i class="fab fa-mastodon " title="mastodon"></i>
|
||||
<span class="screen-reader-text">mastodon</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.facebook }}
|
||||
<li>
|
||||
<a href="{{ . }}" data-animate-hover="pulse" class="facebook" target="_blank" rel="me">
|
||||
<i class="fab fa-facebook-square" title="facebook"></i>
|
||||
<span class="screen-reader-text">facebook</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.googleplus }}
|
||||
<li>
|
||||
<a href="{{ . }}" data-animate-hover="pulse" class="gplus" target="_blank" rel="me">
|
||||
<i class="fab fa-google-plus-g" title="googleplus"></i>
|
||||
<span class="screen-reader-text">googleplus</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.twitter }}
|
||||
<li>
|
||||
<a href="{{ . }}" data-animate-hover="pulse" class="twitter" target="_blank" rel="me">
|
||||
<i class="fab fa-twitter-square" title="twitter"></i>
|
||||
<span class="screen-reader-text">twitter</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.instagram }}
|
||||
<li>
|
||||
<a href="{{ . }}" data-animate-hover="pulse" class="instagram" target="_blank" rel="me">
|
||||
<i class="fab fa-instagram" title="instagram"></i>
|
||||
<span class="screen-reader-text">instagram</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.email }}
|
||||
<li>
|
||||
<a href="mailto:{{ . }}" data-animate-hover="pulse" class="email" rel="me">
|
||||
<i class="fas fa-envelope" title="email"></i>
|
||||
<span class="screen-reader-text">email</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.linkedin }}
|
||||
<li>
|
||||
<a href="{{ . }}" data-animate-hover="pulse" class="linkedin" target="_blank" rel="me">
|
||||
<i class="fab fa-linkedin-in" title="linkedin"></i>
|
||||
<span class="screen-reader-text">linkedin</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
{{ with .Site.Params.social.stackoverflow }}
|
||||
<li>
|
||||
<a href="{{ . }}" data-animate-hover="pulse" class="stackoverflow" target="_blank" rel="me">
|
||||
<i class="fab fa-stack-overflow" title="stackoverflow"></i>
|
||||
<span class="screen-reader-text">stackoverflow</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
|
||||
{{ with .Site.Params.social.github }}
|
||||
<li>
|
||||
<a href="{{ . }}" data-animate-hover="pulse" class="github" target="_blank" rel="me">
|
||||
<i class="fab fa-github" title="github"></i>
|
||||
<span class="screen-reader-text">github</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
|
||||
{{ with .Site.Params.social.pinterest }}
|
||||
<li>
|
||||
<a href="{{ . }}" data-animate-hover="pulse" class="pinterest" target="_blank" rel="me">
|
||||
<i class="fab fa-pinterest" title="pinterest"></i>
|
||||
<span class="screen-reader-text">pinterest</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
{{ if .Site.Params.social.rss }}
|
||||
<li>
|
||||
<a href="{{ .Site.RSSLink }}" data-animate-hover="pulse" class="rss" target="_blank" rel="me">
|
||||
<i class="fas fa-rss" title="rss"></i>
|
||||
<span class="screen-reader-text">rss</span>
|
||||
</a>
|
||||
</li>
|
||||
{{end}}
|
||||
|
||||
|
||||
</ul></div>
|
||||
|
|
@ -1,157 +0,0 @@
|
|||
{{ $masIns := .Get 0 }}
|
||||
{{ $tootLink := "" }}
|
||||
{{ $card := "" }}
|
||||
{{ $handleInst := "" }}
|
||||
{{ $mediaMD5 := "" }}
|
||||
{{ $imageCount := 0 }}
|
||||
{{ $votesCount := 0 }}
|
||||
{{ $id := .Get 1 }}
|
||||
{{ $urlToGet := print "https://" $masIns "/api/v1/statuses/" $id }}
|
||||
{{ $json := getJSON $urlToGet }}
|
||||
{{ $jsonHolder := $json }}{{/* Being safe */}}
|
||||
|
||||
{{ if isset $json "account" }}
|
||||
{{ $tootLink = print "https://" $masIns "@" $json.account.acct "/status/" $id }}
|
||||
{{ $handleInst = print "@" $json.account.acct "@" $masIns }}
|
||||
{{ end }}
|
||||
|
||||
{{ if isset $json "content" }}
|
||||
<blockquote class="tweet-card" cite="{{ $tootLink }}">
|
||||
<div class="tweet-header">
|
||||
<a class="tweet-profile twitterExt" href="https://{{ $masIns }}/@{{ $json.account.acct }}" rel="noopener">
|
||||
<img
|
||||
src="{{ $json.account.avatar }}"
|
||||
alt="Mastodon avatar for {{ $handleInst }}"
|
||||
loading="lazy"
|
||||
/>
|
||||
</a>
|
||||
<div class="tweet-author">
|
||||
<a class="tweet-author-name twitterExt" href="https://{{ $masIns }}/@{{ $json.account.acct }}" rel="noopener">{{ $json.account.display_name }}</a>
|
||||
<a class="tweet-author-handle twitterExt" href="https://{{ $masIns }}/@{{ $json.account.acct }}" rel="noopener">{{ $handleInst }}</a>
|
||||
</div>
|
||||
</div>
|
||||
<p class="tweet-body">
|
||||
{{ $json.content | safeHTML }}
|
||||
</p>
|
||||
{{ with $json.media_attachments }}
|
||||
{{ range $media_attachments := . }}
|
||||
{{ if eq $media_attachments.type "image" }}
|
||||
{{ $imageCount = (add ($imageCount) 1) }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<div class="tweet-img-grid-{{ $imageCount }}">
|
||||
{{ range $media_attachments := . }}
|
||||
{{ if eq $media_attachments.type "image" }}
|
||||
{{ $mediaMD5 = md5 $media_attachments.url }}
|
||||
<style>
|
||||
.img-{{ $mediaMD5 }} {
|
||||
aspect-ratio: {{ $media_attachments.meta.original.width }} / {{ $media_attachments.meta.original.height }};
|
||||
}
|
||||
</style>
|
||||
<img
|
||||
src="{{ $media_attachments.url }}"
|
||||
alt="Image {{ $media_attachments.id }} from toot {{ $id }} on {{ $masIns }}"
|
||||
class="tweet-media-img img-{{ $mediaMD5 }}{{ if $json.sensitive }} tweet-sens-blur{{ end }}"
|
||||
loading="lazy"
|
||||
{{- if $json.sensitive }}onclick="this.classList.toggle('tweet-sens-blur-no')"{{- end }}
|
||||
/>
|
||||
{{- if $json.sensitive -}}
|
||||
<div class="blur-text">
|
||||
Sensitive content<br />
|
||||
(flagged at origin)
|
||||
</div>
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
</div>
|
||||
{{/*
|
||||
N.B.:
|
||||
The above results in an empty, no-height div
|
||||
when there's no image but there **is**
|
||||
at least one item in `$media_attachments`.
|
||||
Unfortunately, it seems to be the only way
|
||||
to accomplish this. Not a good HTML practice,
|
||||
but gets the job done.
|
||||
*/}}
|
||||
{{ range $media_attachments := . }}
|
||||
{{ if eq $media_attachments.type "video" }}
|
||||
{{ $mediaMD5 = md5 $media_attachments.url }}
|
||||
<style>
|
||||
.img-{{ $mediaMD5 }} {
|
||||
aspect-ratio: {{ $media_attachments.meta.original.width }} / {{ $media_attachments.meta.original.height }};
|
||||
}
|
||||
</style>
|
||||
<div class="ctr tweet-video-wrapper">
|
||||
<video muted playsinline controls class="ctr tweet-media-img img-{{ $mediaMD5 }}{{ if $json.sensitive }} tweet-sens-blur{{ end }}"{{- if $json.sensitive }}onclick="this.classList.toggle('tweet-sens-blur-no')"{{- end }}>
|
||||
<source src="{{ $media_attachments.url }}">
|
||||
<p class="legal ctr">(Your browser doesn’t support the <code>video</code> tag.)</p>
|
||||
</video>
|
||||
{{- if $json.sensitive -}}
|
||||
<div class="blur-text">
|
||||
Sensitive content<br />
|
||||
(flagged at origin)
|
||||
</div>
|
||||
{{- end -}}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ if eq $media_attachments.type "gifv" }}
|
||||
{{ $mediaMD5 = md5 $media_attachments.url }}
|
||||
<style>
|
||||
.img-{{ $mediaMD5 }} {
|
||||
aspect-ratio: {{ $media_attachments.meta.original.width }} / {{ $media_attachments.meta.original.height }};
|
||||
}
|
||||
</style>
|
||||
<div class="ctr tweet-video-wrapper">
|
||||
<video loop autoplay muted playsinline controls controlslist="nofullscreen" class="ctr tweet-media-img img-{{ $mediaMD5 }}{{ if $json.sensitive }} tweet-sens-blur{{ end }}" {{- if $json.sensitive }}onclick="this.classList.toggle('tweet-sens-blur-no')"{{- end }}>
|
||||
<source src="{{ $media_attachments.url }}">
|
||||
<p class="legal ctr">(Your browser doesn’t support the <code>video</code> tag.)</p>
|
||||
</video>
|
||||
{{- if $json.sensitive -}}
|
||||
<div class="blur-text">
|
||||
Sensitive content<br />
|
||||
(flagged at origin)
|
||||
</div>
|
||||
{{- end -}}
|
||||
</div>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
{{ with $json.card }}
|
||||
{{- $cardData := . -}}
|
||||
{{- with $cardData.image -}}
|
||||
<a href="{{ $cardData.url }}" rel="'noopener">
|
||||
<div class="card">
|
||||
<img src="{{ $cardData.image }}" alt="Card image from {{ $masIns }} toot {{ $id }}" loading="lazy" class="tweet-card-img" />
|
||||
<p>
|
||||
<span class="card-title">{{ $cardData.title }}</span><br />
|
||||
{{ $cardData.description }}
|
||||
</p>
|
||||
</div>
|
||||
</a>
|
||||
{{- end -}}
|
||||
{{ end }}
|
||||
{{ with $json.poll }}
|
||||
{{ $poll := . }}
|
||||
{{ with $poll.options }}
|
||||
{{ range $pollOptions := . }}
|
||||
{{ $votesCount = add $votesCount $pollOptions.votes_count }}
|
||||
{{ end }}
|
||||
<div class="tweet-poll-wrapper">
|
||||
{{ range $pollOptions := . }}
|
||||
<div class="tweet-poll-count">
|
||||
<strong>{{ (mul 100 (div $pollOptions.votes_count $votesCount)) | lang.FormatPercent 1 }}</strong>
|
||||
</div>
|
||||
<div class="tweet-poll-meter">
|
||||
<meter id="vote-count" max="{{ $votesCount }}" value="{{ $pollOptions.votes_count }}"></meter>
|
||||
</div>
|
||||
<div class="tweet-poll-title">{{ $pollOptions.title }}</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
<p class="legal">{{ $votesCount }} votes</p>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
<div class="tweet-footer">
|
||||
<a href="https://{{ $masIns }}/@{{ $json.account.acct }}/{{ $json.id }}" class="tweet-date twitterExt" rel="noopener">{{ dateFormat "3:04 PM • January 2, 2006" $json.created_at }}</a> <span class="legal">(UTC)</span>
|
||||
</div>
|
||||
</blockquote>
|
||||
{{ end }}
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
<head>{{ partial "head.html" . }}</head>
|
||||
|
||||
<body class="home blog ct-body standard">
|
||||
<div id="overflow-container" class="overflow-container">
|
||||
<a class="skip-content" href="#main">Skip to content</a>
|
||||
<header id="site-header" class="site-header" role="banner">
|
||||
<div class='top-navigation'>
|
||||
{{ partial "topnavigation.html" . }}
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
{{ partial "header.html" . }}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div id="main" class="main" role="main">
|
||||
|
||||
{{ partial "category.html" . }}
|
||||
</div>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
{{ partial "scripts.html" . }}
|
||||
</body>
|
||||
|
|
@ -1,26 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="{{ .Site.LanguageCode }}">
|
||||
<head>{{ partial "head.html" . }}</head>
|
||||
|
||||
<body class="home blog ct-body standard">
|
||||
<div id="overflow-container" class="overflow-container">
|
||||
<a class="skip-content" href="#main">Skip to content</a>
|
||||
<header id="site-header" class="site-header" role="banner">
|
||||
<div class='top-navigation'>
|
||||
{{ partial "topnavigation.html" . }}
|
||||
</div>
|
||||
|
||||
<div class="container">
|
||||
{{ partial "header.html" . }}
|
||||
</div>
|
||||
</header>
|
||||
|
||||
<div id="main" class="main" role="main">
|
||||
|
||||
{{ partial "tag.html" . }}
|
||||
</div>
|
||||
|
||||
{{ partial "footer.html" . }}
|
||||
</div>
|
||||
{{ partial "scripts.html" . }}
|
||||
</body>
|
||||
|
|
@ -1,14 +0,0 @@
|
|||
{
|
||||
"scripts": {
|
||||
"build-css": "node-sass --include-path node_modules/bootstrap-sass/assets/stylesheets static/scss/main.scss static/css/style.default.css",
|
||||
"watch-css": "nodemon -e scss -x \"npm run build-css\""
|
||||
},
|
||||
"dependencies": {
|
||||
"node-sass": ">=7.0.0",
|
||||
"sass": "^0.5.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"node-sass": ">=7.0.0",
|
||||
"bootstrap-sass": "^3.3.7"
|
||||
}
|
||||
}
|
||||
|
Before Width: | Height: | Size: 1.1 KiB |
|
|
@ -1,87 +0,0 @@
|
|||
/*jshint browser:true */
|
||||
/*!
|
||||
* FitVids 1.1
|
||||
*
|
||||
* Copyright 2013, Chris Coyier - http://css-tricks.com + Dave Rupert - http://daverupert.com
|
||||
* Credit to Thierry Koblentz - http://www.alistapart.com/articles/creating-intrinsic-ratios-for-video/
|
||||
* Released under the WTFPL license - http://sam.zoy.org/wtfpl/
|
||||
*
|
||||
*/
|
||||
|
||||
;(function( $ ){
|
||||
|
||||
'use strict';
|
||||
|
||||
$.fn.fitVids = function( options ) {
|
||||
var settings = {
|
||||
customSelector: null,
|
||||
ignore: null
|
||||
};
|
||||
|
||||
if(!document.getElementById('fit-vids-style')) {
|
||||
// appendStyles: https://github.com/toddmotto/fluidvids/blob/master/dist/fluidvids.js
|
||||
var head = document.head || document.getElementsByTagName('head')[0];
|
||||
var css = '.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}';
|
||||
var div = document.createElement("div");
|
||||
div.innerHTML = '<p>x</p><style id="fit-vids-style">' + css + '</style>';
|
||||
head.appendChild(div.childNodes[1]);
|
||||
}
|
||||
|
||||
if ( options ) {
|
||||
$.extend( settings, options );
|
||||
}
|
||||
|
||||
return this.each(function(){
|
||||
var selectors = [
|
||||
'iframe[src*="player.vimeo.com"]',
|
||||
'iframe[src*="youtube.com"]',
|
||||
'iframe[src*="youtube-nocookie.com"]',
|
||||
'iframe[src*="kickstarter.com"][src*="video.html"]',
|
||||
'object',
|
||||
'embed'
|
||||
];
|
||||
|
||||
if (settings.customSelector) {
|
||||
selectors.push(settings.customSelector);
|
||||
}
|
||||
|
||||
var ignoreList = '.fitvidsignore';
|
||||
|
||||
if(settings.ignore) {
|
||||
ignoreList = ignoreList + ', ' + settings.ignore;
|
||||
}
|
||||
|
||||
var $allVideos = $(this).find(selectors.join(','));
|
||||
$allVideos = $allVideos.not('object object'); // SwfObj conflict patch
|
||||
$allVideos = $allVideos.not(ignoreList); // Disable FitVids on this video.
|
||||
|
||||
$allVideos.each(function(){
|
||||
var $this = $(this);
|
||||
if($this.parents(ignoreList).length > 0) {
|
||||
return; // Disable FitVids on this video.
|
||||
}
|
||||
if (this.tagName.toLowerCase() === 'embed' && $this.parent('object').length || $this.parent('.fluid-width-video-wrapper').length) { return; }
|
||||
if ((!$this.css('height') && !$this.css('width')) && (isNaN($this.attr('height')) || isNaN($this.attr('width'))))
|
||||
{
|
||||
$this.attr('height', 9);
|
||||
$this.attr('width', 16);
|
||||
}
|
||||
var height = ( this.tagName.toLowerCase() === 'object' || ($this.attr('height') && !isNaN(parseInt($this.attr('height'), 10))) ) ? parseInt($this.attr('height'), 10) : $this.height(),
|
||||
width = !isNaN(parseInt($this.attr('width'), 10)) ? parseInt($this.attr('width'), 10) : $this.width(),
|
||||
aspectRatio = height / width;
|
||||
if(!$this.attr('name')){
|
||||
var videoName = 'fitvid' + $.fn.fitVids._count;
|
||||
$this.attr('name', videoName);
|
||||
$.fn.fitVids._count++;
|
||||
}
|
||||
$this.wrap('<div class="fluid-width-video-wrapper"></div>').parent('.fluid-width-video-wrapper').css('padding-top', (aspectRatio * 100)+'%');
|
||||
$this.removeAttr('height').removeAttr('width');
|
||||
});
|
||||
});
|
||||
};
|
||||
|
||||
// Internal counter for unique video names.
|
||||
$.fn.fitVids._count = 0;
|
||||
|
||||
// Works with either jQuery or Zepto
|
||||
})( window.jQuery || window.Zepto );
|
||||
6
themes/nederburg/static/js/jquery.min.js
vendored
2
themes/nederburg/static/js/jquerymigrate.js
vendored
1
themes/nederburg/static/js/production.min.js
vendored
|
|
@ -1,20 +0,0 @@
|
|||
# theme.toml template for a Hugo theme
|
||||
# See https://github.com/spf13/hugoThemes#themetoml for an example
|
||||
|
||||
name = "NEDERBURG"
|
||||
license = "GPL-2"
|
||||
licenselink = "https://github.com/appernetic/hugo-nederburg-theme/blob/master/LICENSE"
|
||||
description = "Port of Tracks Theme https://www.competethemes.com/tracks/"
|
||||
homepage = "https://github.com/appernetic/hugo-nederburg-theme"
|
||||
tags = ["projects", "minimal", "responsive", "blog"]
|
||||
features = ["disqus", "gravatar", "responsive", "google analytics"]
|
||||
min_version = 0.34
|
||||
|
||||
[author]
|
||||
name = "Göran Svensson"
|
||||
homepage = "https://github.com/appernetic"
|
||||
|
||||
# If porting an existing theme
|
||||
[original]
|
||||
name = "tracks"
|
||||
homepage = "https://www.competethemes.com/tracks/"
|
||||