The tabTrigger specifies the text that you want to be the trigger for the snippet, the scope says what sort of files the snippet should trigger in, and the description will be displayed next to the snippet in the auto-completions panel. Snippets are XML formatted, and everything between !] is inserted into the buffer (don't remove the CDATA even if you think you don't need it Sublime will ignore the snippet if you do). from the menu and fill out the snippet template, then save it as a sublime-snippet file in the location that Sublime defaults to (which is your User package).įor example, that might look like the following based on the example in your question: Using a snippet, you would select Tools > Developer > New Snippet. Although there are some differences, generally speaking they both work the same way in the end, and which one you choose depends on how many such items you want to create and how complex you want them to be. I won't tell you how to do that right now, but if you decide to go that route, I can give you some more resources to help.The correct way to do something like this is to use either snippets or completions. If you want more power, you can then try editing your theme with your landing page. If you decide it works, try going the subdomain route. Figure out how difficult or non-difficult managing a WordPress blog is. I know that's a lot of text, but I would start like this. ![]() Since you are using WordPress, you can take advantage of that and give your friend options to edit the content in your landing page. With this setup, your home page and blog will all be under the same wordpress website. This is more challenging, but may be more profitable. You will then be able to go into WordPress settings and set your default home page as “Custom Page Template”. You will have to convert your HTML and CSS to PHP (not terribly difficult) and turn it into what is called a “Page Template”. You will then have to take your current landing page, go into ftp, and stick it in your current themes folder. You will first have to setup your wordpress site so that you have a blog page that is separate from your home page. In this option, you will put your landing page on an existing WordPress website blog. This option is more complicated but more powerful. You can use a subdomain to tie the two together. You already have the landing page, and you can easily create a WordPress blog somewhere else. You can then easily link to your blog from your static landing page. ![]() To make these sites work together, you will add a subdomain to your blog, something like "". It will have it’s own theme and everything else. Now, you will create an entirely new WordPress site hosted somewhere else that is a blog. You know how to do that, and that page should work perfectly fine. Maybe Surge or GitHub Pages, whatever you are familiar with. You would take your current website you build in sublime and host it wherever. ![]() This is rather straightforward, but it might not do everything you want. Make the landing page and blog totally separate. There are two ways you can go about this: You don't need to design the wordpress for the blog, you just want your landing page to sit alongside the blog like I mentioned above. I’ve done more with WordPress than jekyl, but if your friend is capable of editing some markdown for his blog, jekyl would let you avoid wordpress altogether.Īlright, let's say you have to use wordpress for the blog though. If number 4 is an option, I would try Jekyl.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |